diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-23 03:53:51 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-23 03:54:45 +0100 |
commit | 19fa70c8211739949c95404d9a87230656a9227f (patch) | |
tree | e11444f26703d7e67653728bb99713e915ed9481 /LibGUI/GScrollableWidget.h | |
parent | 5707d7f547026544f4d9c7a320d97ccd6e055784 (diff) | |
download | serenity-19fa70c8211739949c95404d9a87230656a9227f.zip |
LibGUI: Add a GItemView class.
This is a GAbstractView subclass that implements a icon-based view onto
a GModel. It still need a bunch of work, but it's in basic usable shape.
Diffstat (limited to 'LibGUI/GScrollableWidget.h')
-rw-r--r-- | LibGUI/GScrollableWidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LibGUI/GScrollableWidget.h b/LibGUI/GScrollableWidget.h index 43717565cd..30f430bb14 100644 --- a/LibGUI/GScrollableWidget.h +++ b/LibGUI/GScrollableWidget.h @@ -20,6 +20,8 @@ public: void set_scrollbars_enabled(bool); bool is_scrollbars_enabled() const { return m_scrollbars_enabled; } + Size available_size() const; + GScrollBar& vertical_scrollbar() { return *m_vertical_scrollbar; } const GScrollBar& vertical_scrollbar() const { return *m_vertical_scrollbar; } GScrollBar& horizontal_scrollbar() { return *m_horizontal_scrollbar; } |