#textdomain wesnoth #define COUNTDOWN_THEME [panel] id=timeout-panel image=themes/status-bg.png rect="+5,=,+90,=" xanchor=fixed yanchor=fixed [/panel] [label] id=time-icon #icon=themes/units.png icon=themes/sand-clock.png ref=timeout-panel rect="=+5,=+1,+17,+17" xanchor=fixed yanchor=fixed [/label] #enddef #define COUNTDOWN_THEME_STATUS FONT_SMALL_SIZE [report_countdown] id=report_timeout font_size={FONT_SMALL_SIZE} ref=time-icon rect="+0,=,+65,+20" xanchor=fixed yanchor=fixed [/report_countdown] #enddef #define REPLAY_THEME FONT_SMALL_SIZE [replay] [change] id=main-map ref=top-panel rect="=,+30,+882,768" [/change] [add] [panel] id=replay-panel image=themes/top-bg.png ref=top-panel rect="=,+0,+882,+30" xanchor=left yanchor=fixed [/panel] [/add] [add] [label] id=replay-label text= _ "Replay" ref=replay-panel rect="=+3,=+5,+60,=-4" font_size={FONT_SMALL_SIZE} font_rgb=160,160,160 xanchor=fixed yanchor=fixed [/label] [/add] [add] [action] id=button-playreplay ref=replay-label type=image image=button_square/button_square_25 overlay=icons/action/play_25 title= _ "Play" tooltip= _ "continuous replay" items=playreplay rect="+4,=-4,+23,=" xanchor=fixed yanchor=fixed [/action] [/add] [add] [action] id=button-stopreplay ref=button-playreplay type=image image=button_square/button_square_25 overlay=icons/action/pause_25 title= _ "Stop" tooltip= _ "pause at end of turn" items=stopreplay rect="+4,=,+23,=" xanchor=fixed yanchor=fixed [/action] [/add] [add] [action] id=button-resetreplay ref=button-stopreplay type=image image=button_square/button_square_25 overlay=icons/action/stop_25 title= _ "Reset" tooltip= _ "reset to beginning" items=resetreplay rect="+4,=,+23,=" xanchor=fixed yanchor=fixed [/action] [/add] [add] [action] id=button-nextturn ref=button-resetreplay type=image image=button_square/button_square_25 overlay=icons/action/play_turn_25 title= _ "Next Turn" tooltip= _ "play turn" items=replaynextturn rect="+4,=,+23,=" xanchor=fixed yanchor=fixed [/action] [/add] [add] [action] id=button-nextside ref=button-nextturn type=image image=button_square/button_square_25 overlay=icons/action/play_side_25 title= _ "Next Side" tooltip= _ "play side turn" items=replaynextside rect="+4,=,+23,=" xanchor=fixed yanchor=fixed [/action] [/add] [add] [menu] id=show-what ref=button-nextside image=button_menu/menu_button_copper_H20 title= _ "Point of view" items=replayshowteam1,replayshoweach,replayshoweverything rect="+15,=+2,+100,+10" xanchor=fixed yanchor=fixed [/menu] [/add] [add] [action] id=skip-animation ref=show-what type=checkbox title= _ "Skip animation" items=replayskipanimation rect="+15,=+1,+80,+10" xanchor=fixed yanchor=fixed [/action] [/add] [/replay] #enddef