mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
GTreeView: More implementation work.
This commit is contained in:
parent
b181263b9f
commit
f6b48ecd47
4 changed files with 32 additions and 8 deletions
|
@ -18,7 +18,7 @@ protected:
|
|||
private:
|
||||
int item_height() const { return 16; }
|
||||
int max_item_width() const { return frame_inner_rect().width(); }
|
||||
int indent_width_in_pixels() const { return 12; }
|
||||
int indent_width_in_pixels() const { return 16; }
|
||||
int icon_size() const { return 16; }
|
||||
int icon_spacing() const { return 4; }
|
||||
|
||||
|
@ -30,4 +30,7 @@ private:
|
|||
MetadataForIndex& ensure_metadata_for_index(const GModelIndex&) const;
|
||||
|
||||
mutable HashMap<void*, OwnPtr<MetadataForIndex>> m_view_metadata;
|
||||
|
||||
RetainPtr<GraphicsBitmap> m_expand_bitmap;
|
||||
RetainPtr<GraphicsBitmap> m_collapse_bitmap;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue