summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/widget.hpp
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/include/guichan/widget.hpp
parented950471f7ae02c4618fa995c305832f12dc9cd7 (diff)
downloadplus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.gz
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.bz2
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.xz
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.zip
Remove undescore from variables and defines.
Diffstat (limited to 'src/guichan/include/guichan/widget.hpp')
-rw-r--r--src/guichan/include/guichan/widget.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/guichan/include/guichan/widget.hpp b/src/guichan/include/guichan/widget.hpp
index ccb56ea70..d112022e3 100644
--- a/src/guichan/include/guichan/widget.hpp
+++ b/src/guichan/include/guichan/widget.hpp
@@ -52,9 +52,9 @@
#include "guichan/rectangle.hpp"
#ifdef __GNUC__
-#define _UNUSED_ __attribute__ ((unused))
+#define A_UNUSED __attribute__ ((unused))
#else
-#define _UNUSED_
+#define A_UNUSED
#endif
namespace gcn
@@ -894,7 +894,7 @@ namespace gcn
* @see moveToBottom
* @since 0.1.0
*/
- virtual void moveToTop(Widget* widget _UNUSED_) { };
+ virtual void moveToTop(Widget* widget A_UNUSED) { };
/**
* Moves a widget in this widget to the bottom of this widget.
@@ -904,7 +904,7 @@ namespace gcn
* @see moveToTop
* @since 0.1.0
*/
- virtual void moveToBottom(Widget* widget _UNUSED_) { };
+ virtual void moveToBottom(Widget* widget A_UNUSED) { };
/**
* Focuses the next widget in the widget.
@@ -930,8 +930,8 @@ namespace gcn
* @param area The area to show.
* @since 0.1.0
*/
- virtual void showWidgetPart(Widget* widget _UNUSED_,
- Rectangle area _UNUSED_)
+ virtual void showWidgetPart(Widget* widget A_UNUSED,
+ Rectangle area A_UNUSED)
{ };
/**