diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-16 14:22:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-16 15:19:51 +0300 |
commit | 8406b00588070266ae8af2bf25776f2fa716af69 (patch) | |
tree | f3515975feaf7dad0a7fa6ee33f6c88d1c6579b3 /src/gui/widgets/popuplist.cpp | |
parent | f880384018ee23efdc5cc072789e176208956a06 (diff) | |
download | mv-8406b00588070266ae8af2bf25776f2fa716af69.tar.gz mv-8406b00588070266ae8af2bf25776f2fa716af69.tar.bz2 mv-8406b00588070266ae8af2bf25776f2fa716af69.tar.xz mv-8406b00588070266ae8af2bf25776f2fa716af69.zip |
move mouseevent into events directory.
Diffstat (limited to 'src/gui/widgets/popuplist.cpp')
-rw-r--r-- | src/gui/widgets/popuplist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/popuplist.cpp b/src/gui/widgets/popuplist.cpp index 37dd6b1ec..62bc2f448 100644 --- a/src/gui/widgets/popuplist.cpp +++ b/src/gui/widgets/popuplist.cpp @@ -129,13 +129,13 @@ void PopupList::adjustSize() mListBox->setWidth(width); } -void PopupList::mousePressed(gcn::MouseEvent& mouseEvent) +void PopupList::mousePressed(MouseEvent& mouseEvent) { mPressedIndex = mListBox->getSelectionByMouse( mouseEvent.getY() + mPadding); } -void PopupList::mouseReleased(gcn::MouseEvent& mouseEvent) +void PopupList::mouseReleased(MouseEvent& mouseEvent) { if (mPressedIndex != mListBox->getSelectionByMouse( mouseEvent.getY() + mPadding)) |