summaryrefslogtreecommitdiff
path: root/src/gui/widgets/listbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-29 16:02:11 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-29 17:48:19 +0300
commit37f849a6ae4d96a22d7b972d3021c235aa294ad8 (patch)
tree5f6ed8b8ab59ed1cde7019eb9d207cbe348c14ae /src/gui/widgets/listbox.h
parent80623e124244977c4ba52829fe830fed103532ff (diff)
downloadplus-37f849a6ae4d96a22d7b972d3021c235aa294ad8.tar.gz
plus-37f849a6ae4d96a22d7b972d3021c235aa294ad8.tar.bz2
plus-37f849a6ae4d96a22d7b972d3021c235aa294ad8.tar.xz
plus-37f849a6ae4d96a22d7b972d3021c235aa294ad8.zip
Add support for multilines in extendedlistbox.
Diffstat (limited to 'src/gui/widgets/listbox.h')
-rw-r--r--src/gui/widgets/listbox.h4
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;