summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index a7de4069d..65372ba6d 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -34,6 +34,8 @@
#include "saveload/saveload.h"
+#include "widgets/main_widget.h"
+
#include "network/network.h"
#include "network/network_func.h"
#include "network/network_gui.h"
@@ -199,11 +201,6 @@ void ZoomInOrOutToCursorWindow(bool in, Window *w)
}
}
-/** Widgets of the main window. */
-enum MainWindowWidgets {
- MW_VIEWPORT, ///< Main window viewport.
-};
-
static const struct NWidgetPart _nested_main_window_widgets[] = {
NWidget(NWID_VIEWPORT, INVALID_COLOUR, MW_VIEWPORT), SetResize(1, 1),
};