From 5e14ab971129eb95ca02e373fc21adb46c0eaca1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Jul 2011 22:52:35 +0300 Subject: Remove undescore from variables and defines. --- src/guichan/widgets/button.cpp | 6 +++--- src/guichan/widgets/dropdown.cpp | 6 +++--- src/guichan/widgets/tab.cpp | 4 ++-- src/guichan/widgets/window.cpp | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/guichan/widgets') diff --git a/src/guichan/widgets/button.cpp b/src/guichan/widgets/button.cpp index 76d69bf2d..184b6235c 100644 --- a/src/guichan/widgets/button.cpp +++ b/src/guichan/widgets/button.cpp @@ -223,12 +223,12 @@ namespace gcn } } - void Button::mouseExited(MouseEvent& mouseEvent _UNUSED_) + void Button::mouseExited(MouseEvent& mouseEvent A_UNUSED) { mHasMouse = false; } - void Button::mouseEntered(MouseEvent& mouseEvent _UNUSED_) + void Button::mouseEntered(MouseEvent& mouseEvent A_UNUSED) { mHasMouse = true; } @@ -281,7 +281,7 @@ namespace gcn } } - void Button::focusLost(const Event& event _UNUSED_) + void Button::focusLost(const Event& event A_UNUSED) { mMousePressed = false; mKeyPressed = false; diff --git a/src/guichan/widgets/dropdown.cpp b/src/guichan/widgets/dropdown.cpp index e02f0fa3b..7af01e703 100644 --- a/src/guichan/widgets/dropdown.cpp +++ b/src/guichan/widgets/dropdown.cpp @@ -436,7 +436,7 @@ namespace gcn } } - void DropDown::focusLost(const Event& event _UNUSED_) + void DropDown::focusLost(const Event& event A_UNUSED) { foldUp(); mInternalFocusHandler.focusNone(); @@ -451,7 +451,7 @@ namespace gcn BasicContainer::death(event); } - void DropDown::action(const ActionEvent& actionEvent _UNUSED_) + void DropDown::action(const ActionEvent& actionEvent A_UNUSED) { foldUp(); releaseModalMouseInputFocus(); @@ -543,7 +543,7 @@ namespace gcn mListBox->setSelectionColor(color); } - void DropDown::valueChanged(const SelectionEvent& event _UNUSED_) + void DropDown::valueChanged(const SelectionEvent& event A_UNUSED) { distributeValueChangedEvent(); } diff --git a/src/guichan/widgets/tab.cpp b/src/guichan/widgets/tab.cpp index 61efbd5b0..1a3df3ede 100644 --- a/src/guichan/widgets/tab.cpp +++ b/src/guichan/widgets/tab.cpp @@ -168,12 +168,12 @@ namespace gcn graphics->popClipArea(); } - void Tab::mouseEntered(MouseEvent& mouseEvent _UNUSED_) + void Tab::mouseEntered(MouseEvent& mouseEvent A_UNUSED) { mHasMouse = true; } - void Tab::mouseExited(MouseEvent& mouseEvent _UNUSED_) + void Tab::mouseExited(MouseEvent& mouseEvent A_UNUSED) { mHasMouse = false; } diff --git a/src/guichan/widgets/window.cpp b/src/guichan/widgets/window.cpp index a26c38541..4779fb0ce 100644 --- a/src/guichan/widgets/window.cpp +++ b/src/guichan/widgets/window.cpp @@ -230,7 +230,7 @@ namespace gcn mMoved = mouseEvent.getY() <= (int)mTitleBarHeight; } - void Window::mouseReleased(MouseEvent& mouseEvent _UNUSED_) + void Window::mouseReleased(MouseEvent& mouseEvent A_UNUSED) { mMoved = false; } -- cgit v1.2.3-60-g2f50