diff options
Diffstat (limited to 'src/gui/widgets/listbox.h')
-rw-r--r-- | src/gui/widgets/listbox.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h index a4a931a1f..113174332 100644 --- a/src/gui/widgets/listbox.h +++ b/src/gui/widgets/listbox.h @@ -85,10 +85,12 @@ class ListBox : public gcn::ListBox, void setDistributeMousePressed(bool b) { mDistributeMousePressed = b; } - void adjustSize(); + virtual void adjustSize(); void logic() override; + virtual int getSelectionByMouse(const int y) const; + protected: gcn::Color mHighlightColor; gcn::Color mForegroundColor2; |