(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used.

This commit is contained in:
rubidium
2008-05-08 14:14:16 +00:00
parent 5fda77239e
commit 4a11ebe76f
5 changed files with 32 additions and 45 deletions

View File

@@ -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},