summaryrefslogtreecommitdiff
path: root/src/network/network_content_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/network/network_content_gui.cpp
parentfd559171b4ab5ce09b67aa8c4e9f2d0482a09558 (diff)
downloadopenttd-2aa774e831ad1cb7849c998759449ef777c5c664.tar.xz
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
Diffstat (limited to 'src/network/network_content_gui.cpp')
-rw-r--r--src/network/network_content_gui.cpp28
1 files changed, 2 insertions, 26 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index fd6b72b37..1a31e0904 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -22,6 +22,8 @@
#include "../core/geometry_func.hpp"
#include "network_content_gui.h"
+#include "../widgets/network_content_widget.h"
+
#include "table/strings.h"
#include "../table/sprites.h"
@@ -220,32 +222,6 @@ public:
}
};
-/** Widgets of the content list window. */
-enum NetworkContentListWindowWidgets {
- NCLWW_BACKGROUND, ///< Resize button
-
- NCLWW_FILTER_CAPT, ///< Caption for the filter editbox
- NCLWW_FILTER, ///< Filter editbox
-
- NCLWW_CHECKBOX, ///< Button above checkboxes
- NCLWW_TYPE, ///< 'Type' button
- NCLWW_NAME, ///< 'Name' button
-
- NCLWW_MATRIX, ///< Panel with list of content
- NCLWW_SCROLLBAR, ///< Scrollbar of matrix
-
- NCLWW_DETAILS, ///< Panel with content details
-
- NCLWW_SELECT_ALL, ///< 'Select all' button
- NCLWW_SELECT_UPDATE, ///< 'Select updates' button
- NCLWW_UNSELECT, ///< 'Unselect all' button
- NCLWW_OPEN_URL, ///< 'Open url' button
- NCLWW_CANCEL, ///< 'Cancel' button
- NCLWW_DOWNLOAD, ///< 'Download' button
-
- NCLWW_SEL_ALL_UPDATE, ///< #NWID_SELECTION widget for select all/update buttons.
-};
-
/** Window that lists the content that's at the content server */
class NetworkContentListWindow : public QueryStringBaseWindow, ContentCallback {
/** List with content infos. */