#textdomain wesnoth # wmlscope: set export=no # some information about how theming works (especially the coordinates # defined with rect=): # https://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 #define DEFAULT_FONT_NORMAL_HEIGHT 22#enddef #define DEFAULT_FONT_SMALL_HEIGHT 19#enddef #define DEFAULT_FONT_TINY_HEIGHT 17#enddef #define DEFAULT_FONT_REALLYTINY_HEIGHT 15#enddef #define DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER 13#enddef #define FONT_RGB_LEVEL1 245,230,193#enddef [theme] id=Default name= _ "theme^Default" description= _ "The default theme" [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="=,=,+842,+27" xanchor=top yanchor=fixed [/panel] [panel] id=map-area ref=top-panel rect="=,+0,+842,768" xanchor=left yanchor=top [/panel] [main_map] id=main-map ref=map-area rect="=,=,=,=" xanchor=left yanchor=top [/main_map] {MAIN_MAP_BORDER} # rightside panel [panel] id=sidebar-panel image=themes/classic/sidebar.png rect="+0,0,1024,768" xanchor=right yanchor=top [/panel] {MINIMAP_THEME} {STATUS_BOX =+0 +3 +122 +36 tod terrain-description-box-botleft right fixed} {STATUS_BOX =+0 +5 +72 +72 unit tod-box-botleft right fixed} [menu] id=menu-main title= _ "Menu" image=button_menu/menu_button_copper_H20 items=objectives,achievements,statustable,statistics,unitlist,load,menu-autosaves,menu-quickreplay,save,savereplay,savemap,chatlog,preferences,help,stopnetwork,startnetwork,surrender,quit,quit-to-desktop ref=top-panel rect="=,=+1,+100,=-4" xanchor=fixed yanchor=fixed [/menu] [menu] title= _ "Load Turn..." id=menu-autosaves button=false items=AUTOSAVES,help-about-saveload [/menu] [menu] title= _ "Replay Turn..." id=menu-quickreplay button=false items=QUICKREPLAY,help-about-saveload [/menu] [menu] id=actions-menu title= _ "Actions" image=button_menu/menu_button_copper_H20 items=undo,redo,wbexecuteallactions,wbexecuteaction,wbdeleteaction,wbtoggle,cycle,speak,recruit,recall,showenemymoves,bestenemymoves,delayshroud,updateshroud,label_settings,command rect="+0,=,+100,=" xanchor=fixed yanchor=fixed [/menu] {STATUS_BOX_BORDERLESS +5 =+0 +95 +15 turn actions-menu fixed fixed} {STATUS_BOX_BORDERLESS +3 =+0 +75 +15 gold turn-box-topright fixed fixed} {STATUS_BOX_BORDERLESS +3 =+0 +70 +15 villages gold-box-topright fixed fixed} {STATUS_BOX_BORDERLESS +3 =+0 +65 +15 units villages-box-topright fixed fixed} {STATUS_BOX_BORDERLESS +3 =+0 +85 +15 upkeep units-box-topright fixed fixed} {STATUS_BOX_BORDERLESS +3 =+0 +60 +15 income upkeep-box-topright fixed fixed} {STATUS_BOX_BORDERLESS +3 =+0 +85 +15 battery income-box-topright fixed fixed} {COUNTDOWN_THEME} [menu] is_context_menu=true # Basic commands items="continue,recruit,recall,wml,undo,redo," + # Whiteboard commands "wbexecuteaction,wbdeleteaction,wbbumpupaction,wbbumpdownaction,wbsupposedead," + # Information "describeterrain,describeunit,renameunit," + # Zoom "zoomin,zoomout,zoomdefault," + # Debug commands "createunit,changeside,killunit," + # Labels "labelterrain,clearlabels," + # Shroud updates "delayshroud,updateshroud" [/menu] [action] id=button-endturn image=large-button title= _ "End Turn" title2= _ "End Scenario" items=endturn ref=sidebar-panel rect="-173,-50,+168,+44" xanchor=right yanchor=bottom [/action] # HP/XP [label] id=label-hp font_size={DEFAULT_FONT_TINY} text= _ "HP" ref=unit-box-topright rect="+4,=-1,+60,+14" xanchor=right yanchor=fixed [/label] [label] id=label-xp font_size={DEFAULT_FONT_TINY} text= _ "XP" rect="=,+14,+65,+14" xanchor=right yanchor=fixed [/label] [label] id=label-mp font_size={DEFAULT_FONT_TINY} text= _ "MP" rect="=,+14,=,+14" xanchor=right yanchor=fixed [/label] [label] id=label-def font_size={DEFAULT_FONT_TINY} text= _ "def" rect="+1,=,+25,+14" xanchor=right yanchor=fixed [/label] [label] id=gold-icon icon=themes/gold.png ref=gold-box-center rect="=+1,=-1,+17,+17" xanchor=fixed yanchor=fixed [/label] [label] id=villages-icon icon=themes/villages.png ref=villages-box-center rect="=+1,=-1,+17,+17" xanchor=fixed yanchor=fixed [/label] [label] id=units-icon icon=themes/units.png ref=units-box-center rect="=+1,=-1,+17,+17" xanchor=fixed yanchor=fixed [/label] [label] id=upkeep-icon icon=themes/upkeep.png ref=upkeep-box-center rect="=+1,=-1,+25,+17" xanchor=fixed yanchor=fixed [/label] [label] id=income-icon icon=themes/income.png ref=income-box-center rect="=+1,=-1,+25,+17" xanchor=fixed yanchor=fixed [/label] [status] # The size of these rectangles only accommodates hex coordinates # up to 999. [position] id=status-position font_size={DEFAULT_FONT_SMALL} ref=terrain-info-box-center rect="=+2,=-2,+95,+16" xanchor=right yanchor=fixed [/position] [terrain_info] id=status-terrain font_size={DEFAULT_FONT_SMALL} rect="+2,=+1,+70,+16" xanchor=right yanchor=fixed [/terrain_info] [terrain] id=terrain-description ref=terrain-description-box-center rect="=+1,=-1,+165,+16" font_size={DEFAULT_FONT_TINY} xanchor=right yanchor=fixed [/terrain] # the time of day image [time_of_day] id=image-tod ref=tod-box-center rect="=-1,=-2,+125,+39" xanchor=right yanchor=fixed [/time_of_day] [tod_stats] id=tod-stats font_size={DEFAULT_FONT_SMALL} rect="+3,=+8,+64,+{DEFAULT_FONT_NORMAL_HEIGHT}" xanchor=right yanchor=fixed [/tod_stats] # TODO think about alignment right of tod image # [unit_alignment] # ref=tod-stats # id=unit-alignment # font_size={DEFAULT_FONT_SMALL} # rect="=,+0,=,+16" # xanchor=right # yanchor=fixed # [/unit_alignment] [unit_status] id=unit-status font_size={DEFAULT_FONT_SMALL} ref=label-hp rect="+0,=-4,+32,+16" xanchor=right yanchor=fixed [/unit_status] #put the side playing indicator next to the turn indicator [side_playing] id=icon-sideplaying ref=turn-box-center rect="=+1,=-1,+25,+17" xanchor=fixed yanchor=fixed [/side_playing] # the game status [turn] id=turn font_size={DEFAULT_FONT_SMALL} rect="+4,=-2,+65,+16" xanchor=fixed yanchor=fixed [/turn] [gold] id=gold font_size={DEFAULT_FONT_SMALL} ref=gold-icon rect="+4,=-2,+55,+16" xanchor=fixed yanchor=fixed [/gold] [villages] id=villages font_size={DEFAULT_FONT_SMALL} ref=villages-icon rect="+4,=-2,+55,+16" xanchor=fixed yanchor=fixed [/villages] [num_units] id=num-units font_size={DEFAULT_FONT_SMALL} ref=units-icon rect="+4,=-2,+55,+16" xanchor=fixed yanchor=fixed [/num_units] [upkeep] id=status-upkeep font_size={DEFAULT_FONT_SMALL} ref=upkeep-icon rect="+4,=-2,+50,+16" xanchor=fixed yanchor=fixed [/upkeep] [income] id=status-income font_size={DEFAULT_FONT_SMALL} ref=income-icon rect="+4,=-2,+60,+16" xanchor=fixed yanchor=fixed [/income] [battery] id=status-battery font_size={DEFAULT_FONT_SMALL} ref=battery-box-center rect="=+5,=-3,+80,+18" xanchor=fixed yanchor=fixed [/battery] {COUNTDOWN_THEME_STATUS {DEFAULT_FONT_SMALL}} [observers] id=observers font_size={DEFAULT_FONT_SMALL} ref=sidebar-panel rect="=-22,=+4,+16,+16" # x = 16 + 6 xanchor=right yanchor=fixed [/observers] #unit stats here [unit_image] id=unit-image ref=unit-box-center rect="=+0,=+0,+72,+72" xanchor=right yanchor=fixed [/unit_image] [unit_name] id=unit-description font_size={DEFAULT_FONT_NORMAL} ref=unit-box-botleft rect="=+3,+5,+128,+20" xanchor=right yanchor=fixed [/unit_name] [unit_side] id=unit-side font_size={DEFAULT_FONT_SMALL} rect="+0,=,+50,+16" xanchor=right yanchor=fixed [/unit_side] [unit_type] ref=unit-description id=unit-type font_size={DEFAULT_FONT_SMALL} rect="=,+0,+140,+18" xanchor=right yanchor=fixed [/unit_type] [unit_level] id=unit-level font_size={DEFAULT_FONT_SMALL} rect="+0,=+0,+50,+16" prefix= _ "statuspanel^lvl" prefix_literal=" " xanchor=right yanchor=fixed [/unit_level] [unit_alignment] prefix_literal=" " font_rgb={FONT_RGB_LEVEL1} ref=unit-type id=unit-alignment font_size={DEFAULT_FONT_SMALL} rect="=,+0,=+50,+18" xanchor=right yanchor=fixed [/unit_alignment] [unit_abilities] prefix_literal=" " # prefix_literal=" " font_rgb={FONT_RGB_LEVEL1} id=unit-abilities font_size={DEFAULT_FONT_SMALL} rect="=,+0,=,+18" xanchor=right yanchor=fixed [/unit_abilities] [unit_race] id=unit-race font_size={DEFAULT_FONT_SMALL} rect="=,+0,=,+18" xanchor=right yanchor=fixed [/unit_race] [unit_traits] #ref=unit-type id=unit-traits prefix_literal=" " font_size={DEFAULT_FONT_SMALL} font_rgb={FONT_RGB_LEVEL1} rect="=,+0,1022,+18" xanchor=right yanchor=fixed [/unit_traits] [unit_vision] id=unit-vision font_size={DEFAULT_FONT_TINY} ref=label-xp rect="+0,=,=+60,=" xanchor=right yanchor=fixed [/unit_vision] [unit_hp] id=unit-hp font_size={DEFAULT_FONT_TINY} ref=label-hp rect="=,+0,+94,+14" prefix_literal=" " xanchor=right yanchor=fixed [/unit_hp] [unit_xp] id=unit-xp font_size={DEFAULT_FONT_TINY} ref=label-xp rect="=,+0,+94,+14" prefix_literal=" " xanchor=right yanchor=fixed [/unit_xp] [unit_moves] ref=label-mp id=unit-moves font_size={DEFAULT_FONT_TINY} rect="=,+0,=-5,+14" prefix_literal=" " xanchor=right yanchor=fixed [/unit_moves] [unit_defense] ref=label-def id=unit-defense font_size={DEFAULT_FONT_TINY} rect="=-5,+0,+30,+14" xanchor=right yanchor=fixed [/unit_defense] # 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_weapons] id=unit-weapons font_size={DEFAULT_FONT_SMALL} ref=unit-traits rect="=+0,+12,=,705" xanchor=right yanchor=top [/unit_weapons] [/status] # If the device has no battery, remove the battery charge indicator # and move the timer to its position. [no_battery] [remove] id=battery [/remove] # Give the battery box the same dimensions as the countdown box {CHANGE_STATUS_BOX +3 =+0 +90 +15 battery income-box-topright} [change] id=report_countdown ref=battery-box-center rect="=+5,=-3,+80,+18" [/change] [/no_battery] {REPLAY_THEME {DEFAULT_FONT_SMALL}} [/resolution] [partialresolution] id=1024x600 inherits=1024x768 width=1024 height=600 {MINIMAP_THEME_600} [change] id=screen rect="0,0,1024,600" [/change] [change] id=sidebar-panel rect="+0,0,1024,600" [/change] [change] id=map-area rect="=,+0,+842,600" [/change] [change] id=label-hp font_size={DEFAULT_FONT_REALLYTINY} rect="+4,=-1,+60,+{DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER}" [/change] [change] id=label-xp font_size={DEFAULT_FONT_REALLYTINY} rect="=,+14,+65,+{DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER}" [/change] [change] id=label-mp font_size={DEFAULT_FONT_REALLYTINY} rect="=,+14,=,+{DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER}" [/change] [change] id=label-def font_size={DEFAULT_FONT_REALLYTINY} rect="+1,=,+25,+{DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER}" [/change] [change] id=unit-hp font_size={DEFAULT_FONT_REALLYTINY} rect="=,+0,+94,+{DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER}" [/change] [change] id=unit-xp font_size={DEFAULT_FONT_REALLYTINY} rect="=,+0,=,+{DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER}" [/change] [change] id=unit-moves font_size={DEFAULT_FONT_REALLYTINY} rect="=,+0,=-5,+{DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER}" [/change] [change] id=unit-defense font_size={DEFAULT_FONT_REALLYTINY} rect="=-5,+0,+30,+{DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER}" [/change] [change] id=unit-description font_size={DEFAULT_FONT_SMALL} rect="=,+1,+128,+{DEFAULT_FONT_SMALL_HEIGHT}" [/change] [change] id=unit-type font_size={DEFAULT_FONT_TINY} rect="=,+0,=,+{DEFAULT_FONT_TINY_HEIGHT}" [/change] [change] id=unit-level font_size={DEFAULT_FONT_TINY} rect="+0,=+0,+50,+{DEFAULT_FONT_TINY_HEIGHT}" [/change] [change] id=unit-alignment font_size={DEFAULT_FONT_TINY} rect="=,+0,=,+{DEFAULT_FONT_TINY_HEIGHT}" [/change] [change] id=unit-traits font_size={DEFAULT_FONT_TINY} rect="=,+0,=,+{DEFAULT_FONT_TINY_HEIGHT}" [/change] [change] id=unit-abilities font_size={DEFAULT_FONT_TINY} rect="=,+0,=,+{DEFAULT_FONT_TINY_HEIGHT}" [/change] [change] id=unit-vision font_size={DEFAULT_FONT_REALLYTINY} rect="+0,=,=+60,+{DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER}" [/change] [change] id=unit-race font_size={DEFAULT_FONT_TINY} rect="=,+0,=,+{DEFAULT_FONT_TINY_HEIGHT}" [/change] [change] id=unit-weapons font_size={DEFAULT_FONT_TINY} rect="=,+0,=,740" [/change] [change] id=button-endturn image=button_normal/button_H22 rect="-140,-24,+80,+22" [/change] [/partialresolution] [partialresolution] id=800x600 inherits=1024x600 width=800 height=600 [change] id=screen rect="0,0,800,600" [/change] [change] id=top-panel rect="=,=,+618,+27" [/change] [change] id=sidebar-panel rect="+0,0,800,600" [/change] [change] id=map-area rect="=,+0,+618,600" [/change] # fix top pane at 800x600 {CHANGE_STATUS_BOX +3 =+0 +85 +15 turn actions-menu} {CHANGE_STATUS_BOX +1 =+0 +56 +15 gold turn-box-topright} {CHANGE_STATUS_BOX +1 =+0 +51 +15 villages gold-box-topright} {CHANGE_STATUS_BOX +1 =+0 +45 +15 units villages-box-topright} {CHANGE_STATUS_BOX +1 =+0 +60 +15 upkeep units-box-topright} {CHANGE_STATUS_BOX +1 =+0 +55 +15 income upkeep-box-topright} # Actually the countdown box at this resolution since the battery is # never displayed below 1152 px horizontal. # HACK: 3 px shift downwards to align the text baseline to the rest # because we can't change the rects in [change] when the [no_battery] # rule in the the main resolution exists. Currently this hack isn't a # cause for concern, but if the status boxes regain borders/backgrounds # we are going to need a different solution. {CHANGE_STATUS_BOX +1 =+3 +75 +15 battery income-box-topright} [change] id=menu-main image=button_menu/menu_button_small_copper_H20 rect="=,=+1,+55,=-4" [/change] [change] id=actions-menu image=button_menu/menu_button_small_copper_H20 rect="+0,=,+55,=" [/change] [change] id=turn rect="+4,=+1,+65,+{DEFAULT_FONT_TINY_HEIGHT}" font_size={DEFAULT_FONT_TINY} [/change] [change] id=gold rect="+4,=+1,+45,+{DEFAULT_FONT_TINY_HEIGHT}" font_size={DEFAULT_FONT_TINY} [/change] [change] id=villages rect="+4,=+1,+45,+{DEFAULT_FONT_TINY_HEIGHT}" font_size={DEFAULT_FONT_TINY} [/change] [change] id=num-units rect="+4,=+1,+45,+{DEFAULT_FONT_TINY_HEIGHT}" font_size={DEFAULT_FONT_TINY} [/change] [change] id=status-upkeep rect="+4,=+1,+40,+{DEFAULT_FONT_TINY_HEIGHT}" font_size={DEFAULT_FONT_TINY} [/change] [change] id=status-income rect="+4,=+1,+50,+{DEFAULT_FONT_TINY_HEIGHT}" font_size={DEFAULT_FONT_TINY} [/change] [change] id=report_countdown font_size={DEFAULT_FONT_TINY} [/change] [/partialresolution] [/theme] #undef DEFAULT_FONT_NORMAL #undef DEFAULT_FONT_SMALL #undef DEFAULT_FONT_TINY #undef DEFAULT_FONT_REALLYTINY #undef DEFAULT_FONT_NORMAL_HEIGHT #undef DEFAULT_FONT_SMALL_HEIGHT #undef DEFAULT_FONT_TINY_HEIGHT #undef DEFAULT_FONT_REALLYTINY_HEIGHT #undef DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER #undef FONT_RGB_LEVEL1