summaryrefslogtreecommitdiff
path: root/src/cheat_gui.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-15 22:22:55 +0000
committertruebrain <truebrain@openttd.org>2011-12-15 22:22:55 +0000
commit2aa774e831ad1cb7849c998759449ef777c5c664 (patch)
tree37293298be999cb3446fe4af7f11e107bfa17c3d /src/cheat_gui.cpp
parentfd559171b4ab5ce09b67aa8c4e9f2d0482a09558 (diff)
downloadopenttd-2aa774e831ad1cb7849c998759449ef777c5c664.tar.xz
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
Diffstat (limited to 'src/cheat_gui.cpp')
-rw-r--r--src/cheat_gui.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp
index 73d19a131..093d36b59 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -27,6 +27,8 @@
#include "company_gui.h"
#include "gamelog.h"
+#include "widgets/cheat_widget.h"
+
#include "table/strings.h"
#include "table/sprites.h"
@@ -177,11 +179,6 @@ static const CheatEntry _cheats_ui[] = {
assert_compile(CHT_NUM_CHEATS == lengthof(_cheats_ui));
-/** Names of the cheat window widgets. */
-enum CheatWidgets {
- CW_PANEL,
-};
-
/** Widget definitions of the cheat GUI. */
static const NWidgetPart _nested_cheat_widgets[] = {
NWidget(NWID_HORIZONTAL),