diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-29 19:48:15 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-29 19:48:15 +0100 |
commit | eb182bcafc8fa0f33e79a53a45b0ac289c9be238 (patch) | |
tree | 886f3a61a63ceaf0f2469b08f5c620fa754e33c9 /LibGUI/GModel.h | |
parent | f6b48ecd4772a57dd10542a76881b32860cb40d3 (diff) | |
download | serenity-eb182bcafc8fa0f33e79a53a45b0ac289c9be238.zip |
LibGUI: Draw a 1px line tree alongside the GTreeView icons.
Diffstat (limited to 'LibGUI/GModel.h')
-rw-r--r-- | LibGUI/GModel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGUI/GModel.h b/LibGUI/GModel.h index 94364b6889..1d355e4f27 100644 --- a/LibGUI/GModel.h +++ b/LibGUI/GModel.h @@ -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 { |