diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-21 19:45:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-21 19:45:48 +0300 |
commit | 60b40c0c68e9cffbc5f48d4f672d99009488f8b1 (patch) | |
tree | 7d2efefb965c0ae928eb80313f2f37fa34cf42b4 /src/gui/widgets/button.h | |
parent | 3ed0b5f6edce152fa2eca9c84d64cbeec8ac0173 (diff) | |
download | manaverse-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.gz manaverse-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.bz2 manaverse-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.xz manaverse-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.zip |
Rename mouseEvent variables into event.
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r-- | src/gui/widgets/button.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h index 6eba9b3c0..200418172 100644 --- a/src/gui/widgets/button.h +++ b/src/gui/widgets/button.h @@ -156,7 +156,7 @@ class Button final : public Widget, */ static void updateAlpha(); - void mouseReleased(MouseEvent& mouseEvent) override final; + void mouseReleased(MouseEvent& event) override final; void setDescription(std::string text) { mDescription = text; } @@ -254,13 +254,13 @@ class Button final : public Widget, void focusLost(const Event& event) override final; - void mousePressed(MouseEvent& mouseEvent) override final; + void mousePressed(MouseEvent& event) override final; - void mouseEntered(MouseEvent& mouseEvent) override final; + void mouseEntered(MouseEvent& event) override final; - void mouseExited(MouseEvent& mouseEvent) override final; + void mouseExited(MouseEvent& event) override final; - void mouseDragged(MouseEvent& mouseEvent) override final; + void mouseDragged(MouseEvent& event) override final; enum { |