summaryrefslogtreecommitdiff
path: root/src/guichan/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
commit5e14ab971129eb95ca02e373fc21adb46c0eaca1 (patch)
tree5316f688c7f617776b7e70c9f64932fe7596cadb /src/guichan/widgets
parented950471f7ae02c4618fa995c305832f12dc9cd7 (diff)
downloadmanaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.gz
manaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.bz2
manaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.xz
manaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.zip
Remove undescore from variables and defines.
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;
}