added configurability of editor control buttons (toolbox buttons)
[rocksndiamonds.git] / src / conf_gfx.c
index b0f3ed9b3340184b9d51da0c10a526f51f624bd5..35870aefefde53bfd3a8a0b65985752ac3d8c6a7 100644 (file)
@@ -5312,6 +5312,220 @@ struct ConfigInfo image_config[] =
   { "editor.button.gfx.properties.height",     "20"                    },
   { "editor.button.gfx.properties.pressed_yoffset", "-20"              },
 
+  { "editor.no_toolbox_button",                        "RocksDoor.png"         },
+  { "editor.no_toolbox_button.x",              "506"                   },
+  { "editor.no_toolbox_button.y",              "286"                   },
+  { "editor.no_toolbox_button.width",          "22"                    },
+  { "editor.no_toolbox_button.height",         "22"                    },
+
+  { "editor.button.gfx.draw_single",           "RocksDoor.png"         },
+  { "editor.button.gfx.draw_single.x",         "706"                   },
+  { "editor.button.gfx.draw_single.y",         "242"                   },
+  { "editor.button.gfx.draw_single.width",     "22"                    },
+  { "editor.button.gfx.draw_single.height",    "22"                    },
+  { "editor.button.gfx.draw_single.pressed_xoffset", "-100"            },
+  { "editor.button.gfx.draw_single.active_yoffset",  "-94"             },
+
+  { "editor.button.gfx.draw_connected",                "RocksDoor.png"         },
+  { "editor.button.gfx.draw_connected.x",      "728"                   },
+  { "editor.button.gfx.draw_connected.y",      "242"                   },
+  { "editor.button.gfx.draw_connected.width",  "22"                    },
+  { "editor.button.gfx.draw_connected.height", "22"                    },
+  { "editor.button.gfx.draw_connected.pressed_xoffset", "-100"         },
+  { "editor.button.gfx.draw_connected.active_yoffset",  "-94"          },
+
+  { "editor.button.gfx.draw_line",             "RocksDoor.png"         },
+  { "editor.button.gfx.draw_line.x",           "750"                   },
+  { "editor.button.gfx.draw_line.y",           "242"                   },
+  { "editor.button.gfx.draw_line.width",       "22"                    },
+  { "editor.button.gfx.draw_line.height",      "22"                    },
+  { "editor.button.gfx.draw_line.pressed_xoffset", "-100"              },
+  { "editor.button.gfx.draw_line.active_yoffset",  "-94"               },
+
+  { "editor.button.gfx.draw_arc",              "RocksDoor.png"         },
+  { "editor.button.gfx.draw_arc.x",            "772"                   },
+  { "editor.button.gfx.draw_arc.y",            "242"                   },
+  { "editor.button.gfx.draw_arc.width",                "22"                    },
+  { "editor.button.gfx.draw_arc.height",       "22"                    },
+  { "editor.button.gfx.draw_arc.pressed_xoffset", "-100"               },
+  { "editor.button.gfx.draw_arc.active_yoffset",  "-94"                        },
+
+  { "editor.button.gfx.draw_rectangle",                "RocksDoor.png"         },
+  { "editor.button.gfx.draw_rectangle.x",      "706"                   },
+  { "editor.button.gfx.draw_rectangle.y",      "264"                   },
+  { "editor.button.gfx.draw_rectangle.width",  "22"                    },
+  { "editor.button.gfx.draw_rectangle.height", "22"                    },
+  { "editor.button.gfx.draw_rectangle.pressed_xoffset", "-100"         },
+  { "editor.button.gfx.draw_rectangle.active_yoffset",  "-94"          },
+
+  { "editor.button.gfx.draw_filled_box",       "RocksDoor.png"         },
+  { "editor.button.gfx.draw_filled_box.x",     "728"                   },
+  { "editor.button.gfx.draw_filled_box.y",     "264"                   },
+  { "editor.button.gfx.draw_filled_box.width", "22"                    },
+  { "editor.button.gfx.draw_filled_box.height",        "22"                    },
+  { "editor.button.gfx.draw_filled_box.pressed_xoffset", "-100"                },
+  { "editor.button.gfx.draw_filled_box.active_yoffset",  "-94"         },
+
+  { "editor.button.gfx.rotate_up",             "RocksDoor.png"         },
+  { "editor.button.gfx.rotate_up.x",           "750"                   },
+  { "editor.button.gfx.rotate_up.y",           "264"                   },
+  { "editor.button.gfx.rotate_up.width",       "22"                    },
+  { "editor.button.gfx.rotate_up.height",      "22"                    },
+  { "editor.button.gfx.rotate_up.pressed_xoffset", "-100"              },
+  { "editor.button.gfx.rotate_up.active_yoffset",  "-94"               },
+
+  { "editor.button.gfx.draw_text",             "RocksDoor.png"         },
+  { "editor.button.gfx.draw_text.x",           "772"                   },
+  { "editor.button.gfx.draw_text.y",           "264"                   },
+  { "editor.button.gfx.draw_text.width",       "22"                    },
+  { "editor.button.gfx.draw_text.height",      "22"                    },
+  { "editor.button.gfx.draw_text.pressed_xoffset", "-100"              },
+  { "editor.button.gfx.draw_text.active_yoffset",  "-94"               },
+
+  { "editor.button.gfx.flood_fill",            "RocksDoor.png"         },
+  { "editor.button.gfx.flood_fill.x",          "706"                   },
+  { "editor.button.gfx.flood_fill.y",          "286"                   },
+  { "editor.button.gfx.flood_fill.width",      "22"                    },
+  { "editor.button.gfx.flood_fill.height",     "22"                    },
+  { "editor.button.gfx.flood_fill.pressed_xoffset", "-100"             },
+  { "editor.button.gfx.flood_fill.active_yoffset",  "-94"              },
+
+  { "editor.button.gfx.rotate_left",           "RocksDoor.png"         },
+  { "editor.button.gfx.rotate_left.x",         "728"                   },
+  { "editor.button.gfx.rotate_left.y",         "286"                   },
+  { "editor.button.gfx.rotate_left.width",     "22"                    },
+  { "editor.button.gfx.rotate_left.height",    "22"                    },
+  { "editor.button.gfx.rotate_left.pressed_xoffset", "-100"            },
+  { "editor.button.gfx.rotate_left.active_yoffset",  "-94"             },
+
+  { "editor.button.gfx.zoom_level",            "RocksDoor.png"         },
+  { "editor.button.gfx.zoom_level.x",          "750"                   },
+  { "editor.button.gfx.zoom_level.y",          "286"                   },
+  { "editor.button.gfx.zoom_level.width",      "22"                    },
+  { "editor.button.gfx.zoom_level.height",     "22"                    },
+  { "editor.button.gfx.zoom_level.pressed_xoffset", "-100"             },
+  { "editor.button.gfx.zoom_level.active_yoffset",  "-94"              },
+
+  { "editor.button.gfx.rotate_right",          "RocksDoor.png"         },
+  { "editor.button.gfx.rotate_right.x",                "772"                   },
+  { "editor.button.gfx.rotate_right.y",                "286"                   },
+  { "editor.button.gfx.rotate_right.width",    "22"                    },
+  { "editor.button.gfx.rotate_right.height",   "22"                    },
+  { "editor.button.gfx.rotate_right.pressed_xoffset", "-100"           },
+  { "editor.button.gfx.rotate_right.active_yoffset",  "-94"            },
+
+  { "editor.button.gfx.draw_random",           "RocksDoor.png"         },
+  { "editor.button.gfx.draw_random.x",         "706"                   },
+  { "editor.button.gfx.draw_random.y",         "308"                   },
+  { "editor.button.gfx.draw_random.width",     "22"                    },
+  { "editor.button.gfx.draw_random.height",    "22"                    },
+  { "editor.button.gfx.draw_random.pressed_xoffset", "-100"            },
+  { "editor.button.gfx.draw_random.active_yoffset",  "-94"             },
+
+  { "editor.button.gfx.grab_brush",            "RocksDoor.png"         },
+  { "editor.button.gfx.grab_brush.x",          "728"                   },
+  { "editor.button.gfx.grab_brush.y",          "308"                   },
+  { "editor.button.gfx.grab_brush.width",      "22"                    },
+  { "editor.button.gfx.grab_brush.height",     "22"                    },
+  { "editor.button.gfx.grab_brush.pressed_xoffset", "-100"             },
+  { "editor.button.gfx.grab_brush.active_yoffset",  "-94"              },
+
+  { "editor.button.gfx.rotate_down",           "RocksDoor.png"         },
+  { "editor.button.gfx.rotate_down.x",         "750"                   },
+  { "editor.button.gfx.rotate_down.y",         "308"                   },
+  { "editor.button.gfx.rotate_down.width",     "22"                    },
+  { "editor.button.gfx.rotate_down.height",    "22"                    },
+  { "editor.button.gfx.rotate_down.pressed_xoffset", "-100"            },
+  { "editor.button.gfx.rotate_down.active_yoffset",  "-94"             },
+
+  { "editor.button.gfx.pick_element",          "RocksDoor.png"         },
+  { "editor.button.gfx.pick_element.x",                "772"                   },
+  { "editor.button.gfx.pick_element.y",                "308"                   },
+  { "editor.button.gfx.pick_element.width",    "22"                    },
+  { "editor.button.gfx.pick_element.height",   "22"                    },
+  { "editor.button.gfx.pick_element.pressed_xoffset", "-100"           },
+  { "editor.button.gfx.pick_element.active_yoffset",  "-94"            },
+
+  { "editor.button.gfx.ce_copy_from",          "RocksDoor.png"         },
+  { "editor.button.gfx.ce_copy_from.x",                "528"                   },
+  { "editor.button.gfx.ce_copy_from.y",                "330"                   },
+  { "editor.button.gfx.ce_copy_from.width",    "22"                    },
+  { "editor.button.gfx.ce_copy_from.height",   "22"                    },
+  { "editor.button.gfx.ce_copy_from.pressed_xoffset", "-100"           },
+  { "editor.button.gfx.ce_copy_from.active_yoffset",  "-22"            },
+
+  { "editor.button.gfx.ce_copy_to",            "RocksDoor.png"         },
+  { "editor.button.gfx.ce_copy_to.x",          "550"                   },
+  { "editor.button.gfx.ce_copy_to.y",          "330"                   },
+  { "editor.button.gfx.ce_copy_to.width",      "22"                    },
+  { "editor.button.gfx.ce_copy_to.height",     "22"                    },
+  { "editor.button.gfx.ce_copy_to.pressed_xoffset", "-100"             },
+  { "editor.button.gfx.ce_copy_to.active_yoffset",  "-22"              },
+
+  { "editor.button.gfx.ce_swap",               "RocksDoor.png"         },
+  { "editor.button.gfx.ce_swap.x",             "572"                   },
+  { "editor.button.gfx.ce_swap.y",             "330"                   },
+  { "editor.button.gfx.ce_swap.width",         "22"                    },
+  { "editor.button.gfx.ce_swap.height",                "22"                    },
+  { "editor.button.gfx.ce_swap.pressed_xoffset", "-100"                        },
+  { "editor.button.gfx.ce_swap.active_yoffset",  "-22"                 },
+
+  { "editor.button.gfx.ce_copy",               "RocksDoor.png"         },
+  { "editor.button.gfx.ce_copy.x",             "550"                   },
+  { "editor.button.gfx.ce_copy.y",             "286"                   },
+  { "editor.button.gfx.ce_copy.width",         "22"                    },
+  { "editor.button.gfx.ce_copy.height",                "22"                    },
+  { "editor.button.gfx.ce_copy.pressed_xoffset", "-100"                        },
+
+  { "editor.button.gfx.ce_paste",              "RocksDoor.png"         },
+  { "editor.button.gfx.ce_paste.x",            "572"                   },
+  { "editor.button.gfx.ce_paste.y",            "286"                   },
+  { "editor.button.gfx.ce_paste.width",                "22"                    },
+  { "editor.button.gfx.ce_paste.height",       "22"                    },
+  { "editor.button.gfx.ce_paste.pressed_xoffset", "-100"               },
+
+  { "editor.button.gfx.undo",                  "RocksDoor.png"         },
+  { "editor.button.gfx.undo.x",                        "705"                   },
+  { "editor.button.gfx.undo.y",                        "335"                   },
+  { "editor.button.gfx.undo.width",            "30"                    },
+  { "editor.button.gfx.undo.height",           "20"                    },
+  { "editor.button.gfx.undo.pressed_xoffset",  "-100"                  },
+
+  { "editor.button.gfx.conf",                  "RocksDoor.png"         },
+  { "editor.button.gfx.conf.x",                        "735"                   },
+  { "editor.button.gfx.conf.y",                        "335"                   },
+  { "editor.button.gfx.conf.width",            "30"                    },
+  { "editor.button.gfx.conf.height",           "20"                    },
+  { "editor.button.gfx.conf.pressed_xoffset",  "-100"                  },
+
+  { "editor.button.gfx.save",                  "RocksDoor.png"         },
+  { "editor.button.gfx.save.x",                        "765"                   },
+  { "editor.button.gfx.save.y",                        "335"                   },
+  { "editor.button.gfx.save.width",            "30"                    },
+  { "editor.button.gfx.save.height",           "20"                    },
+  { "editor.button.gfx.save.pressed_xoffset",  "-100"                  },
+
+  { "editor.button.gfx.clear",                 "RocksDoor.png"         },
+  { "editor.button.gfx.clear.x",               "705"                   },
+  { "editor.button.gfx.clear.y",               "355"                   },
+  { "editor.button.gfx.clear.width",           "30"                    },
+  { "editor.button.gfx.clear.height",          "20"                    },
+  { "editor.button.gfx.clear.pressed_xoffset", "-100"                  },
+
+  { "editor.button.gfx.test",                  "RocksDoor.png"         },
+  { "editor.button.gfx.test.x",                        "735"                   },
+  { "editor.button.gfx.test.y",                        "355"                   },
+  { "editor.button.gfx.test.width",            "30"                    },
+  { "editor.button.gfx.test.height",           "20"                    },
+  { "editor.button.gfx.test.pressed_xoffset",  "-100"                  },
+
+  { "editor.button.gfx.exit",                  "RocksDoor.png"         },
+  { "editor.button.gfx.exit.x",                        "765"                   },
+  { "editor.button.gfx.exit.y",                        "355"                   },
+  { "editor.button.gfx.exit.width",            "30"                    },
+  { "editor.button.gfx.exit.height",           "20"                    },
+  { "editor.button.gfx.exit.pressed_xoffset",  "-100"                  },
+
   { "editor.input.gfx.level_number",           "RocksDoor.png"         },
   { "editor.input.gfx.level_number.x",         "529"                   },
   { "editor.input.gfx.level_number.y",         "5"                     },
