1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 14:55:06 +00:00

LibGUI: Draw a 1px line tree alongside the GTreeView icons.

This commit is contained in:
Andreas Kling 2019-03-29 19:48:15 +01:00
parent f6b48ecd47
commit eb182bcafc
4 changed files with 30 additions and 12 deletions

View file

@ -56,6 +56,7 @@ public:
virtual GModelIndex parent_index(const GModelIndex&) const { return { }; }
virtual GModelIndex index(int row, int column = 0, const GModelIndex& = GModelIndex()) const { return create_index(row, column); }
virtual void activate(const GModelIndex&) { }
virtual GModelIndex sibling(int row, int column, const GModelIndex& parent) const;
bool is_valid(const GModelIndex& index) const
{