Remove Unit Box and Widescreen themes
[ci skip] These were half-baked and mostly badly-designed. The Unit Box theme was never finished, is completely broken, and if we were to do a major theme refresh we'd probably go in another direction. The Widescreen theme was a legacy experiment that was never adopted and as of now is basically alsp completely broken.
This commit is contained in:
parent
86163094ee
commit
5c7f58c9a6
2 changed files with 0 additions and 1651 deletions
|
@ -1,846 +0,0 @@
|
|||
#textdomain wesnoth
|
||||
|
||||
# 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]
|
||||
id=UnitBox
|
||||
name= _ "theme^UnitBox"
|
||||
description= _ "An experimental work-in-progress replacement for the default theme"
|
||||
|
||||
#define DEFAULT_FONT_NORMAL
|
||||
14 #enddef
|
||||
#define DEFAULT_FONT_SMALL
|
||||
12 #enddef
|
||||
#define DEFAULT_FONT_TINY
|
||||
10 #enddef
|
||||
#define DEFAULT_FONT_REALLYTINY
|
||||
9 #enddef
|
||||
|
||||
[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]
|
||||
|
||||
[panel]
|
||||
id=top-panel
|
||||
image=themes/editor/classic/menubar-800.png
|
||||
ref=screen
|
||||
rect="=,=,=,+27"
|
||||
xanchor=top
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
[main_map]
|
||||
id=main-map
|
||||
rect="=,+0,+843,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.png"
|
||||
corner_image_bottom_left = "terrain/off-map/fade_corner_bottom_left.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.png"
|
||||
corner_image_top_right_even = "terrain/off-map/fade_corner_top_right_even.png"
|
||||
|
||||
corner_image_bottom_right_odd = "terrain/off-map/fade_corner_bottom_right_odd.png"
|
||||
corner_image_bottom_right_even = "terrain/off-map/fade_corner_bottom_right_even.png"
|
||||
|
||||
border_image_left = "terrain/off-map/fade_border_left.png"
|
||||
border_image_right = "terrain/off-map/fade_border_right.png"
|
||||
|
||||
border_image_top_odd = "terrain/off-map/fade_border_top_odd.png"
|
||||
border_image_top_even = "terrain/off-map/fade_border_top_even.png"
|
||||
|
||||
border_image_bottom_odd = "terrain/off-map/fade_border_bottom_odd.png"
|
||||
border_image_bottom_even = "terrain/off-map/fade_border_bottom_even.png"
|
||||
[/main_map_border]
|
||||
|
||||
# rightside panel
|
||||
[panel]
|
||||
id=sidebar-panel
|
||||
ref=screen
|
||||
rect="843,0,1024,768"
|
||||
image=themes/editor/classic/sidebar_borderless.png
|
||||
#rect="+0,=+0,1024,768"
|
||||
xanchor=right
|
||||
yanchor=top
|
||||
[/panel]
|
||||
# [panel]
|
||||
# id=middle-right-panel
|
||||
# image=themes/rightside-bg.png
|
||||
# rect="=,+0,=,+421"
|
||||
# xanchor=right
|
||||
# yanchor=top
|
||||
# [/panel]
|
||||
# [panel]
|
||||
# id=bottom-right-panel
|
||||
# image=themes/rightside-bottom.png
|
||||
# rect="=,+0,=,768"
|
||||
# xanchor=right
|
||||
# yanchor=bottom
|
||||
# [/panel]
|
||||
|
||||
[menu]
|
||||
id=menu-main
|
||||
title= _ "Menu"
|
||||
image=button_menu/menu_button_copper_H20
|
||||
items=objectives,statistics,unitlist,statustable,save,savereplay,savemap,load,preferences,chatlog,AUTOSAVES,help,stopnetwork,startnetwork,quit,quit-to-desktop
|
||||
ref=top-panel
|
||||
rect="=+3,=+1,+100,=-4"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/menu]
|
||||
|
||||
[menu]
|
||||
id=actions-menu
|
||||
title= _ "Actions"
|
||||
image=button_menu/menu_button_copper_H20
|
||||
items=undo,redo,wbexecuteallactions,wbexecuteaction,wbdeleteaction,cycle,speak,recruit,recall,showenemymoves,bestenemymoves,wbtoggle,delayshroud,updateshroud,label_settings,endturn
|
||||
rect="+2,=,+100,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/menu]
|
||||
|
||||
[menu]
|
||||
is_context_menu=true
|
||||
items=wml,undo,redo,wbexecuteaction,wbdeleteaction,wbbumpupaction,wbbumpdownaction,wbsupposedead,describeunit,renameunit,createunit,changeside,killunit,labelteamterrain,labelterrain,clearlabels,speak,continue,recruit,recall,wbtoggle,delayshroud,updateshroud,cycle,endturn
|
||||
[/menu]
|
||||
|
||||
[panel]
|
||||
id=minimap-panel
|
||||
image=themes/classic/minimap.png
|
||||
#ref=screen
|
||||
#ref=top-panel
|
||||
rect="843,=+30,+181,+190"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
# [panel]
|
||||
# id=middle-right-panel
|
||||
# image=themes/rightside-bg.png
|
||||
# rect="=,+0,=,+421"
|
||||
# xanchor=right
|
||||
# yanchor=top
|
||||
|
||||
# [/panel]
|
||||
|
||||
[mini_map]
|
||||
id=mini-map
|
||||
#ref=top-right-panel
|
||||
rect="=+51,=+9,=-14,+158"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/mini_map]
|
||||
|
||||
[action]
|
||||
id=zoom_default_button_editor
|
||||
items=zoomdefault
|
||||
type=checkbox
|
||||
image=button_square/button_square_25
|
||||
auto_tooltip=yes
|
||||
rect="=-33,=-1,+25,+25"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/action]
|
||||
[action]
|
||||
id=zoom_in_button_editor
|
||||
items=zoomin
|
||||
type=turbo
|
||||
image=button_square/button_square_25
|
||||
auto_tooltip=yes
|
||||
rect="=,+2,+25,+25"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/action]
|
||||
[action]
|
||||
id=zoom_out_button_editor
|
||||
items=zoomout
|
||||
type=turbo
|
||||
image=button_square/button_square_25
|
||||
auto_tooltip=yes
|
||||
rect="=,+2,+25,+25"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/action]
|
||||
[action]
|
||||
id=minimap_unit_coding
|
||||
items=minimap-unit-coding
|
||||
type=checkbox
|
||||
image=button_square/button_square_25
|
||||
tooltip_name_prepend=yes
|
||||
rect="=,+2,+25,+25"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/action]
|
||||
[action]
|
||||
id=minimap_terrain_coding
|
||||
type=checkbox
|
||||
image=button_square/button_square_25
|
||||
items=minimap-terrain-coding
|
||||
tooltip_name_prepend=yes
|
||||
rect="=,+2,+25,+25"
|
||||
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]
|
||||
|
||||
[panel]
|
||||
id=endturn-panel
|
||||
image=themes/game/classic/endturn.png
|
||||
ref=minimap-panel
|
||||
#ref=top-panel
|
||||
rect="843,+3,+181,+75"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
[action]
|
||||
id=endturn1
|
||||
image=button_square/button_square_30
|
||||
ref=endturn-panel
|
||||
items=cycle
|
||||
rect="=+17,=+32,+30,+30"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/action]
|
||||
|
||||
[action]
|
||||
id=endturn2
|
||||
image=button_square/button_square_30
|
||||
items=cycleback
|
||||
rect="+0,=,+30,+30"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/action]
|
||||
|
||||
[action]
|
||||
id=endturn3
|
||||
image=button_square/button_square_30
|
||||
items=holdposition
|
||||
rect="+0,=,+30,+30"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/action]
|
||||
|
||||
[action]
|
||||
id=endturn4
|
||||
image=button_square/button_square_30
|
||||
items=endunitturn
|
||||
rect="+0,=,+30,+30"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/action]
|
||||
|
||||
[action]
|
||||
id=endturn5
|
||||
image=button_square/button_square_30
|
||||
items=endunitturn
|
||||
rect="+0,=,+30,+30"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/action]
|
||||
|
||||
[panel]
|
||||
id=unitinfo-top-panel
|
||||
image=themes/game/classic/unitinfo_top.png
|
||||
ref=endturn-panel
|
||||
rect="843,+3,+181,+170"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
[panel]
|
||||
id=unitinfo-panel
|
||||
image=themes/game/classic/unitinfo.png
|
||||
ref=unitinfo-top-panel
|
||||
rect="843,+0,+181,+250"
|
||||
xanchor=right
|
||||
yanchor=top
|
||||
[/panel]
|
||||
|
||||
[panel]
|
||||
id=unitinfo-panel-bottom
|
||||
image=themes/game/classic/unitinfo_bottom.png
|
||||
ref=unitinfo-panel
|
||||
rect="843,+0,+181,+13"
|
||||
xanchor=right
|
||||
yanchor=bottom
|
||||
[/panel]
|
||||
|
||||
# [mini_map]
|
||||
# id=mini-map
|
||||
# ref=top-right-panel
|
||||
# rect="=+10,=+7,=-7,+143"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/mini_map]
|
||||
|
||||
[action]
|
||||
id=button-endturn
|
||||
image=large-button
|
||||
title= _ "End Turn"
|
||||
title2= _ "End Scenario"
|
||||
items=endturn
|
||||
ref=sidebar-panel
|
||||
rect="=+37,-30,+80,+20"
|
||||
xanchor=right
|
||||
yanchor=bottom
|
||||
[/action]
|
||||
|
||||
[panel]
|
||||
id=turn-panel
|
||||
image=themes/unit_box/status-bg.png
|
||||
ref=actions-menu
|
||||
rect="+5,=+1,+80,+19"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=gold-panel
|
||||
image=themes/unit_box/status-bg.png
|
||||
rect="+5,=,+76,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=villages-panel
|
||||
image=themes/unit_box/status-bg.png
|
||||
rect="+5,=,+71,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=units-panel
|
||||
image=themes/unit_box/status-bg.png
|
||||
rect="+5,=,+71,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=upkeep-panel
|
||||
image=themes/unit_box/status-bg.png
|
||||
rect="+5,=,+90,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=income-panel
|
||||
image=themes/unit_box/status-bg.png
|
||||
rect="+5,=,+85,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
{COUNTDOWN_THEME}
|
||||
|
||||
# HP/XP/MP/lvl
|
||||
[label]
|
||||
id=label-hp
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
text= _ "HP"
|
||||
ref=unitinfo-top-panel
|
||||
#ref=unit_box-panel
|
||||
rect="=+80,=+169,+54,+12"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=label-xp
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
text= _ "XP"
|
||||
# FIXME: should be ref=unit-hp
|
||||
rect="=,+4,=,+12"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=label-mp
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
text= _ "MP"
|
||||
# FIXME: should be ref=unit-hp
|
||||
rect="=,+4,=,+12"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
|
||||
[label]
|
||||
id=gold-icon
|
||||
icon=themes/gold.png
|
||||
text= _ "gold"
|
||||
ref=gold-panel
|
||||
rect="=+5,=+1,+17,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=villages-icon
|
||||
icon=themes/villages.png
|
||||
text= _ "villages"
|
||||
ref=villages-panel
|
||||
rect="=+5,=+1,+17,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=units-icon
|
||||
icon=themes/units.png
|
||||
text= _ "units"
|
||||
ref=units-panel
|
||||
rect="=+5,=+1,+17,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=upkeep-icon
|
||||
icon=themes/upkeep.png
|
||||
text= _ "upkeep"
|
||||
ref=upkeep-panel
|
||||
rect="=+5,=+1,+25,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=income-icon
|
||||
icon=themes/income.png
|
||||
text= _ "income"
|
||||
ref=income-panel
|
||||
rect="=+5,=+1,+25,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
|
||||
[status]
|
||||
# the time of day image
|
||||
[unit_box]
|
||||
id=image-tod
|
||||
ref=unitinfo-top-panel
|
||||
rect="=+16,=+14,+154,+94"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_box]
|
||||
|
||||
[terrain_info]
|
||||
id=status-terrain
|
||||
ref=unitinfo-top-panel
|
||||
rect="=+20,-42,+70,+16"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/terrain_info]
|
||||
|
||||
#put the side playing indicator next to the turn indicator
|
||||
[side_playing]
|
||||
id=icon-sideplaying
|
||||
ref=turn-panel
|
||||
rect="=+3,=+2,+25,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/side_playing]
|
||||
|
||||
# the game status
|
||||
[turn]
|
||||
id=turn
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="+4,=,+55,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
prefix="" #wmllint: ignore
|
||||
prefix_literal=""
|
||||
[/turn]
|
||||
[gold]
|
||||
id=gold
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=gold-icon
|
||||
rect="+4,=,+55,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
prefix="" #wmllint: ignore
|
||||
prefix_literal=""
|
||||
[/gold]
|
||||
[villages]
|
||||
id=villages
|
||||
font_size={DEFAULT_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_FONT_SMALL}
|
||||
ref=units-icon
|
||||
rect="+4,=,+55,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
prefix="" #wmllint: ignore
|
||||
prefix_literal=""
|
||||
[/num_units]
|
||||
[upkeep]
|
||||
id=status-upkeep
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=upkeep-icon
|
||||
rect="+4,=,+50,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
prefix="" #wmllint: ignore
|
||||
prefix_literal=""
|
||||
[/upkeep]
|
||||
[income]
|
||||
id=status-income
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=income-icon
|
||||
rect="+4,=,+60,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
prefix="" #wmllint: ignore
|
||||
prefix_literal=""
|
||||
[/income]
|
||||
|
||||
{COUNTDOWN_THEME_STATUS {DEFAULT_FONT_SMALL}}
|
||||
|
||||
# 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.
|
||||
[panel]
|
||||
id=terrain-panel
|
||||
rect="+0,=,1024,="
|
||||
xanchor=left
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
# 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_FONT_SMALL}
|
||||
ref=terrain-panel
|
||||
rect="=+15,=,+95,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/position]
|
||||
[terrain]
|
||||
id=status-terrain
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=terrain-panel
|
||||
rect="=+115,=,=-24,="
|
||||
xanchor=left
|
||||
yanchor=fixed
|
||||
[/terrain]
|
||||
[observers]
|
||||
id=observers
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="+4,=,+16,+16"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/observers]
|
||||
|
||||
#unit stats here
|
||||
# [unit_image]
|
||||
# id=unit-image
|
||||
# ref=top-right-panel
|
||||
# rect="=+9,=+215,+72,+72"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_image]
|
||||
# [unit_name]
|
||||
# id=unit-description
|
||||
# font_size={DEFAULT_FONT_NORMAL}
|
||||
# ref=label-xp
|
||||
# rect="=+9,=+45,+180,+18"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_name]
|
||||
# [unit_type]
|
||||
# id=unit-type
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# rect="=,+0,=,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_type]
|
||||
# [unit_race]
|
||||
# id=unit-race
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# rect="=,+0,=,+16"
|
||||
# prefix= " "
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_race]
|
||||
# [unit_level]
|
||||
# id=unit-level
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# rect="=,+0,=,+16"
|
||||
# prefix= _ "statuspanel^level"
|
||||
# prefix_literal=" "
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_level]
|
||||
# [unit_alignment]
|
||||
# id=unit-alignment
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# rect="=,+0,=,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_alignment]
|
||||
# [unit_traits]
|
||||
# id=unit-traits
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# rect="=,+0,=,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_traits]
|
||||
# [unit_abilities]
|
||||
# id=unit-abilities
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# rect="=,+0,=,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_abilities]
|
||||
[unit_moves]
|
||||
id=unit-moves
|
||||
ref=label-mp
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=-60,=+0,=+2,+16"
|
||||
#prefix= _ "statuspanel^moves"
|
||||
#prefix_literal=": "
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_moves]
|
||||
# [unit_defense]
|
||||
# id=unit-defense
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# rect="=,+0,=,+16"
|
||||
# prefix= _ "statuspanel^terrain def."
|
||||
# prefix_literal=": "
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_defense]
|
||||
[unit_vision]
|
||||
id=unit-vision
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=+2,+16"
|
||||
#prefix= _ "statuspanel^vision"
|
||||
#prefix_literal=": "
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_vision]
|
||||
[unit_hp]
|
||||
id=unit-hp
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=label-hp
|
||||
rect="=-60,=+0,+54,+14"
|
||||
#prefix=hp
|
||||
#prefix_literal=" "
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_hp]
|
||||
[unit_xp]
|
||||
id=unit-xp
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=label-xp
|
||||
rect="=-60,=+0,+54,+14"
|
||||
#prefix=xp
|
||||
#prefix_literal=" "
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_xp]
|
||||
#current position not usable, overlays with the status indication (like slow)
|
||||
#please find a better place (yes, I know that this is barely possible...)
|
||||
# [unit_side]
|
||||
# id=unit-side
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# ref=unit-xp
|
||||
# rect="=,+0,=,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_side]
|
||||
[unit_weapons]
|
||||
id=unit-weapons
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=unit-vision
|
||||
rect="=+0,+0,=,730"
|
||||
xanchor=right
|
||||
yanchor=top
|
||||
[/unit_weapons]
|
||||
# [unit_status]
|
||||
# id=unit-status
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# ref=unit-xp
|
||||
# rect="=+1,+3,=,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_status]
|
||||
[/status]
|
||||
|
||||
{REPLAY_THEME {DEFAULT_FONT_SMALL}}
|
||||
[/resolution]
|
||||
|
||||
# [partialresolution]
|
||||
# id=1024x600
|
||||
# inherits=1024x768
|
||||
# width=1024
|
||||
# height=600
|
||||
|
||||
# # use right pane with a 40px smaller minimap
|
||||
# [change]
|
||||
# id=top-right-panel
|
||||
# image=themes/rightside-small.png
|
||||
# rect="+0,=+0,1024,+244"
|
||||
# [/change]
|
||||
# # increase size in middle panel since minimap is 40px smaller
|
||||
# # give it additional 10px and move the end-turn button down
|
||||
# [change]
|
||||
# id=middle-right-panel
|
||||
# rect="=,+0,=,+471"
|
||||
# [/change]
|
||||
# # reduce vertical size of minimap by 40px
|
||||
# [change]
|
||||
# id=mini-map
|
||||
# rect="=+10,=+7,=-7,+103"
|
||||
# [/change]
|
||||
# # shift tod image up by 40px rel to 768px
|
||||
# [change]
|
||||
# id=image-tod
|
||||
# rect="=+10,=+119,=-7,+39"
|
||||
# [/change]
|
||||
# # fixing this one fixes HP/XP/unit status
|
||||
# [change]
|
||||
# id=label-hp
|
||||
# font_size={DEFAULT_FONT_TINY}
|
||||
# rect="=+84,=+169,+54,+12"
|
||||
# [/change]
|
||||
# # shift unit image up by 40px rel to 768px
|
||||
# [change]
|
||||
# id=unit-image
|
||||
# rect="=+9,=+175,+72,+72"
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=button-endturn
|
||||
# image=button
|
||||
# rect="=+17,=+3,+80,+20"
|
||||
# [/change]
|
||||
# # adjust allowed heigth for displaying weapon stuff
|
||||
# [change]
|
||||
# id=unit-weapons
|
||||
# ref=unit-defense
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# rect="=+0,+0,=,738"
|
||||
# [/change]
|
||||
# [/partialresolution]
|
||||
|
||||
# [partialresolution]
|
||||
# id=800x600
|
||||
# inherits=1024x600
|
||||
# width=800
|
||||
# height=600
|
||||
|
||||
# # fix top pane at 800x600
|
||||
# [change]
|
||||
# id=turn-panel
|
||||
# rect="+5,=+1,+80,+19"
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=gold-panel
|
||||
# rect="+5,=,+66,="
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=villages-panel
|
||||
# rect="+5,=,+61,="
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=units-panel
|
||||
# rect="+5,=,+55,="
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=upkeep-panel
|
||||
# rect="+5,=,+80,="
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=income-panel
|
||||
# rect="+5,=,+55,="
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=turn
|
||||
# rect="+4,=,+55,+16"
|
||||
# font_size={DEFAULT_FONT_TINY}
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=gold
|
||||
# rect="+4,=,+45,+16"
|
||||
# font_size={DEFAULT_FONT_TINY}
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=villages
|
||||
# rect="+4,=,+45,+16"
|
||||
# font_size={DEFAULT_FONT_TINY}
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=num-units
|
||||
# rect="+4,=,+45,+16"
|
||||
# font_size={DEFAULT_FONT_TINY}
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=status-upkeep
|
||||
# rect="+4,=,+40,+16"
|
||||
# font_size={DEFAULT_FONT_TINY}
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=status-income
|
||||
# rect="+4,=,+50,+16"
|
||||
# font_size={DEFAULT_FONT_TINY}
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=timeout-panel
|
||||
# rect="+5,=,+75,="
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=report_timeout
|
||||
# font_size={DEFAULT_FONT_TINY}
|
||||
# rect="+0,=,+55,+20"
|
||||
# [/change]
|
||||
# [change]
|
||||
# id=status-position
|
||||
# rect="=+5,=,+80,="
|
||||
# font_size={DEFAULT_FONT_TINY}
|
||||
# [/change]
|
||||
# [/partialresolution]
|
||||
[/theme]
|
||||
|
||||
#undef DEFAULT_FONT_NORMAL
|
||||
#undef DEFAULT_FONT_SMALL
|
||||
#undef DEFAULT_FONT_TINY
|
||||
#undef DEFAULT_FONT_REALLYTINY
|
|
@ -1,805 +0,0 @@
|
|||
#textdomain wesnoth
|
||||
|
||||
# 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
|
||||
|
||||
#define DEFAULT_FONT_NORMAL
|
||||
17#enddef
|
||||
#define DEFAULT_FONT_SMALL
|
||||
15#enddef
|
||||
#define DEFAULT_FONT_TINY
|
||||
13#enddef
|
||||
#define DEFAULT_FONT_REALLYTINY
|
||||
11#enddef
|
||||
|
||||
[theme]
|
||||
id=Widescreen
|
||||
name= _ "theme^Widescreen"
|
||||
description= _ "An experimental theme optimized for widescreen resolutions"
|
||||
|
||||
[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]
|
||||
|
||||
[panel]
|
||||
id=top-panel
|
||||
image=themes/classic/menubar.png
|
||||
ref=screen
|
||||
rect="=,=,=,+27"
|
||||
xanchor=top
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
# leftside panel
|
||||
[panel]
|
||||
ref=top-panel
|
||||
id=top-left-panel
|
||||
image=themes/classic/sidebar.png
|
||||
rect="0,+0,142,+284"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=middle-left-panel
|
||||
image=themes/classic/sidebar.png
|
||||
rect="0,+0,=,+421"
|
||||
xanchor=fixed
|
||||
yanchor=top
|
||||
[/panel]
|
||||
[panel]
|
||||
id=bottom-left-panel
|
||||
image=themes/classic/sidebar.png
|
||||
rect="=,+0,=,768"
|
||||
xanchor=fixed
|
||||
yanchor=bottom
|
||||
[/panel]
|
||||
|
||||
[main_map]
|
||||
id=main-map
|
||||
ref=top-panel
|
||||
rect="142,+0,+690,768"
|
||||
xanchor=left
|
||||
yanchor=top
|
||||
[/main_map]
|
||||
|
||||
{MAIN_MAP_BORDER}
|
||||
|
||||
# rightside panel
|
||||
[panel]
|
||||
id=right-panel
|
||||
image=themes/classic/sidebar.png
|
||||
rect="+0,0,1024,768"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
{MINIMAP_THEME}
|
||||
|
||||
[menu]
|
||||
id=menu-main
|
||||
title= _ "Menu"
|
||||
image=button_menu/menu_button_copper_H20
|
||||
items=objectives,statistics,unitlist,statustable,save,savereplay,savemap,load,preferences,chatlog,AUTOSAVES,help,stopnetwork,startnetwork,quit,quit-to-desktop
|
||||
ref=top-panel
|
||||
rect="=+3,=+1,+100,=-4"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/menu]
|
||||
|
||||
[menu]
|
||||
id=actions-menu
|
||||
title= _ "Actions"
|
||||
image=button_menu/menu_button_copper_H20
|
||||
items=undo,redo,wbexecuteallactions,wbexecuteaction,wbdeleteaction,cycle,speak,recruit,recall,showenemymoves,bestenemymoves,wbtoggle,delayshroud,updateshroud,label_settings,endturn
|
||||
rect="+2,=,+100,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/menu]
|
||||
|
||||
[menu]
|
||||
is_context_menu=true
|
||||
items=wml,undo,redo,wbexecuteaction,wbdeleteaction,wbbumpupaction,wbbumpdownaction,wbsupposedead,describeunit,renameunit,createunit,changeside,killunit,labelteamterrain,labelterrain,clearlabels,speak,continue,recruit,recall,wbtoggle,delayshroud,updateshroud,cycle,endturn
|
||||
[/menu]
|
||||
|
||||
[menu]
|
||||
id=button-endturn
|
||||
title= _ "End Turn"
|
||||
title2= _ "End Scenario"
|
||||
items=endturn
|
||||
ref=right-panel
|
||||
rect="=+17,=+693,+80,+20"
|
||||
xanchor=right
|
||||
yanchor=bottom
|
||||
[/menu]
|
||||
|
||||
[panel]
|
||||
id=turn-panel
|
||||
ref=actions-menu
|
||||
rect="+5,=+1,+80,+19"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=gold-panel
|
||||
rect="+5,=,+76,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=villages-panel
|
||||
rect="+5,=,+71,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=units-panel
|
||||
rect="+5,=,+71,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=upkeep-panel
|
||||
rect="+5,=,+90,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=income-panel
|
||||
rect="+5,=,+85,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
{COUNTDOWN_THEME}
|
||||
|
||||
# HP/XP
|
||||
[label]
|
||||
id=selected-label-hp
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
text= _ "HP"
|
||||
ref=top-left-panel
|
||||
rect="=+4,=+209,+54,+12"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=selected-label-xp
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
text= _ "XP"
|
||||
# FIXME: should be ref=unit-hp
|
||||
rect="=,+14,=,+12"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
|
||||
# HP/XP
|
||||
[label]
|
||||
id=label-hp
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
text= _ "HP"
|
||||
ref=right-panel
|
||||
rect="=+84,=+474,+54,+12"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=label-xp
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
text= _ "XP"
|
||||
# FIXME: should be ref=unit-hp
|
||||
rect="=,+14,=,+12"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
|
||||
[label]
|
||||
id=gold-icon
|
||||
icon=themes/gold.png
|
||||
text= _ "gold"
|
||||
ref=gold-panel
|
||||
rect="=+5,=+1,+17,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=villages-icon
|
||||
icon=themes/villages.png
|
||||
text= _ "villages"
|
||||
ref=villages-panel
|
||||
rect="=+5,=+1,+17,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=units-icon
|
||||
icon=themes/units.png
|
||||
text= _ "units"
|
||||
ref=units-panel
|
||||
rect="=+5,=+1,+17,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=upkeep-icon
|
||||
icon=themes/upkeep.png
|
||||
text= _ "upkeep"
|
||||
ref=upkeep-panel
|
||||
rect="=+5,=+1,+25,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
[label]
|
||||
id=income-icon
|
||||
icon=themes/income.png
|
||||
text= _ "income"
|
||||
ref=income-panel
|
||||
rect="=+5,=+1,+25,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
|
||||
[status]
|
||||
# the time of day image
|
||||
[time_of_day]
|
||||
id=image-tod
|
||||
ref=right-panel
|
||||
rect="=+10,=+424,=-7,+39"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/time_of_day]
|
||||
|
||||
[selected_time_of_day]
|
||||
id=selected-image-tod
|
||||
ref=top-left-panel
|
||||
rect="=+7,=+159,=-7,+39"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_time_of_day]
|
||||
|
||||
#put the side playing indicator next to the turn indicator
|
||||
[side_playing]
|
||||
id=icon-sideplaying
|
||||
ref=turn-panel
|
||||
rect="=+3,=+2,+25,+17"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/side_playing]
|
||||
|
||||
# the game status
|
||||
[turn]
|
||||
id=turn
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="+4,=,+55,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
prefix="" #wmllint: ignore
|
||||
prefix_literal=""
|
||||
[/turn]
|
||||
[gold]
|
||||
id=gold
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=gold-icon
|
||||
rect="+4,=,+55,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
prefix="" #wmllint: ignore
|
||||
prefix_literal=""
|
||||
[/gold]
|
||||
[villages]
|
||||
id=villages
|
||||
font_size={DEFAULT_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_FONT_SMALL}
|
||||
ref=units-icon
|
||||
rect="+4,=,+55,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
prefix="" #wmllint: ignore
|
||||
prefix_literal=""
|
||||
[/num_units]
|
||||
[upkeep]
|
||||
id=status-upkeep
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=upkeep-icon
|
||||
rect="+4,=,+50,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
prefix="" #wmllint: ignore
|
||||
prefix_literal=""
|
||||
[/upkeep]
|
||||
[income]
|
||||
id=status-income
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=income-icon
|
||||
rect="+4,=,+60,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
prefix="" #wmllint: ignore
|
||||
prefix_literal=""
|
||||
[/income]
|
||||
|
||||
{COUNTDOWN_THEME_STATUS {DEFAULT_FONT_SMALL}}
|
||||
|
||||
# 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.
|
||||
[panel]
|
||||
id=terrain-panel
|
||||
rect="+0,=,1024,="
|
||||
xanchor=left
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
# 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_FONT_SMALL}
|
||||
ref=terrain-panel
|
||||
rect="=+15,=,+95,="
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/position]
|
||||
[terrain]
|
||||
id=status-terrain
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=terrain-panel
|
||||
rect="=+115,=,=-24,="
|
||||
xanchor=left
|
||||
yanchor=fixed
|
||||
[/terrain]
|
||||
[observers]
|
||||
id=observers
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="+4,=,+16,+16"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/observers]
|
||||
|
||||
#left unit stats here
|
||||
[selected_unit_profile]
|
||||
id=selected-unit-profile
|
||||
ref=top-left-panel
|
||||
rect="=+6,=+26,+125,+125"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_profile]
|
||||
|
||||
[selected_unit_image]
|
||||
id=selected-unit-image
|
||||
ref=top-left-panel
|
||||
rect="=+65,=+215,+72,+72"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_image]
|
||||
[selected_unit_name]
|
||||
id=selected-unit-description
|
||||
font_size={DEFAULT_FONT_NORMAL}
|
||||
ref=middle-left-panel
|
||||
rect="=+5,=+3,=-2,+18"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_name]
|
||||
|
||||
[selected_unit_type]
|
||||
id=selected-unit-type
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_type]
|
||||
[selected_unit_race]
|
||||
id=selected-unit-race
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
prefix= " "
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_race]
|
||||
[selected_unit_level]
|
||||
id=selected-unit-level
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
prefix= _ "statuspanel^level"
|
||||
prefix_literal=" "
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_level]
|
||||
[selected_unit_alignment]
|
||||
id=selected-unit-alignment
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_alignment]
|
||||
[selected_unit_traits]
|
||||
id=unit-traits
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_traits]
|
||||
[selected_unit_abilities]
|
||||
id=selected-unit-abilities
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_abilities]
|
||||
[selected_unit_moves]
|
||||
id=selected-unit-moves
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=+2,+16"
|
||||
prefix= _ "statuspanel^moves"
|
||||
prefix_literal=": "
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_moves]
|
||||
[selected_unit_defense]
|
||||
id=selected-unit-defense
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
prefix= _ "statuspanel^terrain def."
|
||||
prefix_literal=": "
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_defense]
|
||||
[selected_unit_hp]
|
||||
id=selected-unit-hp
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=selected-label-hp
|
||||
rect="=,+0,+54,+14"
|
||||
#prefix=hp
|
||||
#prefix_literal=" "
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_hp]
|
||||
[selected_unit_xp]
|
||||
id=selected-unit-xp
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=selected-label-xp
|
||||
rect="=,+0,+54,+14"
|
||||
#prefix=xp
|
||||
#prefix_literal=" "
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_xp]
|
||||
# current position not usable, overlays with the status indication (like slow)
|
||||
# please find a better place (yes, I know that this is barely possible...)
|
||||
# [unit_side]
|
||||
# id=unit-side
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# ref=unit-xp
|
||||
# rect="=,+0,=,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_side]
|
||||
[selected_unit_weapons]
|
||||
id=selected-unit-weapons
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=selected-unit-defense
|
||||
rect="=+0,+0,=,730"
|
||||
xanchor=fixed
|
||||
yanchor=top
|
||||
[/selected_unit_weapons]
|
||||
[selected_unit_status]
|
||||
id=selected-unit-status
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=selected-unit-xp
|
||||
rect="=+1,+3,=,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/selected_unit_status]
|
||||
|
||||
#unit stats here
|
||||
[unit_image]
|
||||
id=unit-image
|
||||
ref=right-panel
|
||||
rect="=+9,=+480,+72,+72"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_image]
|
||||
[unit_name]
|
||||
id=unit-description
|
||||
font_size={DEFAULT_FONT_NORMAL}
|
||||
ref=right-panel
|
||||
rect="=+9,=+268,=-2,+18"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_name]
|
||||
[unit_type]
|
||||
id=unit-type
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_type]
|
||||
[unit_race]
|
||||
id=unit-race
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
prefix= " "
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_race]
|
||||
[unit_level]
|
||||
id=unit-level
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
prefix= _ "statuspanel^level"
|
||||
prefix_literal=" "
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_level]
|
||||
[unit_alignment]
|
||||
id=unit-alignment
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_alignment]
|
||||
[unit_traits]
|
||||
id=unit-traits
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_traits]
|
||||
[unit_abilities]
|
||||
id=unit-abilities
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_abilities]
|
||||
[unit_moves]
|
||||
id=unit-moves
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=+2,+16"
|
||||
prefix= _ "statuspanel^moves"
|
||||
prefix_literal=": "
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_moves]
|
||||
[unit_defense]
|
||||
id=unit-defense
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=,+0,=,+16"
|
||||
prefix= _ "statuspanel^terrain def."
|
||||
prefix_literal=": "
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_defense]
|
||||
[unit_hp]
|
||||
id=unit-hp
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=label-hp
|
||||
rect="=,+0,+54,+14"
|
||||
#prefix=hp
|
||||
#prefix_literal=" "
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_hp]
|
||||
[unit_xp]
|
||||
id=unit-xp
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=label-xp
|
||||
rect="=,+0,+54,+14"
|
||||
#prefix=xp
|
||||
#prefix_literal=" "
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_xp]
|
||||
# current position not usable, overlays with the status indication (like slow)
|
||||
# please find a better place (yes, I know that this is barely possible...)
|
||||
# [unit_side]
|
||||
# id=unit-side
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# ref=unit-xp
|
||||
# rect="=,+0,=,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_side]
|
||||
[highlighted_unit_weapons]
|
||||
id=unit-weapons
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=unit-defense
|
||||
rect="=+0,+0,=,730"
|
||||
xanchor=right
|
||||
yanchor=top
|
||||
[/highlighted_unit_weapons]
|
||||
[unit_status]
|
||||
id=unit-status
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
ref=unit-xp
|
||||
rect="=+1,+3,=,+16"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_status]
|
||||
[/status]
|
||||
|
||||
{REPLAY_THEME {DEFAULT_FONT_SMALL}}
|
||||
[/resolution]
|
||||
|
||||
[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=right-panel
|
||||
image=themes/classic/sidebar.png
|
||||
rect="+0,=+0,1024,+244"
|
||||
[/change]
|
||||
[change]
|
||||
id=top-left-panel
|
||||
image=themes/classic/sidebar.png
|
||||
rect="0,+0,142,+244"
|
||||
[/change]
|
||||
# increase size in middle panel since minimap is 40px smaller
|
||||
# give it additional 10px and move the end-turn button down
|
||||
[change]
|
||||
id=right-panel
|
||||
rect="=,+0,=,+471"
|
||||
[/change]
|
||||
[change]
|
||||
id=middle-left-panel
|
||||
rect="0,+0,=,+471"
|
||||
[/change]
|
||||
# reduce vertical size of minimap by 40px
|
||||
[change]
|
||||
id=mini-map
|
||||
rect="=+10,=+7,=-7,+103"
|
||||
[/change]
|
||||
# shift tod image up by 40px rel to 768px
|
||||
[change]
|
||||
id=image-tod
|
||||
rect="=+10,=+119,=-7,+39"
|
||||
[/change]
|
||||
# shift tod image up by 40px rel to 768px
|
||||
[change]
|
||||
id=selected-image-tod
|
||||
rect="=+7,=+119,=-7,+39"
|
||||
[/change]
|
||||
# fixing this one fixes HP/XP/unit status
|
||||
[change]
|
||||
id=label-hp
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
rect="=+84,=+169,+54,+12"
|
||||
[/change]
|
||||
[change]
|
||||
id=selected-label-hp
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
rect="=+4,=+169,+54,+12"
|
||||
[/change]
|
||||
# shift unit profile up by 40px rel to 768px
|
||||
[change]
|
||||
id=selected-unit-profile
|
||||
rect="=+6,=+11,+100,+100"
|
||||
[/change]
|
||||
# shift unit image up by 40px rel to 768px
|
||||
[change]
|
||||
id=unit-image
|
||||
rect="=+9,=+175,+72,+72"
|
||||
[/change]
|
||||
[change]
|
||||
id=selected-unit-image
|
||||
rect="=+65,=+175,+72,+72"
|
||||
[/change]
|
||||
[change]
|
||||
id=button-endturn
|
||||
rect="=+17,=+3,+80,+20"
|
||||
[/change]
|
||||
# adjust allowed heigth for displaying weapon stuff
|
||||
[change]
|
||||
id=unit-weapons
|
||||
ref=unit-defense
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
rect="=+0,+0,=,738"
|
||||
[/change]
|
||||
[/partialresolution]
|
||||
|
||||
[partialresolution]
|
||||
id=800x600
|
||||
inherits=1024x600
|
||||
width=800
|
||||
height=600
|
||||
|
||||
# fix top pane at 800x600
|
||||
[change]
|
||||
id=turn-panel
|
||||
rect="+5,=+1,+80,+19"
|
||||
[/change]
|
||||
[change]
|
||||
id=gold-panel
|
||||
rect="+5,=,+66,="
|
||||
[/change]
|
||||
[change]
|
||||
id=villages-panel
|
||||
rect="+5,=,+61,="
|
||||
[/change]
|
||||
[change]
|
||||
id=units-panel
|
||||
rect="+5,=,+55,="
|
||||
[/change]
|
||||
[change]
|
||||
id=upkeep-panel
|
||||
rect="+5,=,+80,="
|
||||
[/change]
|
||||
[change]
|
||||
id=income-panel
|
||||
rect="+5,=,+55,="
|
||||
[/change]
|
||||
[change]
|
||||
id=turn
|
||||
rect="+4,=,+55,+16"
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
[/change]
|
||||
[change]
|
||||
id=gold
|
||||
rect="+4,=,+45,+16"
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
[/change]
|
||||
[change]
|
||||
id=villages
|
||||
rect="+4,=,+45,+16"
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
[/change]
|
||||
[change]
|
||||
id=num-units
|
||||
rect="+4,=,+45,+16"
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
[/change]
|
||||
[change]
|
||||
id=status-upkeep
|
||||
rect="+4,=,+40,+16"
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
[/change]
|
||||
[change]
|
||||
id=status-income
|
||||
rect="+4,=,+50,+16"
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
[/change]
|
||||
[change]
|
||||
id=timeout-panel
|
||||
rect="+5,=,+75,="
|
||||
[/change]
|
||||
[change]
|
||||
id=report_timeout
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
rect="+0,=,+55,+20"
|
||||
[/change]
|
||||
[change]
|
||||
id=status-position
|
||||
rect="=+5,=,+80,="
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
[/change]
|
||||
[/partialresolution]
|
||||
[/theme]
|
||||
|
||||
#undef DEFAULT_FONT_NORMAL
|
||||
#undef DEFAULT_FONT_SMALL
|
||||
#undef DEFAULT_FONT_TINY
|
||||
#undef DEFAULT_FONT_REALLYTINY
|
Loading…
Add table
Reference in a new issue