mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
LibGUI: Tighten paint invalidation rects in item views :^)
AbstractView now has a paint_invalidation_rect(index) function that subclasses can override to provide a tighter invalidation rect for an index.
This commit is contained in:
parent
148e72bfa0
commit
df96380121
9 changed files with 48 additions and 1 deletions
|
@ -40,6 +40,7 @@ public:
|
|||
|
||||
virtual ModelIndex index_at_event_position(const Gfx::IntPoint&) const override;
|
||||
virtual Gfx::IntRect content_rect(const ModelIndex&) const override;
|
||||
virtual Gfx::IntRect editing_rect(ModelIndex const&) const override;
|
||||
|
||||
virtual void select_all() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue