improved dynamic layout of editor gadgets (continued)
[rocksndiamonds.git] / src / main.h
index 9917df22bbb0a82111db5c584ca4d092e0f9bd13..aeceace327d92fc67579bd6cd9e0b27d1d61a199 100644 (file)
@@ -2248,12 +2248,25 @@ struct PreviewInfo
   int anim_mode;
 };
 
+struct EditorTabsInfo
+{
+  int x;
+  int y;
+  int yoffset2;
+  int width;
+  int height;
+  int draw_xoffset;
+  int draw_yoffset;
+};
+
 struct EditorSettingsInfo
 {
   struct MenuPosInfo headline;
 
-  struct XY element;
-  struct XY tabs;
+  struct XY element_graphic;
+  struct XY element_name;
+
+  struct EditorTabsInfo tabs;
 };
 
 struct EditorGadgetInfo
@@ -2330,9 +2343,7 @@ struct EditorPaletteInfo
 
 struct EditorInfo
 {
-  struct EditorSettingsInfo level_settings;
-  struct EditorSettingsInfo element_settings;
-
+  struct EditorSettingsInfo settings;
   struct EditorGadgetInfo gadget;
   struct EditorButtonInfo button;
   struct EditorInputInfo input;