diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-29 18:10:36 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-29 18:10:58 +0100 |
commit | f6b48ecd4772a57dd10542a76881b32860cb40d3 (patch) | |
tree | 910c6199ee1442869a612da6da6271f95394b7fb /LibGUI/GTreeView.h | |
parent | b181263b9ffddae6bfeb85dacc4718666a32c134 (diff) | |
download | serenity-f6b48ecd4772a57dd10542a76881b32860cb40d3.zip |
GTreeView: More implementation work.
Diffstat (limited to 'LibGUI/GTreeView.h')
-rw-r--r-- | LibGUI/GTreeView.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/LibGUI/GTreeView.h b/LibGUI/GTreeView.h index 5cd4bb7de5..a3603fcc7f 100644 --- a/LibGUI/GTreeView.h +++ b/LibGUI/GTreeView.h @@ -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; }; |