diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-29 16:02:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-29 17:48:19 +0300 |
commit | 37f849a6ae4d96a22d7b972d3021c235aa294ad8 (patch) | |
tree | 5f6ed8b8ab59ed1cde7019eb9d207cbe348c14ae /src/gui/widgets/listbox.h | |
parent | 80623e124244977c4ba52829fe830fed103532ff (diff) | |
download | mv-37f849a6ae4d96a22d7b972d3021c235aa294ad8.tar.gz mv-37f849a6ae4d96a22d7b972d3021c235aa294ad8.tar.bz2 mv-37f849a6ae4d96a22d7b972d3021c235aa294ad8.tar.xz mv-37f849a6ae4d96a22d7b972d3021c235aa294ad8.zip |
Add support for multilines in extendedlistbox.
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; |