diff options
Diffstat (limited to 'src/gui/widgets/listbox.h')
-rw-r--r-- | src/gui/widgets/listbox.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h index 1df07f19d..b02357752 100644 --- a/src/gui/widgets/listbox.h +++ b/src/gui/widgets/listbox.h @@ -64,12 +64,18 @@ class ListBox : public gcn::ListBox void mouseWheelMovedDown(gcn::MouseEvent& mouseEvent); + void mousePressed(gcn::MouseEvent &event); + void mouseDragged(gcn::MouseEvent &event); void refocus(); + void setDistributeMousePressed(bool b) + { mDistributeMousePressed = b; } + protected: gcn::Color mHighlightColor; + bool mDistributeMousePressed; static float mAlpha; }; |