From 11d36d5e46ca4c03cc8e3a94fc248fdfabd90e3a Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 8 May 2008 14:14:16 +0000 Subject: (svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used. --- src/smallmap_gui.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/smallmap_gui.cpp') diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 9651bf12f..5ea843f4f 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -32,6 +32,13 @@ #include "table/strings.h" #include "table/sprites.h" +struct smallmap_d { + int32 scroll_x; + int32 scroll_y; + int32 subscroll; +}; +assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(smallmap_d)); + static const Widget _smallmap_widgets[] = { { WWT_CLOSEBOX, RESIZE_NONE, 13, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, { WWT_CAPTION, RESIZE_RIGHT, 13, 11, 337, 0, 13, STR_00B0_MAP, STR_018C_WINDOW_TITLE_DRAG_THIS}, -- cgit v1.2.3-54-g00ecf