{ "editor.element_border_input.xpos", "10" },
{ "editor.element_border_input.ypos", "7" },
{ "editor.element_border_input.border_size", "4" },
- { "editor.element_border_input.tile_size", "16" },
{ "editor.counter.down", "RocksDoor.png" },
{ "editor.counter.down.x", "302" },
{ "editor.palette.element_right.y", "258" },
{ "editor.palette.element_right.tile_size", "16" },
+ { "editor.drawingarea.tile_size", "16" },
+
{ "editor.settings.headline.x", "272" },
{ "editor.settings.headline.y", "16" },
{ "editor.settings.headline.align", "center" },
#define IMG_BORDER_2 IMG_EDITOR_ELEMENT_BORDER_INPUT
#define ED_ELEMENT_BORDER (graphic_info[IMG_BORDER_1].border_size)
#define ED_DRAWINGAREA_BORDER_SIZE (graphic_info[IMG_BORDER_2].border_size)
-#define ED_DRAWINGAREA_TILE_SIZE (graphic_info[IMG_BORDER_2].tile_size)
+#define ED_DRAWINGAREA_TILE_SIZE (editor.drawingarea.tile_size)
/* values for checkbutton gadgets */
#define ED_CHECKBUTTON_XSIZE (graphic_info[IMG_EDITOR_CHECKBOX].width)
struct EditorPaletteElementInfo element_right;
};
+struct EditorDrawingAreaInfo
+{
+ int tile_size;
+};
+
struct EditorInfo
{
struct EditorSettingsInfo settings;
struct EditorButtonInfo button;
struct EditorInputInfo input;
struct EditorPaletteInfo palette;
+ struct EditorDrawingAreaInfo drawingarea;
};
struct ViewportInfo