summaryrefslogtreecommitdiff
path: root/src/guichan/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets')
-rw-r--r--src/guichan/widgets/button.cpp6
-rw-r--r--src/guichan/widgets/dropdown.cpp6
-rw-r--r--src/guichan/widgets/tab.cpp4
-rw-r--r--src/guichan/widgets/window.cpp2
4 files changed, 9 insertions, 9 deletions
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;
}