[theme]
name=null

[resolution]
width=1
height=1
[/resolution]
[/theme]

[theme]
name=editor
#textdomain wesnoth-editor

#ifdef APPLE
	[hotkey]
	command="zoomin"
	key="+"
	cmd=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="undo"
	key="u"
	cmd=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="redo"
	key="r"
	cmd=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="zoomout"
	key="-"
	cmd=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="zoomdefault"
	key="0"
	cmd=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="togglegrid"
	key="g"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="mousescroll"
	key="l"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editsavemap"
	key="s"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editsaveas"
	key="s"
	cmd=yes
	alt=yes
	shift=no
	[/hotkey]

	[hotkey]
	command="editquit"
	key="q"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editsetstartpos"
	key="t"
	cmd=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editnewmap"
	key="n"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editloadmap"
	key="l"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editfloodfill"
	key="f"
	cmd=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editfillselection"
	key="f"
	cmd=no
	alt=yes
	shift=no
	[/hotkey]

	[hotkey]
	command="editcut"
	key="x"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editcopy"
	key="c"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editpaste"
	key="v"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editrevert"
	key="r"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="preferences"
	key="p"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editresize"
	key="r"
	cmd=yes
	alt=yes
	shift=no
	[/hotkey]

	[hotkey]
	command="fullscreen"
	key="f"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editselectall"
	key="a"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editflip"
	key="f"
	cmd=yes
	alt=yes
	shift=no
	[/hotkey]

	[hotkey]
	command="editdraw"
	key="d"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editrefresh"
	key="e"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]
	
	[hotkey]
	command="editupdate"
	key="b"
	cmd=no
	alt=no
	shift=no
	[/hotkey]
	
	[hotkey]
	command="editautoupdate"
	key="t"
	cmd=yes
	alt=no
	shift=no
	[/hotkey]


	[hotkey]
	command="changelanguage"
	key="l"
	cmd=no
	alt=yes
	shift=no
	[/hotkey]

#else
	[hotkey]
	command="zoomin"
	key="+"
	ctrl=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="undo"
	key="u"
	ctrl=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="redo"
	key="r"
	ctrl=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="zoomout"
	key="-"
	ctrl=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="zoomdefault"
	key="0"
	ctrl=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="togglegrid"
	key="g"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="mousescroll"
	key="l"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editsavemap"
	key="s"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editsaveas"
	key="s"
	ctrl=yes
	alt=yes
	shift=no
	[/hotkey]

	[hotkey]
	command="editquit"
	key="q"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editsetstartpos"
	key="t"
	ctrl=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editnewmap"
	key="n"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editloadmap"
	key="l"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editfloodfill"
	key="f"
	ctrl=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editfillselection"
	key="f"
	ctrl=no
	alt=yes
	shift=no
	[/hotkey]

	[hotkey]
	command="editcut"
	key="x"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editcopy"
	key="c"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editpaste"
	key="v"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editrevert"
	key="r"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="preferences"
	key="p"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editresize"
	key="r"
	ctrl=yes
	alt=yes
	shift=no
	[/hotkey]

	[hotkey]
	command="fullscreen"
	key="f"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editselectall"
	key="a"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editflip"
	key="f"
	ctrl=yes
	alt=yes
	shift=no
	[/hotkey]

	[hotkey]
	command="editdraw"
	key="d"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editrefresh"
	key="e"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editupdate"
	key="b"
	ctrl=no
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="editautoupdate"
	key="t"
	ctrl=yes
	alt=no
	shift=no
	[/hotkey]

	[hotkey]
	command="changelanguage"
	key="l"
	ctrl=no
	alt=yes
	shift=no
	[/hotkey]
#endif


[resolution]
width=800
height=600

	[main_map]
	rect=0,26,882,768
	xanchor=left
	yanchor=top
	[/main_map]

	[menu]
	title=_"File"
	image=lite
	items=editnewmap,editloadmap,editsaveas,editsavemap,editrevert,editquit
	rect=3,1,103,22
	xanchor=fixed
	yanchor=fixed
	[/menu]

	[menu]
	title=_"Edit"
	image=lite
	items=undo,redo,editcut,editcopy,editpaste,editselectall,editfillselection,editresize,editflip,editrefresh,editupdate,
	rect=107,1,207,22
	[/menu]

	[menu]
	title=_"Settings"
	image=lite
	items=changelanguage,preferences,editautoupdate
	rect=211,1,311,22
	[/menu]

	# The toolbar.
	[menu]
	image=draw_button_editor
	items=editdraw
	rect=913,229,937,254
	xanchor=right
	yanchor=fixed
	[/menu]

	[menu]
	image=flood_button_editor
	items=editfloodfill
	rect=945,229,969,254
	xanchor=right
	yanchor=fixed
	[/menu]

	[menu]
	image=start_position_button_editor
	items=editsetstartpos
	rect=977,229,1001,254
	xanchor=right
	yanchor=fixed
	[/menu]

	[menu]
	image=resize_button_editor
	items=editresize
	rect=913,264,937,288
	xanchor=right
	yachnor=fixed
	[/menu]

	[menu]
	image=flip_map_button_editor
	items=editflip
	rect=945,264,969,288
	xanchor=right
	yachnor=fixed
	[/menu]

	[menu]
	image=undo_button_editor
	items=undo
	rect=957,304,981,328
	xanchor=right
	yachnor=fixed
	[/menu]

	[menu]
	image=redo_button_editor
	items=redo
	rect=985,304,1009,328
	xanchor=right
	yachnor=fixed
	[/menu]

	[menu]
	image=toggle_grid_button_editor
	items=togglegrid
	rect=977,264,1001,288
	xanchor=right
	yachnor=fixed
	[/menu]

	[menu]
	image=zoom_in_button_editor
	items=zoomin
	rect=900,304,924,328
	xanchor=right
	yachnor=fixed
	[/menu]

	[menu]
	image=zoom_out_button_editor
	items=zoomout
	rect=928,304,952,328
	xanchor=right
	yanchor=fixed
	[/menu]

	# top panel
	[panel]
	image=misc/top-bg.png
	rect=0,0,1024,26
	xanchor=top
	yanchor=fixed
	[/panel]

	[panel]
	image=misc/rightside-bg.png
	rect=882,359,1024,722
	xanchor=right
	yanchor=top
	[/panel]

	[panel]
	image=misc/rightside-bottom.png
	rect=882,722,1024,768
	xanchor=right
	yanchor=bottom
	[/panel]

	[panel]
	image=misc/rightside-editor.png
	rect=882,25,1024,359
	xanchor=right
	yanchor=fixed
	[/panel]

	[mini_map]
	rect=892,32,1017,175
	xanchor=right
	yanchor=fixed
	[/mini_map]

	[status]
		[terrain]
		font_size=12
		rect=820,4,920,20
		xanchor=proportional
		yanchor=fixed
		[/terrain]

		[position]
		font_size=12
		rect=925,4,1020,20
		xanchor=proportional
		yanchor=fixed
		[/position]

		[edit_left_button_function]
		font_size=10
		rect=900,330,1024,345
		xanchor=right
		yanchor=fixed
		[/edit_left_button_function]

		[selected_terrain]
		font_size=10
		rect=890,730,1024,20
		xanchor=right
		yanchor=bottom
		[/selected_terrain]

	[/status]

[/resolution]
[/theme]