@@ -7183,8 +7397,67 @@ struct ConfigInfo image_config[] =
   { "editor.button.prev_level.y",              "5"                     },
   { "editor.button.next_level.x",              "79"                    },
   { "editor.button.next_level.y",              "5"                     },
+
   { "editor.button.properties.x",              "5"                     },
   { "editor.button.properties.y",              "230"                   },
+
+  { "editor.button.draw_single.x",             "6"                     },
+  { "editor.button.draw_single.y",             "6"                     },
+  { "editor.button.draw_connected.x",          "28"                    },
+  { "editor.button.draw_connected.y",          "6"                     },
+  { "editor.button.draw_line.x",               "50"                    },
+  { "editor.button.draw_line.y",               "6"                     },
+  { "editor.button.draw_arc.x",                        "72"                    },
+  { "editor.button.draw_arc.y",                        "6"                     },
+  { "editor.button.draw_rectangle.x",          "6"                     },
+  { "editor.button.draw_rectangle.y",          "28"                    },
+  { "editor.button.draw_filled_box.x",         "28"                    },
+  { "editor.button.draw_filled_box.y",         "28"                    },
+  { "editor.button.rotate_up.x",               "50"                    },
+  { "editor.button.rotate_up.y",               "28"                    },
+  { "editor.button.draw_text.x",               "72"                    },
+  { "editor.button.draw_text.y",               "28"                    },
+  { "editor.button.flood_fill.x",              "6"                     },
+  { "editor.button.flood_fill.y",              "50"                    },
+  { "editor.button.rotate_left.x",             "28"                    },
+  { "editor.button.rotate_left.y",             "50"                    },
+  { "editor.button.zoom_level.x",              "50"                    },
+  { "editor.button.zoom_level.y",              "50"                    },
+  { "editor.button.rotate_right.x",            "72"                    },
+  { "editor.button.rotate_right.y",            "50"                    },
+  { "editor.button.draw_random.x",             "6"                     },
+  { "editor.button.draw_random.y",             "72"                    },
+  { "editor.button.grab_brush.x",              "28"                    },
+  { "editor.button.grab_brush.y",              "72"                    },
+  { "editor.button.rotate_down.x",             "50"                    },
+  { "editor.button.rotate_down.y",             "72"                    },
+  { "editor.button.pick_element.x",            "72"                    },
+  { "editor.button.pick_element.y",            "72"                    },
+
+  { "editor.button.ce_copy_from.x",            "28"                    },
+  { "editor.button.ce_copy_from.y",            "6"                     },
+  { "editor.button.ce_copy_to.x",              "50"                    },
+  { "editor.button.ce_copy_to.y",              "6"                     },
+  { "editor.button.ce_swap.x",                 "72"                    },
+  { "editor.button.ce_swap.y",                 "6"                     },
+  { "editor.button.ce_copy.x",                 "6"                     },
+  { "editor.button.ce_copy.y",                 "72"                    },
+  { "editor.button.ce_paste.x",                        "28"                    },
+  { "editor.button.ce_paste.y",                        "72"                    },
+
+  { "editor.button.undo.x",                    "5"                     },
+  { "editor.button.undo.y",                    "99"                    },
+  { "editor.button.conf.x",                    "35"                    },
+  { "editor.button.conf.y",                    "99"                    },
+  { "editor.button.save.x",                    "65"                    },
+  { "editor.button.save.y",                    "99"                    },
+  { "editor.button.clear.x",                   "5"                     },
+  { "editor.button.clear.y",                   "119"                   },
+  { "editor.button.test.x",                    "35"                    },
+  { "editor.button.test.y",                    "119"                   },
+  { "editor.button.exit.x",                    "65"                    },
+  { "editor.button.exit.y",                    "119"                   },
+
   { "editor.input.level_number.x",             "29"                    },
   { "editor.input.level_number.y",             "5"                     },