Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #textdomain wesnoth-editor
- # wmlscope: set export=no
- # some information about how theming works
- # (especially the coordinates defined with rect=):
- # http://www.wesnoth.org/forum/viewtopic.php?p=213708#213708
- [theme]
- name=editor
- hidden=yes
- #define DEFAULT_EDITOR_FONT_NORMAL
- 14 #enddef
- #define DEFAULT_EDITOR_FONT_SMALL
- 12 #enddef
- #define DEFAULT_EDITOR_FONT_TINY
- 10 #enddef
- #define DEFAULT_EDITOR_FONT_REALLYTINY
- 9 #enddef
- {themes/macros.cfg}
- ############################################### 1024x768 ######################################################
- [resolution]
- id=1024x768
- width=1024
- height=768
- [screen]
- # this is only useful as a ref for other rects
- id=screen
- rect="0,0,1024,768"
- [/screen]
- ####### Context Menu
- [menu]
- id=menu-editor-paste-context
- is_context_menu=true
- items=editor-unit-toggle-loyal,editor-change-unitid,renameunit,describeunit,editor-deleteunit,editor-toggle-renameable,editor-toggle-canrecruit,editor-cut,editor-copy,editor-paste,editor-tool-select,editor-select-all,editor-select-inverse,editor-select-none,editor-clipboard-rotate-cw,editor-clipboard-rotate-ccw,editor-clipboard-flip-horizontal,editor-clipboard-flip-vertical,editor-selection-name,editor-selection-fill,editor-selection-rotate,editor-selection-flip, editor-selection-generate,editor-selection-randomize
- [/menu]
- ####### Menu Bar
- [panel]
- id=top-panel
- image=themes/editor/classic/menubar.png
- ref=screen
- # rect="=,=,833,+27"
- rect="=,=,1024,+27"
- xanchor=top
- yanchor=fixed
- [/panel]
- [panel]
- id=top-panel-right
- image=themes/editor/classic/menubar_rightside.png
- rect="+0,=,+10,+27"
- xanchor=right
- yanchor=fixed
- [/panel]
- [menu]
- image=menu_buttons/menu_button_copper_H20
- id=menu-editor-file
- title= _ "File"
- type=turbo
- #image=lite_small
- #image=lite
- font_size=9
- items=statustable,unitlist,editor-map-new,editor-map-load,editor-map-revert,editor-map-save,editor-map-save-as,preferences,help,editor-close-map,quit-editor,editor-quit-to-desktop
- ref=top-panel
- rect="=+1,=+1,+100,+20"
- #rect="=+3,=+1,+55,=-4"
- xanchor=fixed
- yanchor=fixed
- [/menu]
- # [menu]
- # id=menu-editor-edit
- # title= _ "Edit"
- # #image=lite_small
- # image=lite
- # font_size={DEFAULT_EDITOR_FONT_SMALL}
- # items=undo,redo,editor-cut,editor-copy,editor-paste,editor-selection-name,editor-export-selection-coords,editor-select-all,editor-select-inverse,editor-select-none, editor-selection-fill,editor-selection-rotate,editor-selection-flip, editor-selection-generate,editor-selection-randomize
- # #rect="+2,=,+55,="
- # rect="+2,=,+100,="
- # xanchor=fixed
- # yanchor=fixed
- # [/menu]
- [menu]
- id=menu-editor-map
- title= _ "Map"
- image=menu_buttons/menu_button_copper_H20
- #image=lite
- items=editor-map-resize,editor-map-rotate,editor-map-generate, editor-map-apply-mask,editor-map-create-mask-to,menu-editor-transitions,editor-refresh,editor-refresh-image-cache,togglegrid,editor-draw-coordinates,editor-draw-terrain-codes
- rect="+1,=,+100,="
- xanchor=fixed
- yanchor=fixed
- [/menu]
- [menu]
- title= _ "Transition update"
- button=false
- id=menu-editor-transitions
- items=editor-update-transitions,editor-auto-update-transitions,editor-partial-update-transitions,editor-no-update-transitions
- [/menu]
- [menu]
- id=menu-editor-window
- title= _ "Window"
- #image=lite
- image=menu_buttons/menu_button_copper_H20
- items=editor-switch-map
- rect="+1,=,+100,="
- xanchor=fixed
- yanchor=fixed
- [/menu]
- [menu]
- id=menu-editor-areas
- title= _ "Areas"
- #image=lite
- image=menu_buttons/menu_button_copper_H20
- items=editor-switch-area, editor-define-area
- rect="+1,=,+100,="
- xanchor=fixed
- yanchor=fixed
- [/menu]
- [menu]
- id=menu-editor-side
- title= _ "Side"
- #image=lite
- image=menu_buttons/menu_button_copper_H20
- font_size={DEFAULT_EDITOR_FONT_SMALL}
- items=editor-switch-side,editor-side-new #,editor-side-modify
- rect="+1,=,+100,="
- xanchor=fixed
- yanchor=fixed
- [/menu]
- [panel]
- id=villages-panel
- image=themes/status_box/status_box_copper_H20W70.png
- rect="+5,=+1,+70,+20"
- xanchor=fixed
- yanchor=fixed
- [/panel]
- [label]
- id=villages-icon
- icon=themes/villages.png
- text= _ "villages"
- ref=villages-panel
- rect="=+5,=+2,+16,+16"
- xanchor=fixed
- yanchor=fixed
- [/label]
- [panel]
- id=units-panel
- image=themes/status_box/status_box_copper_H20W70.png
- rect="+5,=,+70,+20"
- ref=villages-panel
- xanchor=fixed
- yanchor=fixed
- [/panel]
- [label]
- id=units-icon
- icon=themes/units.png
- text= _ "units"
- ref=units-panel
- rect="=+5,=+2,+16,+16"
- xanchor=fixed
- yanchor=fixed
- [/label]
- # [panel]
- # #TODO rename since we don't display turns, only sides
- # id=turn-panel
- # ref=units-panel
- # image=themes/status_box/status_box_copper_H20W70.png
- # rect="+5,=+1,+70,+20"
- # xanchor=fixed
- # yanchor=fixed
- # [/panel]
- ####### Upper Toolbar - Left Side
- [panel]
- id=replay-panel
- image=themes/editor/classic/uppertoolbar.png
- ref=top-panel
- rect="=,+0,+833,+41"
- xanchor=left
- yanchor=fixed
- [/panel]
- [panel]
- id=replay-panel-right
- image=themes/editor/classic/toolbar_rightside.png
- rect="+0,=,+10,+41"
- xanchor=right
- yanchor=fixed
- [/panel]
- ####### File specific actions
- [action]
- id=top_button_file1
- items=editor-map-load
- #type=
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- ref=replay-panel
- rect="=+2,=+4,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- [action]
- id=top_button_file2
- items=editor-map-save
- #type=
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- [panel]
- id=top_separator1
- #image=themes/editor/classic/menubar_rightside.png
- rect="+1,=,+10,+27"
- xanchor=fixed
- yanchor=fixed
- [/panel]
- ##### Undo specific ones
- [action]
- id=top_button_undo1
- items=editor-partial-undo
- #type=
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- [action]
- id=top_button_undo2
- items=undo
- #type=
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- [action]
- id=top_button_undo3
- items=redo
- #type=
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- [panel]
- id=top_separator2
- # image=themes/editor/classic/menubar_rightside.png
- # ref=replay-panel
- rect="+1,=,+10,+27"
- xanchor=fixed
- yanchor=fixed
- [/panel]
- ###### Select specific
- [action]
- id=top_button_select1
- items=editor-select-all
- type=radiobox
- image=button_square/button_square_30
- #tooltip= _ ""
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- [action]
- id=top_button_select2
- items=editor-select-none
- type=radiobox
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- [action]
- id=top_button_select3
- items=editor-select-inverse
- #type=radiobox
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- [action]
- id=top_button_select4
- items=editor-selection-fill
- #type=radiobox
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- [action]
- id=top_button_select5
- items=editor-selection-randomize
- type=radiobox
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- # [action]
- # id=top_button_select6
- # items=editor-selection-flip
- # type=radiobox
- # image=button_square/button_square_30
- # #tooltip= _ ""
- # auto_tooltip=yes
- # tooltip_name_prepend=yes
- # rect="+1,=,+30,+30"
- # xanchor=fixed
- # yanchor=fixed
- # [/action]
- [panel]
- id=top_separator3
- #image=themes/editor/classic/menubar_rightside.png
- rect="+1,=,+10,+27"
- xanchor=fixed
- yanchor=fixed
- [/panel]
- ####### Cut & paste
- [action]
- id=top_button_cut
- items=editor-cut
- type=radiobox
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- [action]
- id=top_button11
- items=editor-copy
- #type=radiobox
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- [action]
- id=top_button12
- items=editor-paste
- type=radiobox
- image=button_square/button_square_30
- #tooltip= _ ""
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+1,=,+30,+30"
- xanchor=fixed
- yanchor=fixed
- [/action]
- ## others, not yet determined
- [panel]
- id=top_seperator3
- # image=themes/editor/classic/menubar_rightside.png
- # ref=replay-panel
- rect="+1,=,+10,+27"
- xanchor=fixed
- yanchor=fixed
- [/panel]
- # [action]
- # id=top_button13
- # items=null
- # type=radiobox
- # image=button_square/button_square_30
- # #tooltip= _ ""
- # auto_tooltip=yes
- # tooltip_name_prepend=yes
- # rect="+1,=,+30,+30"
- # xanchor=fixed
- # yanchor=fixed
- # [/action]
- # [action]
- # id=top_button14
- # items=null
- # type=radiobox
- # image=button_square/button_square_30
- # #tooltip= _ ""
- # auto_tooltip=yes
- # tooltip_name_prepend=yes
- # rect="+1,=,+30,+30"
- # xanchor=fixed
- # yanchor=fixed
- # [/action]
- # [action]
- # id=top_button15
- # items=null
- # type=radiobox
- # image=button_square/button_square_30
- # #tooltip= _ ""
- # auto_tooltip=yes
- # tooltip_name_prepend=yes
- # rect="+1,=,+30,+30"
- # xanchor=fixed
- # yanchor=fixed
- # [/action]
- # [action]
- # id=top_button16
- # items=null
- # type=radiobox
- # image=button_square/button_square_30
- # #tooltip= _ ""
- # auto_tooltip=yes
- # tooltip_name_prepend=yes
- # rect="+1,=,+30,+30"
- # xanchor=fixed
- # yanchor=fixed
- # [/action]
- ######## Upper Toolbar - Right Side
- [action]
- id=toggle_grid_button_editor
- items=togglegrid
- type=checkbox
- image=button_square/button_square_30
- #overlay=editor/tool/editor_tools_icons_toggle-grid
- tooltip_name_prepend=yes
- rect="810,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=toggle_coordinates_button_editor
- items=editor-draw-coordinates
- type=checkbox
- image=button_square/button_square_30
- #overlay=editor/tool/editor_tools_icons_toggle-grid
- tooltip_name_prepend=yes
- rect="=-31,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=toggle_terrain_codes_button_editor
- items=editor-draw-terrain-codes
- type=checkbox
- image=button_square/button_square_30
- #overlay=editor/tool/editor_tools_icons_toggle-grid
- tooltip_name_prepend=yes
- rect="=-31,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [menu]
- id=switch_time
- items=custom-tod, editor-switch-time, menu-editor-schedule
- image=button_square/button_square_30
- overlay=icons/action/editor-switch-time_30
- tooltip= _ "Time Schedule Menu"
- rect="=-31,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/menu]
- [menu]
- title= _ "Assign Time Schedule"
- id=menu-editor-schedule
- button=false
- items=editor-assign-schedule
- [/menu]
- ####### Game Map
- [panel]
- id=border-top
- image=themes/editor/classic/mapframe_top.png
- ref=replay-panel
- rect="0,+0,708,+10"
- xanchor=left
- yanchor=fixed
- [/panel]
- [panel]
- id=border-top-right-corner
- image=themes/editor/classic/mapframe_toprightcorner.png
- rect="708,=+0,+135,+10"
- xanchor=right
- yanchor=fixed
- [/panel]
- [main_map]
- id=main-map
- ref=border-top-right-corner
- rect="0,+0,+833,768"
- xanchor=left
- yanchor=top
- [/main_map]
- [main_map_border]
- border_size = 0.5
- background_image = "terrain/off-map/background.png"
- # this image is processed by the terrain matching code so should be
- # in the terrains directory and should ommit the 'terrain/' prefix
- # and the '.png' suffix
- tile_image = "off-map/alpha.png"
- corner_image_top_left = "terrain/off-map/fade_corner_top_left_editor.png"
- corner_image_bottom_left = "terrain/off-map/fade_corner_bottom_left_editor.png"
- # odd means the corner is on a tile with an odd x value,
- # the tile is the ingame tile not the odd in C++
- corner_image_top_right_odd = "terrain/off-map/fade_corner_top_right_odd_editor.png"
- corner_image_top_right_even = "terrain/off-map/fade_corner_top_right_even_editor.png"
- corner_image_bottom_right_odd = "terrain/off-map/fade_corner_bottom_right_odd_editor.png"
- corner_image_bottom_right_even = "terrain/off-map/fade_corner_bottom_right_even_editor.png"
- border_image_left = "terrain/off-map/fade_border_left_editor.png"
- border_image_right = "terrain/off-map/fade_border_right_editor.png"
- border_image_top_odd = "terrain/off-map/fade_border_top_odd_editor.png"
- border_image_top_even = "terrain/off-map/fade_border_top_even_editor.png"
- border_image_bottom_odd = "terrain/off-map/fade_border_bottom_odd_editor.png"
- border_image_bottom_even = "terrain/off-map/fade_border_bottom_even_editor.png"
- [/main_map_border]
- [panel]
- id=border-right
- image=themes/editor/classic/mapframe_rightside.png
- rect="+0,=+0,+10,768"
- xanchor=right
- yanchor=top
- [/panel]
- #[panel]
- # id=mapframe-corner
- # image=themes/editor/classic/mapframe_corner.png
- # ref=border-top-right-corner
- # rect="761,+0,+72,+72"
- # xanchor=fixed
- # yanchor=fixed
- #[/panel]
- ################################## Rightside Panel
- ####### MiniMap
- [panel]
- id=top-right-panel
- image=themes/editor/classic/minimap.png
- ref=screen
- #ref=top-panel
- rect="843,0,1024,212"
- xanchor=right
- yanchor=fixed
- [/panel]
- [panel]
- id=terrain-panel
- image=themes/status_box/status_box_H20W168.png
- rect="=+9,=+1,+168,+20"
- xanchor=right
- yanchor=fixed
- [/panel]
- # [panel]
- # id=terrain-info-panel
- # ref=top-panel
- # image=themes/status_box/status_box_H20W145.png
- # rect="-138,=+1,+145,+20"
- # xanchor=fixed
- # yanchor=fixed
- # [/panel]
- [label]
- id=terrain-icon
- icon=icons/terrain/terrain_type_info.png
- text= _ "terrain"
- rect="=+5,=+2,+20,+16"
- xanchor=right
- yanchor=fixed
- [/label]
- [mini_map]
- id=mini-map
- ref=top-right-panel
- rect="=+51,=+31,=-14,+158"
- xanchor=right
- yanchor=fixed
- [/mini_map]
- [action]
- id=zoom_default_button_editor
- items=zoomdefault
- type=checkbox
- image=button_square/button_square_30
- auto_tooltip=yes
- rect="=-33,=-1,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=zoom_in_button_editor
- items=zoomin
- type=turbo
- image=button_square/button_square_30
- auto_tooltip=yes
- rect="=,+2,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=zoom_out_button_editor
- items=zoomout
- type=turbo
- image=button_square/button_square_30
- auto_tooltip=yes
- rect="=,+2,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=resize_button_editor
- items=editor-map-resize
- #type=press
- image=button_square/button_square_30
- tooltip_name_prepend=yes
- rect="=,+2,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=flip_map_button_editor
- type=checkbox
- image=button_square/button_square_30
- items=editor-map-flip
- tooltip= _ "Not implemented yet."
- tooltip_name_prepend=yes
- rect="=,+2,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [slider]
- image=buttons/sliders/slider_arrow_gold
- id=map-zoom-slider
- black_line=yes
- ref=mini-map
- rect="=,+1,+117,+18"
- xanchor=right
- yanchor=fixed
- [/slider]
- ####### Main Toolbar
- [panel]
- id=middle-right-panel
- image=themes/editor/classic/sidebar_tools.png
- ref=top-right-panel
- rect="=,+0,=,+249"
- xanchor=right
- yanchor=fixed
- [/panel]
- ####### First Row
- [action]
- id=tool-button1
- items=editor-tool-paint
- type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="=+14,=+10,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button2
- items=editor-tool-select
- type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button3
- items=editor-tool-starting-position
- type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button4
- items=editor-tool-item
- type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button5
- items=editor-tool-village
- type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- ####### Second Row.
- [action]
- id=tool-button6
- items=editor-tool-fill
- type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- ref=tool-button1
- rect="=,+2,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button7
- items=editor-paste
- type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button8
- items=editor-tool-label
- type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button9
- items=editor-tool-soundsource
- type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button10
- items=editor-tool-unit
- type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+2,=,+24,+24"
- xanchor=right
- yanchor=fixed
- [/action]
- ####### 3rd row
- [action]
- id=tool-button11
- items=editor-clipboard-flip-horizontal
- #type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- ref=tool-button6
- rect="=,+18,+30,+30"
- xanchor=right
- yanchor=top
- [/action]
- [action]
- id=tool-button12
- items=editor-clipboard-flip-vertical
- #type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button13
- items=editor-clipboard-rotate-cw
- #type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button14
- items=editor-clipboard-rotate-ccw
- type=radiobox
- image=button_square/button_square_30
- auto_tooltip=yes
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button15
- items=null
- #type=radiobox
- #auto_tooltip=yes
- image=button_square/button_square_30
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- ####### 4th row
- [action]
- id=tool-button16
- type=checkbox
- image=button_square/button_square_30
- items=editor-brush-1
- tooltip_name_prepend=yes
- ref=tool-button11
- rect="=,+2,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button17
- type=checkbox
- image=button_square/button_square_30
- items=editor-brush-2
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button18
- type=checkbox
- image=button_square/button_square_30
- items=editor-brush-3
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button19
- type=checkbox
- image=button_square/button_square_30
- items=editor-brush-nw-se
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=tool-button20
- type=checkbox
- image=button_square/button_square_30
- items=editor-brush-sw-ne
- tooltip_name_prepend=yes
- rect="+2,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- ####### Palette
- [panel]
- id=bottom-right-panel
- image=themes/editor/classic/sidebar_palette.png
- ref=middle-right-panel
- rect="=,+0,=,768"
- xanchor=right
- yanchor=top
- [/panel]
- [palette]
- id=palette
- rect="=+15,=-38,+250,+465"
- xanchor=right
- yanchor=top
- [/palette]
- [menu]
- id=menu-editor-terrain
- items=editor-palette-groups
- type=turbo
- image=button_square/button_square_30
- rect="=-1,=-43,+30,+30"
- xanchor=right
- yanchor=fixed
- [/menu]
- [action]
- id=menu-editor-flip-palette-selection
- items=editor-terrain-palette-swap
- image=button_square/button_square_30
- auto_tooltip=yes
- rect="+34,=,+30,+30"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- id=upscroll-button-editor
- type=turbo
- image=button_square/button_square_25
- items=editor-palette-upscroll
- overlay=icons/arrows/arrows_ornate_up_25
- rect="+7,=+0,+25,+25"
- xanchor=right
- yanchor=fixed
- [/action]
- [action]
- type=turbo
- id=downscroll-button-editor
- image=button_square/button_square_25
- overlay=icons/arrows/arrows_ornate_down_25
- items=editor-palette-downscroll
- rect="+7,=+0,+25,+25"
- xanchor=right
- yanchor=fixed
- [/action]
- ####### End
- [status]
- # [terrain_image]
- # id=terrain_image
- # ref=menu-editor-terrain
- # rect="+4,=-2,+25,+25"
- # xanchor=right
- # yanchor=fixed
- # [/terrain_image]
- # [side_playing]
- # id=icon-sideplaying
- # ref=turn-panel
- # rect="=+3,=+2,+25,+17"
- # xanchor=fixed
- # yanchor=fixed
- # [/side_playing]
- # [turn]
- # id=turn
- # font_size={DEFAULT_EDITOR_FONT_SMALL}
- # rect="+4,=,+55,+16"
- # xanchor=fixed
- # yanchor=fixed
- # prefix="" #wmllint: ignore
- # prefix_literal=""
- # [/turn]
- # TODO maybe enable for the high resolution version
- # the time of day image
- # [time_of_day]
- # id=image-tod
- # ref=top-right-panel
- # rect="=+10,=+159,=-7,+39"
- # xanchor=right
- # yanchor=fixed
- # [/time_of_day]
- [villages]
- id=villages
- font_size={DEFAULT_EDITOR_FONT_SMALL}
- ref=villages-icon
- rect="+4,=,+55,+16"
- xanchor=fixed
- yanchor=fixed
- prefix="" #wmllint: ignore
- prefix_literal=""
- [/villages]
- [num_units]
- id=num-units
- font_size={DEFAULT_EDITOR_FONT_SMALL}
- ref=units-icon
- rect="+4,=,+55,+16"
- xanchor=fixed
- yanchor=fixed
- prefix="" #wmllint: ignore
- prefix_literal=""
- [/num_units]
- # This panel encloses the location information displays and the
- # observer icon. This separate container is used so that we can
- # make the terrain name display stretch to fill all available space
- # so that the long strings don't get cut off as easily.
- # The size of these rectangles only accommodates hex coordinates
- # up to 99. If either is over that maximum the movement cost will
- # be pushed off the right end.
- [position]
- id=status-position
- #font_size={DEFAULT_EDITOR_FONT_SMALL}
- #font_size={DEFAULT_EDITOR_FONT_NORMAL}
- ref=terrain-icon
- #ref=top-panel
- rect="+4,=,+60,+16"
- #rect="-65,=+4,=-5,="
- xanchor=right
- yanchor=fixed
- [/position]
- [terrain_info]
- id=status-terrain
- rect="+2,=,+70,+16"
- xanchor=right
- yanchor=fixed
- [/terrain_info]
- # [terrain]
- # id=status-terrain
- # ref=terrain-panel
- # font_size={DEFAULT_EDITOR_FONT_REALLYTINY}
- #font_size={DEFAULT_EDITOR_FONT_SMALL}
- #rect="=+115,=,=-24,="
- # rect="=+3,=+6,1024,+16"
- # xanchor=right
- # yanchor=fixed
- # [/terrain]
- [/status]
- [/resolution]
- ################################################# 1024x600 ############################################
- [partialresolution]
- id=1024x600
- inherits=1024x768
- width=1024
- height=600
- # some changes to the display to have stuff look better on 800x600
- # using a right pane with a smaller minimap to achieve this
- # use backgound with 40px less for minimap
- [change]
- id=top-right-panel
- image=themes/editor/classic/sidebar_minimap-small.png
- #ref=screen
- rect="843,0,1024,175"
- #xanchor=right
- #yanchor=fixed
- [/change]
- [change]
- id=mini-map
- rect="=+51,=+32,=-14,+131"
- [/change]
- [remove]
- id=map-zoom-slider
- [/remove]
- [change]
- id=zoom_default_button_editor
- rect="=-33,=+0,+25,+25"
- #rect="=+18,=+31,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=zoom_in_button_editor
- rect="=,+2,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=zoom_out_button_editor
- rect="=,+2,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=resize_button_editor
- rect="=,+2,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=flip_map_button_editor
- rect="=,+2,+25,+25"
- image=button_square/button_square_25
- [/change]
- ###############################
- [change]
- id=middle-right-panel
- image=themes/editor/classic/sidebar_tools-small.png
- #ref=top-right-panel
- rect="=,+0,=,+171"
- #xanchor=right
- #yanchor=fixed
- [/change]
- [change]
- id=tool-button1
- rect="=+14,=+6,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button2
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button3
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button4
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button5
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- ########
- [change]
- id=tool-button6
- rect="=+0,+1+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button7
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button8
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button9
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button10
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- ###################
- [remove]
- id=tool-button14
- #rect="+2,=,+25,+25"
- image=button_square/button_square_25
- [/remove]
- [remove]
- id=tool-button15
- #rect="+2,=,+25,+25"
- image=button_square/button_square_25
- [/remove]
- # [change]
- # id=tool-button15
- #id=utility-button2
- # rect="+2,=,+25,+25"
- # image=button_square/button_square_25
- # [/change]
- [change]
- id=tool-button16
- ref=tool-button6
- rect="=,+28,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button17
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button18
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button19
- #id=editor_brush_nw-se
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button20
- rect="+1,=,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button11
- ref=tool-button5
- rect="+4,=+1,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button12
- ref=tool-button11
- rect="=,+1,+25,+25"
- image=button_square/button_square_25
- [/change]
- [change]
- id=tool-button13
- #id=utility-button3
- ref=tool-button12
- rect="=,+1,+25,+25"
- image=button_square/button_square_25
- [/change]
- # [change]
- # id=top-right-panel
- # image=themes/rightside-editor-small.png
- # rect="+0,=+0,1024,+215"
- # [/change]
- # # reduce vertical size of minimap by 40px
- # [change]
- # id=mini-map
- # rect="=+10,=+7,=-7,+94"
- # [/change]
- # [change]
- # id=undo_button_editor
- # ref=flood_button_editor
- # [/change]
- [change]
- id=menu-editor-terrain
- #items=editor-palette-groups
- #type=turbo
- #title= _ "Group space"
- #image=button_square/button_square_30
- #image=editor/group/group_all
- #font_size=9
- rect="=-1,=-41,+30,+30"
- #xanchor=right
- #yanchor=fixed
- [/change]
- [change]
- id=menu-editor-flip-palette-selection
- #items=editor-terrain-palette-swap
- image=button_square/button_square_25
- #type=turbo
- rect="+39,=,+25,+25"
- #xanchor=right
- #yanchor=fixed
- [/change]
- [change]
- id=upscroll-button-editor
- # type=turbo
- # image=editor/button-25_base
- # image=uparrow-button
- # items=editor-palette-upscroll
- rect="+7,=+0,+25,+25"
- # xanchor=right
- # yanchor=fixed
- [/change]
- #[action]
- # type=turbo
- # id=downscroll-button-editor
- # #image=editor/button-25_base
- # image=downarrow-button
- # items=editor-palette-downscroll
- # rect="+7,=+0,+25,+25"
- # xanchor=right
- # yanchor=fixed
- #[/action]
- [change]
- id=palette
- rect="=+15,=-33,+250,+465"
- #xanchor=right
- #yanchor=top
- [/change]
- [/partialresolution]
- ########################################## 800x600 ###########################################
- [partialresolution]
- id=800x600
- inherits=1024x600
- width=800
- height=600
- [remove]
- #id=villages-panel
- # image=themes/status-bg.png
- # rect="+5,=+1,+71,+19"
- # xanchor=fixed
- # yanchor=fixed
- [/remove]
- [remove]
- id=villages-icon
- # icon=themes/villages.png
- # text= _ "villages"
- # ref=villages-panel
- # rect="=+5,=+1,+16,+16"
- # xanchor=fixed
- # yanchor=fixed
- [/remove]
- [remove]
- id=units-panel
- # image=themes/status-bg.png
- # ref=villages-panel
- # rect="+5,=,+71,+19"
- # xanchor=fixed
- # yanchor=fixed
- [/remove]
- [remove]
- id=units-icon
- # icon=themes/units.png
- # text= _ "units"
- # ref=units-panel
- # rect="=+5,=+1,+16,+16"
- # xanchor=fixed
- # yanchor=fixed
- [/remove]
- [remove]
- #TODO rename since we don't display turns, only sides
- id=turn-panel
- # ref=units-panel
- # image=themes/status-bg.png
- # rect="+5,=,+71,+19"
- # xanchor=fixed
- # yanchor=fixed
- [/remove]
- # [change]
- # id=status-terrain
- # #TODO
- # ref=terrain-panel
- # rect="+115,=,=-24,="
- # font_size={DEFAULT_EDITOR_FONT_TINY}
- # xanchor=left
- # yanchor=fixed
- # [/change]
- [/partialresolution]
- ########################################## 800x480 ###########################################
- [partialresolution]
- id=800x480
- inherits=800x600
- width=800
- height=480
- # [remove]
- # id=undo_button_editor
- # [/remove]
- # [remove]
- # id=redo_button_editor
- # [/remove]
- # [remove]
- # id=zoom_in_button_editor
- # [/remove]
- # [remove]
- # id=zoom_out_button_editor
- # [/remove]
- # [remove]
- # id=zoom_default_button_editor
- # [/remove]
- [/partialresolution]
- [/theme]
Advertisement
Add Comment
Please, Sign In to add comment