Ran wmlindent
This commit is contained in:
parent
7a16295999
commit
ef2bdfbc12
110 changed files with 13726 additions and 16189 deletions
|
@ -229,9 +229,9 @@
|
|||
red,green,blue=255,255,192
|
||||
description= _ "$anl_carryover|% of gold carried over to the next scenario." + "
|
||||
<span foreground='white'><big>"+
|
||||
#textdomain wesnoth
|
||||
_"Notes:"+"</big></span>"
|
||||
#textdomain wesnoth-trow
|
||||
#textdomain wesnoth
|
||||
_"Notes:"+"</big></span>"
|
||||
#textdomain wesnoth-trow
|
||||
[/note]
|
||||
[note]
|
||||
description= _ "Enemies will not initiate an attack if there is a risk of them dying."
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[item_group]
|
||||
|
||||
id=items
|
||||
icon=icons/items/item_misc
|
||||
name= _ "Items"
|
||||
|
@ -32,7 +31,7 @@
|
|||
id=archery-target
|
||||
image=items/archery-target-right.png
|
||||
name= _ "Archery Target"
|
||||
[/item]
|
||||
[/item]
|
||||
|
||||
[item]
|
||||
id=armor-golden
|
||||
|
@ -107,7 +106,7 @@
|
|||
[/item]
|
||||
|
||||
[item]
|
||||
id=book3
|
||||
id=book3
|
||||
image=items/book3.png
|
||||
name= _ "Book"
|
||||
[/item]
|
||||
|
@ -435,11 +434,9 @@
|
|||
image=items/sword.png
|
||||
name= _ "Sword"
|
||||
[/item]
|
||||
|
||||
[/item_group]
|
||||
|
||||
[item_group]
|
||||
|
||||
id=scenery
|
||||
name= _ "Scenery"
|
||||
icon=icons/items/item_scenery
|
||||
|
@ -843,5 +840,4 @@
|
|||
image=scenery/wreck.png
|
||||
name= _ "Shipwreck"
|
||||
[/item]
|
||||
|
||||
[/item_group]
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
image="projectiles/missile-n.png"
|
||||
image_diagonal="projectiles/missile-ne.png"
|
||||
[/missile_frame]
|
||||
|
||||
|
||||
[frame]
|
||||
image="units/khalifate/batal.png:300"
|
||||
[/frame]
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
image="projectiles/missile-n.png"
|
||||
image_diagonal="projectiles/missile-ne.png"
|
||||
[/missile_frame]
|
||||
|
||||
|
||||
[frame]
|
||||
image="units/khalifate/hadaf.png:300"
|
||||
[/frame]
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
image="projectiles/missile-n.png"
|
||||
image_diagonal="projectiles/missile-ne.png"
|
||||
[/missile_frame]
|
||||
|
||||
|
||||
[frame]
|
||||
image="units/khalifate/jawal.png:300"
|
||||
[/frame]
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
image="projectiles/missile-n.png"
|
||||
image_diagonal="projectiles/missile-ne.png"
|
||||
[/missile_frame]
|
||||
|
||||
|
||||
[frame]
|
||||
image="units/khalifate/jundi.png:300"
|
||||
[/frame]
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
image="projectiles/missile-n.png"
|
||||
image_diagonal="projectiles/missile-ne.png"
|
||||
[/missile_frame]
|
||||
|
||||
|
||||
[frame]
|
||||
image="units/khalifate/muharib.png:300"
|
||||
[/frame]
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
image="projectiles/missile-n.png"
|
||||
image_diagonal="projectiles/missile-ne.png"
|
||||
[/missile_frame]
|
||||
|
||||
|
||||
[frame]
|
||||
image="units/khalifate/qanas.png:300"
|
||||
[/frame]
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
image="projectiles/missile-n.png"
|
||||
image_diagonal="projectiles/missile-ne.png"
|
||||
[/missile_frame]
|
||||
|
||||
|
||||
[frame]
|
||||
image="units/khalifate/rami.png:300"
|
||||
[/frame]
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
image="projectiles/missile-n.png"
|
||||
image_diagonal="projectiles/missile-ne.png"
|
||||
[/missile_frame]
|
||||
|
||||
|
||||
[frame]
|
||||
image="units/khalifate/saree.png:300"
|
||||
[/frame]
|
||||
|
|
|
@ -4,35 +4,34 @@
|
|||
###
|
||||
|
||||
[gui]
|
||||
id = "default"
|
||||
description = "Default"
|
||||
id = "default"
|
||||
description = "Default"
|
||||
|
||||
[settings]
|
||||
popup_show_delay = 200
|
||||
popup_show_time = 5000
|
||||
help_show_time = 0
|
||||
[settings]
|
||||
popup_show_delay = 200
|
||||
popup_show_time = 5000
|
||||
help_show_time = 0
|
||||
|
||||
double_click_time = 500
|
||||
repeat_button_repeat_time = 350
|
||||
double_click_time = 500
|
||||
repeat_button_repeat_time = 350
|
||||
|
||||
sound_button_click = "button.wav"
|
||||
sound_toggle_button_click = "checkbox.wav"
|
||||
sound_toggle_panel_click = "select.wav"
|
||||
sound_slider_adjust = "slider.wav"
|
||||
sound_button_click = "button.wav"
|
||||
sound_toggle_button_click = "checkbox.wav"
|
||||
sound_toggle_panel_click = "select.wav"
|
||||
sound_slider_adjust = "slider.wav"
|
||||
|
||||
has_helptip_message = " (Press '$hotkey' for more information)"
|
||||
[/settings]
|
||||
has_helptip_message = " (Press '$hotkey' for more information)"
|
||||
[/settings]
|
||||
|
||||
{hardwired/tips.cfg}
|
||||
{hardwired/tips.cfg}
|
||||
|
||||
{gui/default/macros/}
|
||||
{gui/default/window/}
|
||||
{gui/default/widget/}
|
||||
{gui/default/macros/}
|
||||
{gui/default/window/}
|
||||
{gui/default/widget/}
|
||||
|
||||
# For tab sheets we need two kinds
|
||||
# - 1 where we're a filter eg every irc chan looks the same
|
||||
# - 1 where every page has other data
|
||||
|
||||
# rename set_dirty to redraw and add another one for resize
|
||||
# For tab sheets we need two kinds
|
||||
# - 1 where we're a filter eg every irc chan looks the same
|
||||
# - 1 where every page has other data
|
||||
|
||||
# rename set_dirty to redraw and add another one for resize
|
||||
[/gui]
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
# will also be definitions for larger screens, mainly for using the extra width
|
||||
# better.
|
||||
|
||||
|
||||
###############################################################################
|
||||
### ###
|
||||
### Generic macros usable for all resolutions. ###
|
||||
|
@ -23,7 +22,7 @@
|
|||
# If the text is too wide it returns the left side.
|
||||
# Rounding happens to the left side.
|
||||
#define GUI__TEXT_HORIZONTALLY_CENTRED
|
||||
"(if(text_width < width, (width - text_width ) / 2, 0))"
|
||||
"(if(text_width < width, (width - text_width ) / 2, 0))"
|
||||
#enddef
|
||||
|
||||
# Centers the text vertically.
|
||||
|
@ -31,30 +30,30 @@
|
|||
# If the text is too high it returns the top side.
|
||||
# Rounding happens to the bottom side.
|
||||
#define GUI__TEXT_VERTICALLY_CENTRED
|
||||
"(if(text_height < height, (height - text_height + 1) / 2, 0))"
|
||||
"(if(text_height < height, (height - text_height + 1) / 2, 0))"
|
||||
#enddef
|
||||
|
||||
#define GUI__CENTERED_TEXT FONT_SIZE FONT_STYLE FONT_COLOR
|
||||
[text]
|
||||
x = {GUI__TEXT_HORIZONTALLY_CENTRED}
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(text_width)"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE}
|
||||
font_style = {FONT_STYLE}
|
||||
color = {FONT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
[text]
|
||||
x = {GUI__TEXT_HORIZONTALLY_CENTRED}
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(text_width)"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE}
|
||||
font_style = {FONT_STYLE}
|
||||
color = {FONT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
#enddef
|
||||
|
||||
# This white color is used for most texts.
|
||||
#define GUI__FONT_COLOR_ENABLED__DEFAULT
|
||||
"221, 221, 221, 255"
|
||||
"221, 221, 221, 255"
|
||||
#enddef
|
||||
|
||||
# This gray color is used for most text when the widget is disabled.
|
||||
#define GUI__FONT_COLOR_DISABLED__DEFAULT
|
||||
"128, 128, 128, 255"
|
||||
"128, 128, 128, 255"
|
||||
#enddef
|
||||
|
||||
# This gold color is used for the
|
||||
|
@ -63,90 +62,90 @@
|
|||
# - checkbox captions
|
||||
# - menu captions
|
||||
#define GUI__FONT_COLOR_ENABLED__TITLE
|
||||
"188, 176, 136, 255"
|
||||
"188, 176, 136, 255"
|
||||
#enddef
|
||||
|
||||
# This now uses the default disabled color but should be tiny bit lighter.
|
||||
#define GUI__FONT_COLOR_DISABLED__TITLE
|
||||
{GUI__FONT_COLOR_DISABLED__DEFAULT}
|
||||
{GUI__FONT_COLOR_DISABLED__DEFAULT}
|
||||
#enddef
|
||||
|
||||
# This color is used as background in the listbox.
|
||||
#define GUI__BACKGROUND_COLOR_ENABLED
|
||||
"21, 19, 19, 255"
|
||||
"21, 19, 19, 255"
|
||||
#enddef
|
||||
|
||||
#define GUI__BACKGROUND_COLOR_DISABLED
|
||||
"64, 64, 64, 255"
|
||||
"64, 64, 64, 255"
|
||||
#enddef
|
||||
|
||||
# Draws the background for a selected cell in a listbox. For now there's one
|
||||
# version for both tiny and normal gui.
|
||||
#define GUI__LISTBOX_SELECTED_CELL
|
||||
|
||||
# corners are 10x10
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
name = "dialogs/selection-border-topleft.png"
|
||||
[/image]
|
||||
# corners are 10x10
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
name = "dialogs/selection-border-topleft.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - 10)"
|
||||
y = 0
|
||||
name = "dialogs/selection-border-topright.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = "(width - 10)"
|
||||
y = 0
|
||||
name = "dialogs/selection-border-topright.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = "(height - 10)"
|
||||
name = "dialogs/selection-border-botleft.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = 0
|
||||
y = "(height - 10)"
|
||||
name = "dialogs/selection-border-botleft.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - 10)"
|
||||
y = "(height - 10)"
|
||||
name = "dialogs/selection-border-botright.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = "(width - 10)"
|
||||
y = "(height - 10)"
|
||||
name = "dialogs/selection-border-botright.png"
|
||||
[/image]
|
||||
|
||||
# since the lines are already quite long scale them instead of stretching
|
||||
# the height of the lines is 3 pixels.
|
||||
[image]
|
||||
x = 10
|
||||
y = 0
|
||||
w = "(width - 20)"
|
||||
name = "dialogs/selection-border-top.png"
|
||||
[/image]
|
||||
# since the lines are already quite long scale them instead of stretching
|
||||
# the height of the lines is 3 pixels.
|
||||
[image]
|
||||
x = 10
|
||||
y = 0
|
||||
w = "(width - 20)"
|
||||
name = "dialogs/selection-border-top.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = 10
|
||||
y = "(height - 3)"
|
||||
w = "(width - 20)"
|
||||
name = "dialogs/selection-border-bottom.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = 10
|
||||
y = "(height - 3)"
|
||||
w = "(width - 20)"
|
||||
name = "dialogs/selection-border-bottom.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = 10
|
||||
h= "(height - 20)"
|
||||
name = "dialogs/selection-border-left.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = 0
|
||||
y = 10
|
||||
h= "(height - 20)"
|
||||
name = "dialogs/selection-border-left.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - 3)"
|
||||
y = 10
|
||||
h = "(height - 20)"
|
||||
name = "dialogs/selection-border-right.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = "(width - 3)"
|
||||
y = 10
|
||||
h = "(height - 20)"
|
||||
name = "dialogs/selection-border-right.png"
|
||||
[/image]
|
||||
|
||||
#main background 320 x 67
|
||||
[image]
|
||||
x = 3
|
||||
y = 3
|
||||
w = "(width - 6)"
|
||||
h = "(height - 6)"
|
||||
name = "dialogs/selection-background.png"
|
||||
[/image]
|
||||
#main background 320 x 67
|
||||
[image]
|
||||
x = 3
|
||||
y = 3
|
||||
w = "(width - 6)"
|
||||
h = "(height - 6)"
|
||||
name = "dialogs/selection-background.png"
|
||||
[/image]
|
||||
|
||||
#enddef
|
||||
|
||||
|
@ -173,47 +172,35 @@
|
|||
# )}
|
||||
#
|
||||
#define GUI_FORCE_WIDGET_MINIMUM_SIZE WIDTH HEIGHT WIDGET
|
||||
[stacked_widget]
|
||||
definition = "default"
|
||||
[stacked_widget]
|
||||
definition = "default"
|
||||
|
||||
[stack]
|
||||
[stack]
|
||||
[layer]
|
||||
[row]
|
||||
[column]
|
||||
[spacer]
|
||||
definition = "default"
|
||||
width = "{WIDTH}"
|
||||
height = "{HEIGHT}"
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
[/layer]
|
||||
|
||||
[layer]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
definition = "default"
|
||||
width = "{WIDTH}"
|
||||
height = "{HEIGHT}"
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/layer]
|
||||
|
||||
[layer]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
{WIDGET}
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/layer]
|
||||
|
||||
[/stack]
|
||||
|
||||
[/stacked_widget]
|
||||
[layer]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
{WIDGET}
|
||||
[/column]
|
||||
[/row]
|
||||
[/layer]
|
||||
[/stack]
|
||||
[/stacked_widget]
|
||||
#enddef
|
||||
|
||||
###############################################################################
|
||||
|
@ -223,28 +210,28 @@
|
|||
###############################################################################
|
||||
|
||||
#define GUI_TINY__RESOLUTION
|
||||
window_width = 640
|
||||
window_height = 480
|
||||
window_width = 640
|
||||
window_height = 480
|
||||
#enddef
|
||||
|
||||
#define GUI_TINY__FONT_SIZE__TINY
|
||||
8
|
||||
8
|
||||
#enddef
|
||||
|
||||
#define GUI_TINY__FONT_SIZE__SMALL
|
||||
9
|
||||
9
|
||||
#enddef
|
||||
|
||||
#define GUI_TINY__FONT_SIZE__DEFAULT
|
||||
10
|
||||
10
|
||||
#enddef
|
||||
|
||||
#define GUI_TINY__FONT_SIZE__LARGE
|
||||
11
|
||||
11
|
||||
#enddef
|
||||
|
||||
#define GUI_TINY__FONT_SIZE__TITLE
|
||||
11
|
||||
11
|
||||
#enddef
|
||||
|
||||
###############################################################################
|
||||
|
@ -254,27 +241,26 @@
|
|||
###############################################################################
|
||||
|
||||
#define GUI_NORMAL__RESOLUTION
|
||||
window_width = 0
|
||||
window_height = 0
|
||||
window_width = 0
|
||||
window_height = 0
|
||||
#enddef
|
||||
|
||||
#define GUI_NORMAL__FONT_SIZE__TINY
|
||||
10
|
||||
10
|
||||
#enddef
|
||||
|
||||
#define GUI_NORMAL__FONT_SIZE__SMALL
|
||||
12
|
||||
12
|
||||
#enddef
|
||||
|
||||
#define GUI_NORMAL__FONT_SIZE__DEFAULT
|
||||
14
|
||||
14
|
||||
#enddef
|
||||
|
||||
#define GUI_NORMAL__FONT_SIZE__LARGE
|
||||
18
|
||||
18
|
||||
#enddef
|
||||
|
||||
#define GUI_NORMAL__FONT_SIZE__TITLE
|
||||
18
|
||||
18
|
||||
#enddef
|
||||
|
||||
|
|
|
@ -3,9 +3,8 @@
|
|||
# This is needed since empty cells aren't allowed.
|
||||
|
||||
#define GUI_FILLER
|
||||
[column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
#enddef
|
||||
|
||||
|
|
|
@ -2,88 +2,71 @@
|
|||
# Defines the default _horizontal_scrollbar_grid for several widgets.
|
||||
|
||||
#define GUI__HORIZONTAL_SCROLLBAR_GRID
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
id = "_horizontal_scrollbar_grid"
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
id = "_horizontal_scrollbar_grid"
|
||||
|
||||
[row]
|
||||
[row]
|
||||
[column]
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_up"
|
||||
definition = "left_arrow"
|
||||
[/repeating_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_up"
|
||||
definition = "left_arrow"
|
||||
[/repeating_button]
|
||||
[horizontal_scrollbar]
|
||||
id = "_horizontal_scrollbar"
|
||||
definition = "default"
|
||||
[/horizontal_scrollbar]
|
||||
[/column]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[horizontal_scrollbar]
|
||||
id = "_horizontal_scrollbar"
|
||||
definition = "default"
|
||||
[/horizontal_scrollbar]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_down"
|
||||
definition = "right_arrow"
|
||||
[/repeating_button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
[column]
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_down"
|
||||
definition = "right_arrow"
|
||||
[/repeating_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
#enddef
|
||||
|
||||
#define GUI__HORIZONTAL_SCROLLBAR_GRID_TRANSPARENT
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
id = "_horizontal_scrollbar_grid"
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
id = "_horizontal_scrollbar_grid"
|
||||
|
||||
[row]
|
||||
[row]
|
||||
[column]
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_up"
|
||||
definition = "left_arrow_transparent"
|
||||
[/repeating_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_up"
|
||||
definition = "left_arrow_transparent"
|
||||
[/repeating_button]
|
||||
[horizontal_scrollbar]
|
||||
id = "_horizontal_scrollbar"
|
||||
definition = "transparent"
|
||||
[/horizontal_scrollbar]
|
||||
[/column]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[horizontal_scrollbar]
|
||||
id = "_horizontal_scrollbar"
|
||||
definition = "transparent"
|
||||
[/horizontal_scrollbar]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_down"
|
||||
definition = "right_arrow_transparent"
|
||||
[/repeating_button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
[column]
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_down"
|
||||
definition = "right_arrow_transparent"
|
||||
[/repeating_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
#enddef
|
||||
|
||||
|
|
|
@ -2,104 +2,79 @@
|
|||
# Defines the default _vertical_scrollbar_grid for several widgets.
|
||||
|
||||
#define GUI__VERTICAL_SCROLLBAR_GRID
|
||||
vertical_grow = "true"
|
||||
[grid]
|
||||
id = "_vertical_scrollbar_grid"
|
||||
vertical_grow = "true"
|
||||
[grid]
|
||||
id = "_vertical_scrollbar_grid"
|
||||
|
||||
[row]
|
||||
[row]
|
||||
[column]
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_up"
|
||||
definition = "up_arrow"
|
||||
[/repeating_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_up"
|
||||
definition = "up_arrow"
|
||||
[/repeating_button]
|
||||
[vertical_scrollbar]
|
||||
id = "_vertical_scrollbar"
|
||||
definition = "default"
|
||||
[/vertical_scrollbar]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
grow_factor = 1
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
|
||||
[vertical_scrollbar]
|
||||
id = "_vertical_scrollbar"
|
||||
definition = "default"
|
||||
[/vertical_scrollbar]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_down"
|
||||
definition = "down_arrow"
|
||||
[/repeating_button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
[row]
|
||||
[column]
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_down"
|
||||
definition = "down_arrow"
|
||||
[/repeating_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
#enddef
|
||||
|
||||
#define GUI__VERTICAL_SCROLLBAR_GRID_TRANSPARENT
|
||||
vertical_grow = "true"
|
||||
[grid]
|
||||
id = "_vertical_scrollbar_grid"
|
||||
vertical_grow = "true"
|
||||
[grid]
|
||||
id = "_vertical_scrollbar_grid"
|
||||
|
||||
[row]
|
||||
[row]
|
||||
[column]
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_up"
|
||||
definition = "up_arrow_transparent"
|
||||
[/repeating_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_up"
|
||||
definition = "up_arrow_transparent"
|
||||
[/repeating_button]
|
||||
[vertical_scrollbar]
|
||||
id = "_vertical_scrollbar"
|
||||
definition = "transparent"
|
||||
[/vertical_scrollbar]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
grow_factor = 1
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
|
||||
[vertical_scrollbar]
|
||||
id = "_vertical_scrollbar"
|
||||
definition = "transparent"
|
||||
[/vertical_scrollbar]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_down"
|
||||
definition = "down_arrow_transparent"
|
||||
[/repeating_button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
[row]
|
||||
[column]
|
||||
# note we want a special button definition for this later.
|
||||
[repeating_button]
|
||||
id = "_half_page_down"
|
||||
definition = "down_arrow_transparent"
|
||||
[/repeating_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
#enddef
|
||||
|
||||
|
|
|
@ -5,245 +5,226 @@
|
|||
### - up arrow button for the listbox.
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION SIZE IMAGE IMAGE_OVERLAY IPF
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {SIZE}
|
||||
min_height = {SIZE}
|
||||
|
||||
min_width = {SIZE}
|
||||
min_height = {SIZE}
|
||||
default_width = {SIZE}
|
||||
default_height = {SIZE}
|
||||
|
||||
default_width = {SIZE}
|
||||
default_height = {SIZE}
|
||||
max_width = {SIZE}
|
||||
max_height = {SIZE}
|
||||
|
||||
max_width = {SIZE}
|
||||
max_height = {SIZE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + ".png{IPF}"
|
||||
[/image]
|
||||
|
||||
[state_enabled]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + ".png{IPF}"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[draw]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + ".png~GS(){IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + ".png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + ".png{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + ".png~GS(){IPF}"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[/draw]
|
||||
[state_pressed]
|
||||
[draw]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + "-pressed.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[/state_enabled]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + "-pressed.png{IPF}"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_pressed]
|
||||
|
||||
[state_disabled]
|
||||
[state_focussed]
|
||||
[draw]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + "-active.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + ".png~GS(){IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + ".png~GS(){IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[state_pressed]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + "-pressed.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + "-pressed.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_pressed]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + "-active.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + "-active.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
[/resolution]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + "-active.png{IPF}"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
#define _GUI_DEFINITION ID DESCRIPTION IMAGE IMAGE_OVERLAY IPF
|
||||
[button_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
[button_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
|
||||
{_GUI_RESOLUTION () 25 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
|
||||
|
||||
[/button_definition]
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
|
||||
{_GUI_RESOLUTION () 25 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
|
||||
[/button_definition]
|
||||
#enddef
|
||||
|
||||
# Scrollbar buttons
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"down_arrow"
|
||||
"Down arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_down_25"
|
||||
()
|
||||
"down_arrow"
|
||||
"Down arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_down_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"up_arrow"
|
||||
"Up arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_up_25"
|
||||
()
|
||||
"up_arrow"
|
||||
"Up arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_up_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"left_arrow"
|
||||
"Left arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_left_25"
|
||||
()
|
||||
"left_arrow"
|
||||
"Left arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_left_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"right_arrow"
|
||||
"Right arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_right_25"
|
||||
()
|
||||
"right_arrow"
|
||||
"Right arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_right_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"add"
|
||||
"Addition button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/action/ornate_add_25"
|
||||
()
|
||||
"add"
|
||||
"Addition button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/action/ornate_add_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"delete"
|
||||
"Deletion button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/action/ornate_delete_25"
|
||||
()
|
||||
"delete"
|
||||
"Deletion button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/action/ornate_delete_25"
|
||||
()
|
||||
}
|
||||
|
||||
# Transparent scrollbar buttons
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"down_arrow_transparent"
|
||||
"Down arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_down_25"
|
||||
"~O(65%)"
|
||||
"down_arrow_transparent"
|
||||
"Down arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_down_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"up_arrow_transparent"
|
||||
"Up arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_up_25"
|
||||
"~O(65%)"
|
||||
"up_arrow_transparent"
|
||||
"Up arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_up_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"left_arrow_transparent"
|
||||
"Left arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_left_25"
|
||||
"~O(65%)"
|
||||
"left_arrow_transparent"
|
||||
"Left arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_left_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"right_arrow_transparent"
|
||||
"Right arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_right_25"
|
||||
"~O(65%)"
|
||||
"right_arrow_transparent"
|
||||
"Right arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_right_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"add_transparent"
|
||||
"Transparent addition button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/action/ornate_add_25"
|
||||
"~O(65%)"
|
||||
"add_transparent"
|
||||
"Transparent addition button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/action/ornate_add_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"delete_transparent"
|
||||
"Transparent deletion button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/action/ornate_delete_25"
|
||||
"~O(65%)"
|
||||
"delete_transparent"
|
||||
"Transparent deletion button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/action/ornate_delete_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
# Action icon buttons
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"action_copy"
|
||||
"Right arrow button for copy-to-clipboard."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/action/copy_25"
|
||||
()
|
||||
"action_copy"
|
||||
"Right arrow button for copy-to-clipboard."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/action/copy_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"action_go"
|
||||
"Right arrow button for go/browse actions."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_right_25"
|
||||
()
|
||||
"action_go"
|
||||
"Right arrow button for go/browse actions."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_right_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"left_arrow_short_ornate"
|
||||
"Left arrow action button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/short_arrow_ornate_left_25"
|
||||
()
|
||||
"left_arrow_short_ornate"
|
||||
"Left arrow action button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/short_arrow_ornate_left_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"right_arrow_short_ornate"
|
||||
"Right arrow action button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/short_arrow_ornate_right_25"
|
||||
()
|
||||
"right_arrow_short_ornate"
|
||||
"Right arrow action button."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/short_arrow_ornate_right_25"
|
||||
()
|
||||
}
|
||||
|
||||
#undef _GUI_DEFINITION
|
||||
|
|
|
@ -4,110 +4,88 @@
|
|||
###
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION MIN_WIDTH DEFAULT_WIDTH HEIGHT EXTRA_WIDTH EXTRA_HEIGHT FONT_SIZE BASE_NAME IPF
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {MIN_WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
|
||||
min_width = {MIN_WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
default_width = {DEFAULT_WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
|
||||
default_width = {DEFAULT_WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
text_extra_height = {EXTRA_HEIGHT}
|
||||
text_font_size = {FONT_SIZE}
|
||||
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
text_extra_height = {EXTRA_HEIGHT}
|
||||
text_font_size = {FONT_SIZE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[image]
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
name = "buttons/{BASE_NAME}.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[state_enabled]
|
||||
{GUI__CENTERED_TEXT ({FONT_SIZE}) () ({GUI__FONT_COLOR_ENABLED__TITLE})}
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[draw]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[image]
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
name = "buttons/{BASE_NAME}.png~GS(){IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
name = "buttons/{BASE_NAME}.png{IPF}"
|
||||
[/image]
|
||||
{GUI__CENTERED_TEXT ({FONT_SIZE}) () ({GUI__FONT_COLOR_DISABLED__TITLE})}
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
{GUI__CENTERED_TEXT ({FONT_SIZE}) () ({GUI__FONT_COLOR_ENABLED__TITLE})}
|
||||
[state_pressed]
|
||||
[draw]
|
||||
[image]
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
name = "buttons/{BASE_NAME}-pressed.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
{GUI__CENTERED_TEXT ({FONT_SIZE}) () ({GUI__FONT_COLOR_ENABLED__TITLE})}
|
||||
[/draw]
|
||||
[/state_pressed]
|
||||
|
||||
[/state_enabled]
|
||||
[state_focussed]
|
||||
[draw]
|
||||
[image]
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
name = "buttons/{BASE_NAME}-active.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[state_disabled]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
name = "buttons/{BASE_NAME}.png~GS(){IPF}"
|
||||
[/image]
|
||||
|
||||
{GUI__CENTERED_TEXT ({FONT_SIZE}) () ({GUI__FONT_COLOR_DISABLED__TITLE})}
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[state_pressed]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
name = "buttons/{BASE_NAME}-pressed.png{IPF}"
|
||||
[/image]
|
||||
|
||||
{GUI__CENTERED_TEXT ({FONT_SIZE}) () ({GUI__FONT_COLOR_ENABLED__TITLE})}
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_pressed]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
name = "buttons/{BASE_NAME}-active.png{IPF}"
|
||||
[/image]
|
||||
|
||||
{GUI__CENTERED_TEXT ({FONT_SIZE}) () ({GUI__FONT_COLOR_ENABLED__TITLE})}
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
[/resolution]
|
||||
{GUI__CENTERED_TEXT ({FONT_SIZE}) () ({GUI__FONT_COLOR_ENABLED__TITLE})}
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[button_definition]
|
||||
id = "default"
|
||||
description = "Default button"
|
||||
|
||||
id = "default"
|
||||
description = "Default button"
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 54 11 6 2 ({GUI_TINY__FONT_SIZE__SMALL}) "button_normal/button_H22" ()}
|
||||
{_GUI_RESOLUTION () 40 108 22 13 4 ({GUI_NORMAL__FONT_SIZE__SMALL}) "button_normal/button_H22" ()}
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 54 11 6 2 ({GUI_TINY__FONT_SIZE__SMALL}) "button_normal/button_H22" ()}
|
||||
{_GUI_RESOLUTION () 40 108 22 13 4 ({GUI_NORMAL__FONT_SIZE__SMALL}) "button_normal/button_H22" ()}
|
||||
[/button_definition]
|
||||
|
||||
[button_definition]
|
||||
id = "transparent"
|
||||
description = "Default transparent button"
|
||||
|
||||
id = "transparent"
|
||||
description = "Default transparent button"
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 54 11 6 2 ({GUI_TINY__FONT_SIZE__SMALL}) "button_normal/button_H22" "~O(65%)"}
|
||||
{_GUI_RESOLUTION () 40 108 22 13 4 ({GUI_NORMAL__FONT_SIZE__SMALL}) "button_normal/button_H22" "~O(65%)"}
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 54 11 6 2 ({GUI_TINY__FONT_SIZE__SMALL}) "button_normal/button_H22" "~O(65%)"}
|
||||
{_GUI_RESOLUTION () 40 108 22 13 4 ({GUI_NORMAL__FONT_SIZE__SMALL}) "button_normal/button_H22" "~O(65%)"}
|
||||
[/button_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
|
|
|
@ -4,11 +4,9 @@
|
|||
###
|
||||
|
||||
[drawing_definition]
|
||||
id = "default"
|
||||
description = "The default drawing."
|
||||
|
||||
[resolution]
|
||||
[/resolution]
|
||||
id = "default"
|
||||
description = "The default drawing."
|
||||
|
||||
[resolution]
|
||||
[/resolution]
|
||||
[/drawing_definition]
|
||||
|
||||
|
|
|
@ -4,128 +4,123 @@
|
|||
###
|
||||
|
||||
#define _GUI_STATE GROOVE_LEFT GROOVE_RIGHT POSITIONER_LEFT POSITIONER_RIGHT IMAGE_SUFFIX IPF
|
||||
[draw]
|
||||
[draw]
|
||||
#
|
||||
# Groove
|
||||
#
|
||||
|
||||
#
|
||||
# Groove
|
||||
#
|
||||
[image]
|
||||
# 4 pixels wide
|
||||
x = 0
|
||||
y = 0
|
||||
name = "buttons/scrollgroove-left.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
# 4 pixels wide
|
||||
x = 0
|
||||
y = 0
|
||||
name = "buttons/scrollgroove-left.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = {GROOVE_LEFT}
|
||||
y = 0
|
||||
w = "(if(width - {GROOVE_LEFT} - {GROOVE_RIGHT} < 0
|
||||
[image]
|
||||
x = {GROOVE_LEFT}
|
||||
y = 0
|
||||
w = "(if(width - {GROOVE_LEFT} - {GROOVE_RIGHT} < 0
|
||||
, 0, width - {GROOVE_LEFT} - {GROOVE_RIGHT}))"
|
||||
h = 0
|
||||
resize_mode = "stretch"
|
||||
name = "buttons/scrollgroove-horizontal.png{IPF}"
|
||||
[/image]
|
||||
h = 0
|
||||
resize_mode = "stretch"
|
||||
name = "buttons/scrollgroove-horizontal.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
# 5 pixels wide
|
||||
x = "(width - {GROOVE_RIGHT})"
|
||||
y = 0
|
||||
name = "buttons/scrollgroove-right.png{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
# 5 pixels wide
|
||||
x = "(width - {GROOVE_RIGHT})"
|
||||
y = 0
|
||||
name = "buttons/scrollgroove-right.png{IPF}"
|
||||
[/image]
|
||||
|
||||
#
|
||||
# Positioner
|
||||
#
|
||||
#
|
||||
# Positioner
|
||||
#
|
||||
|
||||
[image]
|
||||
# 5 pixels wide
|
||||
x = "(positioner_offset)"
|
||||
y = 0
|
||||
name = "buttons/scrollleft{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
# 5 pixels wide
|
||||
x = "(positioner_offset)"
|
||||
y = 0
|
||||
name = "buttons/scrollleft{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(positioner_offset + {POSITIONER_LEFT})"
|
||||
y = 0
|
||||
w = "(
|
||||
[image]
|
||||
x = "(positioner_offset + {POSITIONER_LEFT})"
|
||||
y = 0
|
||||
w = "(
|
||||
if(positioner_length - {POSITIONER_LEFT} - {POSITIONER_RIGHT} < 0
|
||||
, 0, positioner_length - {POSITIONER_LEFT} - {POSITIONER_RIGHT}))"
|
||||
resize_mode = "stretch"
|
||||
name = "buttons/scrollhorizontal{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
resize_mode = "stretch"
|
||||
name = "buttons/scrollhorizontal{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
# 5 pixels wide
|
||||
x = "(positioner_offset + positioner_length - {POSITIONER_RIGHT})"
|
||||
y = 0
|
||||
name = "buttons/scrollright{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
[image]
|
||||
# 5 pixels wide
|
||||
x = "(positioner_offset + positioner_length - {POSITIONER_RIGHT})"
|
||||
y = 0
|
||||
name = "buttons/scrollright{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
[/draw]
|
||||
#enddef
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION WIDTH HEIGHT POSITIONER_LENGHT GROOVE_LEFT GROOVE_RIGHT POSITIONER_LEFT POSITIONER_RIGHT IPF
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
|
||||
min_width = {WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
default_width = {WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
|
||||
default_width = {WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
minimum_positioner_length = {POSITIONER_LENGHT}
|
||||
|
||||
minimum_positioner_length = {POSITIONER_LENGHT}
|
||||
left_offset = 0
|
||||
right_offset = 0
|
||||
|
||||
left_offset = 0
|
||||
right_offset = 0
|
||||
[state_enabled]
|
||||
{_GUI_STATE ({GROOVE_LEFT}) ({GROOVE_RIGHT}) ({POSITIONER_LEFT}) ({POSITIONER_RIGHT}) ".png" ({IPF}) }
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
{_GUI_STATE ({GROOVE_LEFT}) ({GROOVE_RIGHT}) ({POSITIONER_LEFT}) ({POSITIONER_RIGHT}) ".png" ({IPF}) }
|
||||
[/state_enabled]
|
||||
[state_disabled]
|
||||
{_GUI_STATE ({GROOVE_LEFT}) ({GROOVE_RIGHT}) ({POSITIONER_LEFT}) ({POSITIONER_RIGHT}) ".png~GS()" ({IPF}) }
|
||||
[/state_disabled]
|
||||
|
||||
[state_disabled]
|
||||
{_GUI_STATE ({GROOVE_LEFT}) ({GROOVE_RIGHT}) ({POSITIONER_LEFT}) ({POSITIONER_RIGHT}) ".png~GS()" ({IPF}) }
|
||||
[/state_disabled]
|
||||
[state_pressed]
|
||||
{_GUI_STATE ({GROOVE_LEFT}) ({GROOVE_RIGHT}) ({POSITIONER_LEFT}) ({POSITIONER_RIGHT}) "-pressed.png" ({IPF}) }
|
||||
[/state_pressed]
|
||||
|
||||
[state_pressed]
|
||||
{_GUI_STATE ({GROOVE_LEFT}) ({GROOVE_RIGHT}) ({POSITIONER_LEFT}) ({POSITIONER_RIGHT}) "-pressed.png" ({IPF}) }
|
||||
[/state_pressed]
|
||||
|
||||
[state_focussed]
|
||||
{_GUI_STATE ({GROOVE_LEFT}) ({GROOVE_RIGHT}) ({POSITIONER_LEFT}) ({POSITIONER_RIGHT}) "-active.png" ({IPF}) }
|
||||
[/state_focussed]
|
||||
[/resolution]
|
||||
[state_focussed]
|
||||
{_GUI_STATE ({GROOVE_LEFT}) ({GROOVE_RIGHT}) ({POSITIONER_LEFT}) ({POSITIONER_RIGHT}) "-active.png" ({IPF}) }
|
||||
[/state_focussed]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[horizontal_scrollbar_definition]
|
||||
id = "default"
|
||||
description = "a horizontal scrollbar"
|
||||
id = "default"
|
||||
description = "a horizontal scrollbar"
|
||||
|
||||
# Note a scrollbar is normally sized by the item that "masters" it
|
||||
# that's why the default height is rather low.
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 12 11 2 2 2 2 ()}
|
||||
{_GUI_RESOLUTION () 20 25 11 4 5 5 5 ()}
|
||||
# Note a scrollbar is normally sized by the item that "masters" it
|
||||
# that's why the default height is rather low.
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 12 11 2 2 2 2 ()}
|
||||
{_GUI_RESOLUTION () 20 25 11 4 5 5 5 ()}
|
||||
[/horizontal_scrollbar_definition]
|
||||
|
||||
[horizontal_scrollbar_definition]
|
||||
id = "transparent"
|
||||
description = "a transparent horizontal scrollbar"
|
||||
id = "transparent"
|
||||
description = "a transparent horizontal scrollbar"
|
||||
|
||||
# Note a scrollbar is normally sized by the item that "masters" it
|
||||
# that's why the default height is rather low.
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 12 11 2 2 2 2 "~O(65%)"}
|
||||
{_GUI_RESOLUTION () 20 25 11 4 5 5 5 "~O(65%)"}
|
||||
# Note a scrollbar is normally sized by the item that "masters" it
|
||||
# that's why the default height is rather low.
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 12 11 2 2 2 2 "~O(65%)"}
|
||||
{_GUI_RESOLUTION () 20 25 11 4 5 5 5 "~O(65%)"}
|
||||
[/horizontal_scrollbar_definition]
|
||||
|
||||
#undef _GUI_STATE
|
||||
|
|
|
@ -4,33 +4,25 @@
|
|||
###
|
||||
|
||||
[image_definition]
|
||||
id = "default"
|
||||
description = "an image."
|
||||
id = "default"
|
||||
description = "an image."
|
||||
|
||||
[resolution]
|
||||
[resolution]
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
[state_enabled]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "(text)"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled]
|
||||
|
||||
[/resolution]
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[image]
|
||||
name = "(text)"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
[/resolution]
|
||||
[/image_definition]
|
||||
|
||||
|
|
|
@ -7,94 +7,82 @@
|
|||
### - title_screen_tip, the one for the tips in the title screen, with a maximum width
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION FONT_SIZE FONT_STYLE FONT_COLOR_ENABLED FONT_COLOR_DISABLED MAX_WIDTH
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = {MAX_WIDTH}
|
||||
max_height = 0
|
||||
|
||||
max_width = {MAX_WIDTH}
|
||||
max_height = 0
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[text]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
font_style = {FONT_STYLE}
|
||||
text_alignment = "(text_alignment)"
|
||||
color = {FONT_COLOR_ENABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
|
||||
[draw]
|
||||
|
||||
[text]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
font_style = {FONT_STYLE}
|
||||
text_alignment = "(text_alignment)"
|
||||
color = {FONT_COLOR_ENABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled]
|
||||
|
||||
[state_disabled]
|
||||
|
||||
[draw]
|
||||
|
||||
[text]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
font_style = {FONT_STYLE}
|
||||
text_alignment = "(text_alignment)"
|
||||
color = {FONT_COLOR_DISABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[/resolution]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[text]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
font_style = {FONT_STYLE}
|
||||
text_alignment = "(text_alignment)"
|
||||
color = {FONT_COLOR_DISABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
#define _GUI_DEFINITION ID DESCRIPTION FONT_SIZE FONT_STYLE FONT_COLOR MAX_WIDTH
|
||||
[label_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
[label_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__{FONT_SIZE}})
|
||||
({FONT_STYLE})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({MAX_WIDTH})
|
||||
}
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__{FONT_SIZE}})
|
||||
({FONT_STYLE})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({MAX_WIDTH})
|
||||
}
|
||||
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__{FONT_SIZE}})
|
||||
({FONT_STYLE})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({MAX_WIDTH})
|
||||
}
|
||||
|
||||
[/label_definition]
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__{FONT_SIZE}})
|
||||
({FONT_STYLE})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({MAX_WIDTH})
|
||||
}
|
||||
[/label_definition]
|
||||
#enddef
|
||||
|
||||
# Enable the other types when needed.
|
||||
|
|
|
@ -7,92 +7,80 @@
|
|||
### - title, for titles in dialogs.
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION FONT_SIZE FONT_STYLE FONT_COLOR_ENABLED FONT_COLOR_DISABLED Y_POSITION
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[text]
|
||||
x = 0
|
||||
y = {Y_POSITION}
|
||||
w = "(width)"
|
||||
h = "(text_height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
font_style = {FONT_STYLE}
|
||||
color = {FONT_COLOR_ENABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
|
||||
[draw]
|
||||
|
||||
[text]
|
||||
x = 0
|
||||
y = {Y_POSITION}
|
||||
w = "(width)"
|
||||
h = "(text_height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
font_style = {FONT_STYLE}
|
||||
color = {FONT_COLOR_ENABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled]
|
||||
|
||||
[state_disabled]
|
||||
|
||||
[draw]
|
||||
|
||||
[text]
|
||||
x = 0
|
||||
y = {Y_POSITION}
|
||||
w = "(width)"
|
||||
h = "(text_height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
font_style = {FONT_STYLE}
|
||||
color = {FONT_COLOR_DISABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[/resolution]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[text]
|
||||
x = 0
|
||||
y = {Y_POSITION}
|
||||
w = "(width)"
|
||||
h = "(text_height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
font_style = {FONT_STYLE}
|
||||
color = {FONT_COLOR_DISABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
#define _GUI_DEFINITION ID DESCRIPTION FONT_SIZE FONT_STYLE FONT_COLOR Y_POSITION
|
||||
[label_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
[label_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__{FONT_SIZE}})
|
||||
({FONT_STYLE})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({Y_POSITION})
|
||||
}
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__{FONT_SIZE}})
|
||||
({FONT_STYLE})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({Y_POSITION})
|
||||
}
|
||||
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__{FONT_SIZE}})
|
||||
({FONT_STYLE})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({Y_POSITION})
|
||||
}
|
||||
|
||||
[/label_definition]
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__{FONT_SIZE}})
|
||||
({FONT_STYLE})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({Y_POSITION})
|
||||
}
|
||||
[/label_definition]
|
||||
#enddef
|
||||
|
||||
{_GUI_DEFINITION "default" "default label" DEFAULT () DEFAULT ({GUI__TEXT_VERTICALLY_CENTRED})}
|
||||
|
|
|
@ -5,89 +5,77 @@
|
|||
### Defines the following revision label for the title screen.
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION FONT_SIZE FONT_COLOR_ENABLED FONT_COLOR_DISABLED Y_POSITION
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
text_font_size = {FONT_SIZE}
|
||||
|
||||
text_font_size = {FONT_SIZE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[text]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
text_alignment = "(text_alignment)"
|
||||
color = {FONT_COLOR_ENABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
|
||||
[draw]
|
||||
|
||||
[text]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
text_alignment = "(text_alignment)"
|
||||
color = {FONT_COLOR_ENABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled]
|
||||
|
||||
[state_disabled]
|
||||
|
||||
[draw]
|
||||
|
||||
[text]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
text_alignment = "(text_alignment)"
|
||||
color = {FONT_COLOR_DISABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[/resolution]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[text]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
maximum_width = "(width)"
|
||||
font_size = {FONT_SIZE}
|
||||
text_alignment = "(text_alignment)"
|
||||
color = {FONT_COLOR_DISABLED}
|
||||
text = "(text)"
|
||||
text_markup = "(text_markup)"
|
||||
[/text]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
#define _GUI_DEFINITION ID DESCRIPTION FONT_SIZE FONT_COLOR Y_POSITION
|
||||
[label_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
[label_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__{FONT_SIZE}})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({Y_POSITION})
|
||||
}
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__{FONT_SIZE}})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({Y_POSITION})
|
||||
}
|
||||
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__{FONT_SIZE}})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({Y_POSITION})
|
||||
}
|
||||
|
||||
[/label_definition]
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__{FONT_SIZE}})
|
||||
({GUI__FONT_COLOR_ENABLED__{FONT_COLOR}})
|
||||
({GUI__FONT_COLOR_DISABLED__{FONT_COLOR}})
|
||||
({Y_POSITION})
|
||||
}
|
||||
[/label_definition]
|
||||
#enddef
|
||||
|
||||
{_GUI_DEFINITION "title_screen_revision" "label used for the revision number in the title screen" SMALL DEFAULT ({GUI__TEXT_VERTICALLY_CENTRED})}
|
||||
|
|
|
@ -8,173 +8,142 @@
|
|||
###
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION FONT_SIZE FONT_STYLE FONT_COLOR_ENABLED FONT_COLOR_DISABLED
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/state_enabled]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true" # needed ?
|
||||
vertical_grow = "true" # needed ?
|
||||
|
||||
[state_disabled]
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/state_disabled]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
id = "_header_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true" # needed ?
|
||||
vertical_grow = "true" # needed ?
|
||||
[grid]
|
||||
id = "_list_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
id = "_footer_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[grid]
|
||||
id = "_header_grid"
|
||||
[/grid]
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/column]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[grid]
|
||||
id = "_list_grid"
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
id = "_footer_grid"
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID}
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
|
||||
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID}
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[listbox_definition]
|
||||
id = "default"
|
||||
description = "Default listbox."
|
||||
id = "default"
|
||||
description = "Default listbox."
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
[/listbox_definition]
|
||||
|
||||
[horizontal_listbox_definition]
|
||||
id = "default"
|
||||
description = "Default horizontal listbox."
|
||||
id = "default"
|
||||
description = "Default horizontal listbox."
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
[/horizontal_listbox_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
|
||||
|
|
|
@ -4,150 +4,121 @@
|
|||
###
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION FONT_SIZE FONT_STYLE FONT_COLOR_ENABLED FONT_COLOR_DISABLED
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/state_enabled]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true" # needed ?
|
||||
vertical_grow = "true" # needed ?
|
||||
|
||||
[state_disabled]
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/state_disabled]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
id = "_header_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true" # needed ?
|
||||
vertical_grow = "true" # needed ?
|
||||
[grid]
|
||||
id = "_list_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
id = "_footer_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[grid]
|
||||
id = "_header_grid"
|
||||
[/grid]
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID_TRANSPARENT}
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/column]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID_TRANSPARENT}
|
||||
[/column]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[grid]
|
||||
id = "_list_grid"
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
id = "_footer_grid"
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID_TRANSPARENT}
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
|
||||
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID_TRANSPARENT}
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[listbox_definition]
|
||||
id = "wml_message"
|
||||
description = "Listbox for wml_message."
|
||||
id = "wml_message"
|
||||
description = "Listbox for wml_message."
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
[/listbox_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
|
||||
|
|
|
@ -4,238 +4,182 @@
|
|||
###
|
||||
|
||||
#define _GUI_VIEW
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
[viewport]
|
||||
id = "_top_viewport"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[widget]
|
||||
[instance]
|
||||
id = "_top"
|
||||
[/instance]
|
||||
[/widget]
|
||||
[/viewport]
|
||||
[/column]
|
||||
|
||||
[viewport]
|
||||
id = "_top_viewport"
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[widget]
|
||||
|
||||
[instance]
|
||||
id = "_top"
|
||||
[/instance]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/widget]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/viewport]
|
||||
[column]
|
||||
[viewport]
|
||||
id = "_left_viewport"
|
||||
|
||||
[/column]
|
||||
[widget]
|
||||
[instance]
|
||||
id = "_left"
|
||||
[/instance]
|
||||
[/widget]
|
||||
[/viewport]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
[viewport]
|
||||
id = "_main_viewport"
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[widget]
|
||||
[instance]
|
||||
id = "_main"
|
||||
[/instance]
|
||||
[/widget]
|
||||
[/viewport]
|
||||
[/column]
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
[viewport]
|
||||
id = "_right_viewport"
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[widget]
|
||||
[instance]
|
||||
id = "_right"
|
||||
[/instance]
|
||||
[/widget]
|
||||
[/viewport]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[viewport]
|
||||
id = "_left_viewport"
|
||||
[column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
|
||||
[widget]
|
||||
|
||||
[instance]
|
||||
id = "_left"
|
||||
[/instance]
|
||||
[column]
|
||||
[viewport]
|
||||
id = "_bottom_viewport"
|
||||
|
||||
[/widget]
|
||||
[widget]
|
||||
[instance]
|
||||
id = "_bottom"
|
||||
[/instance]
|
||||
[/widget]
|
||||
[/viewport]
|
||||
[/column]
|
||||
|
||||
[/viewport]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[viewport]
|
||||
id = "_main_viewport"
|
||||
|
||||
[widget]
|
||||
|
||||
[instance]
|
||||
id = "_main"
|
||||
[/instance]
|
||||
|
||||
[/widget]
|
||||
|
||||
[/viewport]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[viewport]
|
||||
id = "_right_viewport"
|
||||
|
||||
[widget]
|
||||
|
||||
[instance]
|
||||
id = "_right"
|
||||
[/instance]
|
||||
|
||||
[/widget]
|
||||
|
||||
[/viewport]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[viewport]
|
||||
id = "_bottom_viewport"
|
||||
|
||||
[widget]
|
||||
|
||||
[instance]
|
||||
id = "_bottom"
|
||||
[/instance]
|
||||
|
||||
[/widget]
|
||||
|
||||
[/viewport]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
[column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
#enddef
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION FONT_SIZE FONT_STYLE FONT_COLOR_ENABLED FONT_COLOR_DISABLED
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[content]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/state_enabled]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[state_disabled]
|
||||
{_GUI_VIEW}
|
||||
[/column]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[column]
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/state_disabled]
|
||||
[row]
|
||||
[column]
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
|
||||
[content]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
{_GUI_VIEW}
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID}
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID}
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/content]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
[/content]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[matrix_definition]
|
||||
id = "default"
|
||||
description = "Default matrix."
|
||||
id = "default"
|
||||
description = "Default matrix."
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
[/matrix_definition]
|
||||
|
||||
#undef _GUI_VIEW
|
||||
#undef _GUI_RESOLUTION
|
||||
|
||||
|
|
|
@ -3,47 +3,40 @@
|
|||
### Definition of a minimap.
|
||||
###
|
||||
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION SIZE
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {SIZE}
|
||||
min_height = {SIZE}
|
||||
|
||||
min_width = {SIZE}
|
||||
min_height = {SIZE}
|
||||
default_width = {SIZE}
|
||||
default_height = {SIZE}
|
||||
|
||||
default_width = {SIZE}
|
||||
default_height = {SIZE}
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
[state_enabled]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
|
||||
[/state_enabled]
|
||||
|
||||
[/resolution]
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[minimap_definition]
|
||||
id = "default"
|
||||
description = "a minimap."
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 50 }
|
||||
{_GUI_RESOLUTION () 100 }
|
||||
id = "default"
|
||||
description = "a minimap."
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 50 }
|
||||
{_GUI_RESOLUTION () 100 }
|
||||
[/minimap_definition]
|
||||
|
||||
[minimap_definition]
|
||||
id = "no_size"
|
||||
description = "a minimap without a size, this way it can be sized in it's container."
|
||||
|
||||
{_GUI_RESOLUTION () 0}
|
||||
id = "no_size"
|
||||
description = "a minimap without a size, this way it can be sized in it's container."
|
||||
|
||||
{_GUI_RESOLUTION () 0}
|
||||
[/minimap_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
|
|
|
@ -4,39 +4,30 @@
|
|||
###
|
||||
|
||||
[multi_page_definition]
|
||||
id = "default"
|
||||
description = "Default multi page widget."
|
||||
id = "default"
|
||||
description = "Default multi page widget."
|
||||
|
||||
[resolution]
|
||||
[resolution]
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/multi_page_definition]
|
||||
|
||||
|
|
|
@ -4,29 +4,18 @@
|
|||
###
|
||||
|
||||
[panel_definition]
|
||||
id = "default"
|
||||
description = "The default panel, we basically are an 'invisible' grid at the moment."
|
||||
|
||||
id = "default"
|
||||
description = "The default panel, we basically are an 'invisible' grid at the moment."
|
||||
|
||||
[resolution]
|
||||
|
||||
[background]
|
||||
|
||||
[draw]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/background]
|
||||
|
||||
[foreground]
|
||||
|
||||
[draw]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/foreground]
|
||||
|
||||
[/resolution]
|
||||
[resolution]
|
||||
[background]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/background]
|
||||
|
||||
[foreground]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/foreground]
|
||||
[/resolution]
|
||||
[/panel_definition]
|
||||
|
||||
|
|
|
@ -6,113 +6,102 @@
|
|||
###
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION BORDER OFFSET_SIDE_1 OFFSET_SIDE_2 OFFSET_TOTAL
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
left_border = {BORDER}
|
||||
right_border = {BORDER}
|
||||
top_border = {BORDER}
|
||||
bottom_border = {BORDER}
|
||||
|
||||
left_border = {BORDER}
|
||||
right_border = {BORDER}
|
||||
top_border = {BORDER}
|
||||
bottom_border = {BORDER}
|
||||
[background]
|
||||
[draw]
|
||||
# Blurring doesn't work yet, keeps adding
|
||||
# [pre_commit]
|
||||
#
|
||||
# [blur]
|
||||
# depth = 1
|
||||
# [/blur]
|
||||
#
|
||||
# [/pre_commit]
|
||||
|
||||
[background]
|
||||
[image]
|
||||
name = "dialogs/translucent54-border-topleft.png"
|
||||
[/image]
|
||||
|
||||
[draw]
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = 0
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/translucent54-border-top.png"
|
||||
[/image]
|
||||
|
||||
# Blurring doesn't work yet, keeps adding
|
||||
# [pre_commit]
|
||||
#
|
||||
# [blur]
|
||||
# depth = 1
|
||||
# [/blur]
|
||||
#
|
||||
# [/pre_commit]
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = 0
|
||||
name = "dialogs/translucent54-border-topright.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
name = "dialogs/translucent54-border-topleft.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = {OFFSET_SIDE_1}
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/translucent54-border-right.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = 0
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/translucent54-border-top.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
name = "dialogs/translucent54-border-botright.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = 0
|
||||
name = "dialogs/translucent54-border-topright.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/translucent54-border-bottom.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = {OFFSET_SIDE_1}
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/translucent54-border-right.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = 0
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
name = "dialogs/translucent54-border-botleft.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
name = "dialogs/translucent54-border-botright.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = 0
|
||||
y = {OFFSET_SIDE_1}
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/translucent54-border-left.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/translucent54-border-bottom.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = {OFFSET_SIDE_1}
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
name = "dialogs/translucent54-background.png"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/background]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
name = "dialogs/translucent54-border-botleft.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = {OFFSET_SIDE_1}
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/translucent54-border-left.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = {OFFSET_SIDE_1}
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
name = "dialogs/translucent54-background.png"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/background]
|
||||
|
||||
[foreground]
|
||||
|
||||
[draw]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/foreground]
|
||||
|
||||
[/resolution]
|
||||
[foreground]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/foreground]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[panel_definition]
|
||||
id = "title_screen"
|
||||
description = "Definition of the panel for the title screen"
|
||||
|
||||
id = "title_screen"
|
||||
description = "Definition of the panel for the title screen"
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 2 4 6 }
|
||||
{_GUI_RESOLUTION () 25 5 9 14 }
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 2 4 6 }
|
||||
{_GUI_RESOLUTION () 25 5 9 14 }
|
||||
[/panel_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
|
|
|
@ -4,62 +4,51 @@
|
|||
###
|
||||
|
||||
#define _GUI_BASE_NAME
|
||||
"translucent65" #enddef
|
||||
"translucent65" #enddef
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION BORDER_SIDE_1 BORDER_SIDE_2 OFFSET_SIDE_1 OFFSET_TOTAL
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
left_border = 0
|
||||
right_border = 0
|
||||
top_border = {BORDER_SIDE_1}
|
||||
bottom_border = {BORDER_SIDE_2}
|
||||
|
||||
left_border = 0
|
||||
right_border = 0
|
||||
top_border = {BORDER_SIDE_1}
|
||||
bottom_border = {BORDER_SIDE_2}
|
||||
[background]
|
||||
[draw]
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/" + {_GUI_BASE_NAME} + "-border-top.png"
|
||||
[/image]
|
||||
|
||||
[background]
|
||||
[image]
|
||||
x = 0
|
||||
y = {OFFSET_SIDE_1}
|
||||
w = "(width)"
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height))"
|
||||
name = "dialogs/" + {_GUI_BASE_NAME} + "-background.png"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/background]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/" + {_GUI_BASE_NAME} + "-border-top.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = {OFFSET_SIDE_1}
|
||||
w = "(width)"
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height))"
|
||||
name = "dialogs/" + {_GUI_BASE_NAME} + "-background.png"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/background]
|
||||
|
||||
[foreground]
|
||||
|
||||
[draw]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/foreground]
|
||||
|
||||
[/resolution]
|
||||
[foreground]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/foreground]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[panel_definition]
|
||||
id = "wml_message"
|
||||
description = "The panel for the wml messages."
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 5 6 2 6 }
|
||||
{_GUI_RESOLUTION () 10 13 5 14 }
|
||||
id = "wml_message"
|
||||
description = "The panel for the wml messages."
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 5 6 2 6 }
|
||||
{_GUI_RESOLUTION () 10 13 5 14 }
|
||||
[/panel_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
#undef _GUI_BASE_NAME
|
||||
|
||||
|
|
|
@ -5,80 +5,72 @@
|
|||
###
|
||||
|
||||
[progress_bar_definition]
|
||||
id = "default"
|
||||
description = "A progress_bar."
|
||||
id = "default"
|
||||
description = "A progress_bar."
|
||||
|
||||
[resolution]
|
||||
[resolution]
|
||||
min_width = 14
|
||||
min_height = 41
|
||||
|
||||
min_width = 14
|
||||
min_height = 41
|
||||
default_width = 54
|
||||
default_height = 41
|
||||
|
||||
default_width = 54
|
||||
default_height = 41
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
[state_enabled]
|
||||
[draw]
|
||||
# Outer "golden" border.
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
border_thickness = 1
|
||||
border_color = "188, 176, 136, 255"
|
||||
[/rectangle]
|
||||
|
||||
[state_enabled]
|
||||
# Inner black border, with gray filling.
|
||||
[rectangle]
|
||||
x = 1
|
||||
y = 1
|
||||
w = "(width - 2)"
|
||||
h = "(height - 2)"
|
||||
border_thickness = 1
|
||||
border_color = "0, 0, 0, 255"
|
||||
fill_color = "21, 22, 24, 255"
|
||||
[/rectangle]
|
||||
|
||||
[draw]
|
||||
# 3D effect at upper side.
|
||||
[rectangle]
|
||||
x = 2
|
||||
y = 2
|
||||
w = "(((width - 4) * percentage) / 100)"
|
||||
h = 2
|
||||
border_thickness = 0
|
||||
fill_color = "79, 103, 123, 255"
|
||||
[/rectangle]
|
||||
|
||||
# Outer "golden" border.
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
border_thickness = 1
|
||||
border_color = "188, 176, 136, 255"
|
||||
[/rectangle]
|
||||
|
||||
# Inner black border, with gray filling.
|
||||
[rectangle]
|
||||
x = 1
|
||||
y = 1
|
||||
w = "(width - 2)"
|
||||
h = "(height - 2)"
|
||||
border_thickness = 1
|
||||
border_color = "0, 0, 0, 255"
|
||||
fill_color = "21, 22, 24, 255"
|
||||
[/rectangle]
|
||||
|
||||
# 3D effect at upper side.
|
||||
[rectangle]
|
||||
x = 2
|
||||
y = 2
|
||||
w = "(((width - 4) * percentage) / 100)"
|
||||
h = 2
|
||||
border_thickness = 0
|
||||
fill_color = "79, 103, 123, 255"
|
||||
[/rectangle]
|
||||
|
||||
# Main bar
|
||||
[rectangle]
|
||||
x = 2
|
||||
y = 4
|
||||
w = "(((width - 4) * percentage) / 100)"
|
||||
h = "(height - 8)"
|
||||
border_thickness = 0
|
||||
fill_color = "21, 53, 80, 255"
|
||||
[/rectangle]
|
||||
|
||||
# 3D effect at lower side.
|
||||
[rectangle]
|
||||
x = 2
|
||||
y = 37
|
||||
w = "(((width - 4) * percentage) / 100)"
|
||||
h = 2
|
||||
border_thickness = 0
|
||||
fill_color = "10, 26, 40, 255"
|
||||
[/rectangle]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled]
|
||||
|
||||
[/resolution]
|
||||
# Main bar
|
||||
[rectangle]
|
||||
x = 2
|
||||
y = 4
|
||||
w = "(((width - 4) * percentage) / 100)"
|
||||
h = "(height - 8)"
|
||||
border_thickness = 0
|
||||
fill_color = "21, 53, 80, 255"
|
||||
[/rectangle]
|
||||
|
||||
# 3D effect at lower side.
|
||||
[rectangle]
|
||||
x = 2
|
||||
y = 37
|
||||
w = "(((width - 4) * percentage) / 100)"
|
||||
h = 2
|
||||
border_thickness = 0
|
||||
fill_color = "10, 26, 40, 255"
|
||||
[/rectangle]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
[/resolution]
|
||||
[/progress_bar_definition]
|
||||
|
||||
|
|
|
@ -4,41 +4,33 @@
|
|||
###
|
||||
|
||||
[progress_bar_definition]
|
||||
id = "title_screen"
|
||||
description = "A progress bar used in the title screen to fade in the logo."
|
||||
id = "title_screen"
|
||||
description = "A progress bar used in the title screen to fade in the logo."
|
||||
|
||||
[resolution]
|
||||
[resolution]
|
||||
# This maximum is also documented in the wiki
|
||||
# http://wiki.wesnoth.org/ImageLocalization#BfW_Logo
|
||||
min_width = 550
|
||||
min_height = 250
|
||||
|
||||
# This maximum is also documented in the wiki
|
||||
# http://wiki.wesnoth.org/ImageLocalization#BfW_Logo
|
||||
min_width = 550
|
||||
min_height = 250
|
||||
default_width = 550
|
||||
default_height = 250
|
||||
|
||||
default_width = 550
|
||||
default_height = 250
|
||||
|
||||
max_width = 550
|
||||
max_height = 250
|
||||
|
||||
[state_enabled]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
# w = 0 means fit
|
||||
# using percentage = 0 seems to fail for some reason...
|
||||
x = "((width - image_original_width) / 2)"
|
||||
w = "(if(percentage <= 0, 1, (image_original_width * percentage) / 100))"
|
||||
h = "(image_height)"
|
||||
name = "misc/logo.png"
|
||||
resize_mode = "tile"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled]
|
||||
|
||||
[/resolution]
|
||||
max_width = 550
|
||||
max_height = 250
|
||||
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[image]
|
||||
# w = 0 means fit
|
||||
# using percentage = 0 seems to fail for some reason...
|
||||
x = "((width - image_original_width) / 2)"
|
||||
w = "(if(percentage <= 0, 1, (image_original_width * percentage) / 100))"
|
||||
h = "(image_height)"
|
||||
name = "misc/logo.png"
|
||||
resize_mode = "tile"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
[/resolution]
|
||||
[/progress_bar_definition]
|
||||
|
||||
|
|
|
@ -5,191 +5,171 @@
|
|||
### - up arrow button for the listbox.
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION SIZE IMAGE IMAGE_OVERLAY IPF
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {SIZE}
|
||||
min_height = {SIZE}
|
||||
|
||||
min_width = {SIZE}
|
||||
min_height = {SIZE}
|
||||
default_width = {SIZE}
|
||||
default_height = {SIZE}
|
||||
|
||||
default_width = {SIZE}
|
||||
default_height = {SIZE}
|
||||
max_width = {SIZE}
|
||||
max_height = {SIZE}
|
||||
|
||||
max_width = {SIZE}
|
||||
max_height = {SIZE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + ".png{IPF}"
|
||||
[/image]
|
||||
|
||||
[state_enabled]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + ".png{IPF}"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[draw]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + ".png~GS(){IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + ".png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + ".png{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + ".png~GS(){IPF}"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[/draw]
|
||||
[state_pressed]
|
||||
[draw]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + "-pressed.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[/state_enabled]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + "-pressed.png{IPF}"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_pressed]
|
||||
|
||||
[state_disabled]
|
||||
[state_focussed]
|
||||
[draw]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + "-active.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + ".png~GS(){IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + ".png~GS(){IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[state_pressed]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + "-pressed.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + "-pressed.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_pressed]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE} + "-active.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + "-active.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
[/resolution]
|
||||
[image]
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = {IMAGE_OVERLAY} + "-active.png{IPF}"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
#define _GUI_DEFINITION ID DESCRIPTION IMAGE IMAGE_OVERLAY IPF
|
||||
[repeating_button_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
[repeating_button_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
|
||||
{_GUI_RESOLUTION () 25 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
|
||||
|
||||
[/repeating_button_definition]
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
|
||||
{_GUI_RESOLUTION () 25 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
|
||||
[/repeating_button_definition]
|
||||
#enddef
|
||||
|
||||
# Default normally not used since the versions with specific images are
|
||||
# preferred.
|
||||
{_GUI_DEFINITION
|
||||
"default"
|
||||
"Default don't use."
|
||||
"buttons/button_square/button_square_25"
|
||||
()
|
||||
()
|
||||
"default"
|
||||
"Default don't use."
|
||||
"buttons/button_square/button_square_25"
|
||||
()
|
||||
()
|
||||
}
|
||||
|
||||
# Opaques arrow buttons
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"down_arrow"
|
||||
"Down arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_down_25"
|
||||
()
|
||||
"down_arrow"
|
||||
"Down arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_down_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"up_arrow"
|
||||
"Up arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_up_25"
|
||||
()
|
||||
"up_arrow"
|
||||
"Up arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_up_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"left_arrow"
|
||||
"Left arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_left_25"
|
||||
()
|
||||
"left_arrow"
|
||||
"Left arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_left_25"
|
||||
()
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"right_arrow"
|
||||
"Right arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_right_25"
|
||||
()
|
||||
"right_arrow"
|
||||
"Right arrow button for a scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_right_25"
|
||||
()
|
||||
}
|
||||
|
||||
# Transparent arrow buttons
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"down_arrow_transparent"
|
||||
"Down arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_down_25"
|
||||
"~O(65%)"
|
||||
"down_arrow_transparent"
|
||||
"Down arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_down_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"up_arrow_transparent"
|
||||
"Up arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_up_25"
|
||||
"~O(65%)"
|
||||
"up_arrow_transparent"
|
||||
"Up arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_up_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"left_arrow_transparent"
|
||||
"Left arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_left_25"
|
||||
"~O(65%)"
|
||||
"left_arrow_transparent"
|
||||
"Left arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_left_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
{_GUI_DEFINITION
|
||||
"right_arrow_transparent"
|
||||
"Right arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_right_25"
|
||||
"~O(65%)"
|
||||
"right_arrow_transparent"
|
||||
"Right arrow button for a transparent scrollbar."
|
||||
"buttons/button_square/button_square_25"
|
||||
"icons/arrows/arrows_ornate_right_25"
|
||||
"~O(65%)"
|
||||
}
|
||||
|
||||
#undef _GUI_DEFINITION
|
||||
#undef _GUI_RESOLUTION
|
||||
|
||||
|
|
|
@ -4,120 +4,95 @@
|
|||
###
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION FONT_SIZE FONT_STYLE FONT_COLOR_ENABLED FONT_COLOR_DISABLED
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/state_enabled]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true" # needed ?
|
||||
vertical_grow = "true" # needed ?
|
||||
|
||||
[state_disabled]
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[/state_disabled]
|
||||
[label]
|
||||
id = "_label"
|
||||
definition = "scroll_label"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
|
||||
[grid]
|
||||
[column]
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
[column]
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true" # needed ?
|
||||
vertical_grow = "true" # needed ?
|
||||
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[label]
|
||||
id = "_label"
|
||||
definition = "scroll_label"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID}
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID}
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[scroll_label_definition]
|
||||
id = "default"
|
||||
description = "The default scroll label."
|
||||
id = "default"
|
||||
description = "The default scroll label."
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
[/scroll_label_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
|
||||
|
|
|
@ -4,120 +4,95 @@
|
|||
###
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION FONT_SIZE FONT_STYLE FONT_COLOR_ENABLED FONT_COLOR_DISABLED
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/state_enabled]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true" # needed ?
|
||||
vertical_grow = "true" # needed ?
|
||||
|
||||
[state_disabled]
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[/state_disabled]
|
||||
[label]
|
||||
id = "_label"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
|
||||
[grid]
|
||||
[column]
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID_TRANSPARENT}
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
[column]
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID_TRANSPARENT}
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true" # needed ?
|
||||
vertical_grow = "true" # needed ?
|
||||
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[label]
|
||||
id = "_label"
|
||||
definition = "default"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID_TRANSPARENT}
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID_TRANSPARENT}
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[scroll_label_definition]
|
||||
id = "wml_message"
|
||||
description = "The scroll label for the wml_message."
|
||||
id = "wml_message"
|
||||
description = "The scroll label for the wml_message."
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
[/scroll_label_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
|
||||
|
|
|
@ -4,70 +4,51 @@
|
|||
###
|
||||
|
||||
[scrollbar_panel_definition]
|
||||
id = "default"
|
||||
description = "The scrollbar default panel, we basically are an 'invisible' grid at the moment."
|
||||
|
||||
id = "default"
|
||||
description = "The scrollbar default panel, we basically are an 'invisible' grid at the moment."
|
||||
[resolution]
|
||||
[background]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/background]
|
||||
|
||||
[resolution]
|
||||
[foreground]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/foreground]
|
||||
|
||||
[background]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[draw]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/draw]
|
||||
# Needed since the widget is replaced with a dummy.
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[/background]
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
|
||||
[foreground]
|
||||
[column]
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[draw]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/foreground]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
# Needed since the widget is replaced with a dummy.
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[row]
|
||||
[column]
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/scrollbar_panel_definition]
|
||||
|
||||
|
|
|
@ -4,134 +4,128 @@
|
|||
###
|
||||
|
||||
#define _GUI_STATE IMAGE_SUFFIX GROOVE_COLOR TEXT_COLOR RIGHT_OFFSET TEXT_OFFSET TEXT_WIDTH FONT_SIZE
|
||||
[draw]
|
||||
[draw]
|
||||
#
|
||||
# Groove
|
||||
#
|
||||
|
||||
#
|
||||
# Groove
|
||||
#
|
||||
[line]
|
||||
x1 = 0
|
||||
y1 = "(height / 2)"
|
||||
x2 = "(width - ({RIGHT_OFFSET} + 1))"
|
||||
y2 = "(height / 2)"
|
||||
|
||||
[line]
|
||||
x1 = 0
|
||||
y1 = "(height / 2)"
|
||||
x2 = "(width - ({RIGHT_OFFSET} + 1))"
|
||||
y2 = "(height / 2)"
|
||||
color = {GROOVE_COLOR}
|
||||
thickness = 1
|
||||
[/line]
|
||||
|
||||
color = {GROOVE_COLOR}
|
||||
thickness = 1
|
||||
[/line]
|
||||
#
|
||||
# Text
|
||||
#
|
||||
|
||||
#
|
||||
# Text
|
||||
#
|
||||
[text]
|
||||
x = "(width - {TEXT_OFFSET})"
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "{TEXT_WIDTH}"
|
||||
h = "(height)"
|
||||
|
||||
[text]
|
||||
x = "(width - {TEXT_OFFSET})"
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "{TEXT_WIDTH}"
|
||||
h = "(height)"
|
||||
font_size = {FONT_SIZE}
|
||||
color = {TEXT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
|
||||
font_size = {FONT_SIZE}
|
||||
color = {TEXT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
#
|
||||
# Slider
|
||||
#
|
||||
|
||||
#
|
||||
# Slider
|
||||
#
|
||||
|
||||
[image]
|
||||
x = "(positioner_offset)"
|
||||
y = "(if (image_height < height, (height - image_height) / 2, 0))"
|
||||
name = "buttons/sliders/slider{IMAGE_SUFFIX}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
[image]
|
||||
x = "(positioner_offset)"
|
||||
y = "(if (image_height < height, (height - image_height) / 2, 0))"
|
||||
name = "buttons/sliders/slider{IMAGE_SUFFIX}"
|
||||
[/image]
|
||||
[/draw]
|
||||
#enddef
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION MIN_WIDTH DEFAULT_WIDTH HEIGHT POSITIONER_LENGTH RIGHT_OFFSET TEXT_OFFSET TEXT_WIDTH FONT_SIZE
|
||||
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {MIN_WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
|
||||
min_width = {MIN_WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
default_width = {DEFAULT_WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
|
||||
default_width = {DEFAULT_WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
minimum_positioner_length = {POSITIONER_LENGTH}
|
||||
maximum_positioner_length = {POSITIONER_LENGTH}
|
||||
|
||||
minimum_positioner_length = {POSITIONER_LENGTH}
|
||||
maximum_positioner_length = {POSITIONER_LENGTH}
|
||||
left_offset = 0
|
||||
right_offset = {RIGHT_OFFSET}
|
||||
|
||||
left_offset = 0
|
||||
right_offset = {RIGHT_OFFSET}
|
||||
text_font_size = {FONT_SIZE}
|
||||
|
||||
text_font_size = {FONT_SIZE}
|
||||
[state_enabled]
|
||||
{_GUI_STATE
|
||||
".png"
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({RIGHT_OFFSET})
|
||||
({TEXT_OFFSET})
|
||||
({TEXT_WIDTH})
|
||||
({FONT_SIZE})
|
||||
}
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
{_GUI_STATE
|
||||
".png"
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({RIGHT_OFFSET})
|
||||
({TEXT_OFFSET})
|
||||
({TEXT_WIDTH})
|
||||
({FONT_SIZE})
|
||||
}
|
||||
[/state_enabled]
|
||||
[state_disabled]
|
||||
{_GUI_STATE
|
||||
".png~GS()"
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
({RIGHT_OFFSET})
|
||||
({TEXT_OFFSET})
|
||||
({TEXT_WIDTH})
|
||||
({FONT_SIZE})
|
||||
}
|
||||
[/state_disabled]
|
||||
|
||||
[state_disabled]
|
||||
{_GUI_STATE
|
||||
".png~GS()"
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
({RIGHT_OFFSET})
|
||||
({TEXT_OFFSET})
|
||||
({TEXT_WIDTH})
|
||||
({FONT_SIZE})
|
||||
}
|
||||
[/state_disabled]
|
||||
[state_pressed]
|
||||
{_GUI_STATE
|
||||
"-pressed.png"
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({RIGHT_OFFSET})
|
||||
({TEXT_OFFSET})
|
||||
({TEXT_WIDTH})
|
||||
({FONT_SIZE})
|
||||
}
|
||||
[/state_pressed]
|
||||
|
||||
[state_pressed]
|
||||
{_GUI_STATE
|
||||
"-pressed.png"
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({RIGHT_OFFSET})
|
||||
({TEXT_OFFSET})
|
||||
({TEXT_WIDTH})
|
||||
({FONT_SIZE})
|
||||
}
|
||||
[/state_pressed]
|
||||
|
||||
[state_focussed]
|
||||
{_GUI_STATE
|
||||
"-active.png"
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({RIGHT_OFFSET})
|
||||
({TEXT_OFFSET})
|
||||
({TEXT_WIDTH})
|
||||
({FONT_SIZE})
|
||||
}
|
||||
[/state_focussed]
|
||||
|
||||
[/resolution]
|
||||
[state_focussed]
|
||||
{_GUI_STATE
|
||||
"-active.png"
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({RIGHT_OFFSET})
|
||||
({TEXT_OFFSET})
|
||||
({TEXT_WIDTH})
|
||||
({FONT_SIZE})
|
||||
}
|
||||
[/state_focussed]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[slider_definition]
|
||||
id = "default"
|
||||
description = "A slider with it's value on the right hand side."
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 75 125 11 8 68 65 15 ({GUI_TINY__FONT_SIZE__DEFAULT}) }
|
||||
{_GUI_RESOLUTION () 150 250 22 16 135 130 30 ({GUI_NORMAL__FONT_SIZE__DEFAULT}) }
|
||||
id = "default"
|
||||
description = "A slider with it's value on the right hand side."
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 75 125 11 8 68 65 15 ({GUI_TINY__FONT_SIZE__DEFAULT}) }
|
||||
{_GUI_RESOLUTION () 150 250 22 16 135 130 30 ({GUI_NORMAL__FONT_SIZE__DEFAULT}) }
|
||||
[/slider_definition]
|
||||
|
||||
#undef _GUI_STATE
|
||||
#undef _GUI_RESOLUTION
|
||||
|
||||
|
|
|
@ -4,11 +4,9 @@
|
|||
###
|
||||
|
||||
[spacer_definition]
|
||||
id = "default"
|
||||
description = "a spacer"
|
||||
|
||||
[resolution]
|
||||
[/resolution]
|
||||
id = "default"
|
||||
description = "a spacer"
|
||||
|
||||
[resolution]
|
||||
[/resolution]
|
||||
[/spacer_definition]
|
||||
|
||||
|
|
|
@ -4,39 +4,30 @@
|
|||
###
|
||||
|
||||
[stacked_widget_definition]
|
||||
id = "default"
|
||||
description = "Default stacked widget widget."
|
||||
id = "default"
|
||||
description = "Default stacked widget widget."
|
||||
|
||||
[resolution]
|
||||
[resolution]
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/stacked_widget_definition]
|
||||
|
||||
|
|
|
@ -4,133 +4,115 @@
|
|||
###
|
||||
|
||||
#define _GUI_DRAW_BORDER COLOR
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
|
||||
border_thickness = 3
|
||||
border_color = "55, 55, 55, 192"
|
||||
border_thickness = 3
|
||||
border_color = "55, 55, 55, 192"
|
||||
[/rectangle]
|
||||
|
||||
[/rectangle]
|
||||
[rectangle]
|
||||
x = 1
|
||||
y = 1
|
||||
w = "(if(width < 2, 0, width - 2))"
|
||||
h = "(if(height < 2, 0, height - 2))"
|
||||
|
||||
[rectangle]
|
||||
x = 1
|
||||
y = 1
|
||||
w = "(if(width < 2, 0, width - 2))"
|
||||
h = "(if(height < 2, 0, height - 2))"
|
||||
|
||||
border_thickness = 1
|
||||
border_color = {COLOR}
|
||||
|
||||
[/rectangle]
|
||||
border_thickness = 1
|
||||
border_color = {COLOR}
|
||||
[/rectangle]
|
||||
#enddef
|
||||
|
||||
#define _GUI_DRAW_TEXT SIZE COLOR
|
||||
[rectangle]
|
||||
x = "(text_x_offset + selection_offset)"
|
||||
y = "(text_y_offset)"
|
||||
w = "(selection_width)"
|
||||
h = "(text_font_height)"
|
||||
[rectangle]
|
||||
x = "(text_x_offset + selection_offset)"
|
||||
y = "(text_y_offset)"
|
||||
w = "(selection_width)"
|
||||
h = "(text_font_height)"
|
||||
|
||||
border_thickness = 0
|
||||
fill_color = "21, 53, 80, 255"
|
||||
border_thickness = 0
|
||||
fill_color = "21, 53, 80, 255"
|
||||
[/rectangle]
|
||||
|
||||
[/rectangle]
|
||||
|
||||
[text]
|
||||
x = "(text_x_offset)"
|
||||
y = "(text_y_offset)"
|
||||
w = "(text_width)"
|
||||
h = "(text_height)"
|
||||
maximum_width = "(text_maximum_width)"
|
||||
font_size = {SIZE}
|
||||
color = {COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
[text]
|
||||
x = "(text_x_offset)"
|
||||
y = "(text_y_offset)"
|
||||
w = "(text_width)"
|
||||
h = "(text_height)"
|
||||
maximum_width = "(text_maximum_width)"
|
||||
font_size = {SIZE}
|
||||
color = {COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
#enddef
|
||||
|
||||
#define _GUI_DRAW_CURSOR X_OFFSET
|
||||
[line]
|
||||
x1 = "(cursor_offset + {X_OFFSET})"
|
||||
y1 = "(text_y_offset)"
|
||||
x2 = "(cursor_offset + {X_OFFSET})"
|
||||
y2 = "(text_y_offset + text_font_height)"
|
||||
color = "255, 255, 255, 255"
|
||||
thickness = 1
|
||||
[/line]
|
||||
[line]
|
||||
x1 = "(cursor_offset + {X_OFFSET})"
|
||||
y1 = "(text_y_offset)"
|
||||
x2 = "(cursor_offset + {X_OFFSET})"
|
||||
y2 = "(text_y_offset + text_font_height)"
|
||||
color = "255, 255, 255, 255"
|
||||
thickness = 1
|
||||
[/line]
|
||||
#enddef
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION MIN_WIDTH DEFAULT_WIDTH HEIGHT X_OFFSET EXTRA_WIDTH FONT_SIZE
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {MIN_WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
|
||||
min_width = {MIN_WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
default_width = {DEFAULT_WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
|
||||
default_width = {DEFAULT_WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_x_offset = {X_OFFSET}
|
||||
text_y_offset = "(if(text_font_height <= height, (height - text_font_height) / 2, 0))"
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_x_offset = {X_OFFSET}
|
||||
text_y_offset = "(if(text_font_height <= height, (height - text_font_height) / 2, 0))"
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
{_GUI_DRAW_BORDER ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
|
||||
[state_enabled]
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[draw]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
{_GUI_DRAW_BORDER ({GUI__FONT_COLOR_DISABLED__TITLE}) }
|
||||
|
||||
{_GUI_DRAW_BORDER ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
[state_focussed]
|
||||
[draw]
|
||||
{_GUI_DRAW_BORDER ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
|
||||
[/draw]
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
[/state_enabled]
|
||||
|
||||
[state_disabled]
|
||||
|
||||
[draw]
|
||||
|
||||
{_GUI_DRAW_BORDER ({GUI__FONT_COLOR_DISABLED__TITLE}) }
|
||||
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__DEFAULT}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
|
||||
{_GUI_DRAW_BORDER ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
{_GUI_DRAW_CURSOR ({X_OFFSET}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
[/resolution]
|
||||
{_GUI_DRAW_CURSOR ({X_OFFSET}) }
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
[/resolution]
|
||||
|
||||
#enddef
|
||||
|
||||
[text_box_definition]
|
||||
id = "default"
|
||||
description = "Default text box"
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 125 15 5 10 ({GUI_TINY__FONT_SIZE__DEFAULT}) }
|
||||
{_GUI_RESOLUTION () 40 250 25 5 10 ({GUI_NORMAL__FONT_SIZE__DEFAULT}) }
|
||||
id = "default"
|
||||
description = "Default text box"
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 125 15 5 10 ({GUI_TINY__FONT_SIZE__DEFAULT}) }
|
||||
{_GUI_RESOLUTION () 40 250 25 5 10 ({GUI_NORMAL__FONT_SIZE__DEFAULT}) }
|
||||
[/text_box_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
|
|
|
@ -5,134 +5,106 @@
|
|||
###
|
||||
|
||||
#define _GUI_TEXT X_OFFSET FONT_SIZE FONT_COLOR
|
||||
[text]
|
||||
x = {X_OFFSET}
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(if(width < {X_OFFSET}, 0, width - {X_OFFSET}))"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE}
|
||||
color = {FONT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
[text]
|
||||
x = {X_OFFSET}
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(if(width < {X_OFFSET}, 0, width - {X_OFFSET}))"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE}
|
||||
color = {FONT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
#enddef
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION WIDTH HEIGHT EXTRA_WIDTH FONT_SIZE
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
|
||||
min_width = {WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
default_width = {WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
|
||||
default_width = {WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
text_font_size = {FONT_SIZE}
|
||||
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
text_font_size = {FONT_SIZE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/checkbox.png"
|
||||
[/image]
|
||||
|
||||
[state_enabled]
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[draw]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/checkbox.png~GS()"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
name = "buttons/checkbox.png"
|
||||
[/image]
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
[state_focussed]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/checkbox-active.png"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
|
||||
[/state_enabled]
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_disabled]
|
||||
[state_enabled_selected]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/checkbox-pressed.png"
|
||||
[/image]
|
||||
|
||||
[draw]
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_enabled_selected]
|
||||
|
||||
[image]
|
||||
name = "buttons/checkbox.png~GS()"
|
||||
[/image]
|
||||
[state_disabled_selected]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/checkbox-pressed.png~GS()"
|
||||
[/image]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__TITLE}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_disabled_selected]
|
||||
|
||||
[/draw]
|
||||
[state_focussed_selected]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/checkbox-active-pressed.png"
|
||||
[/image]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/checkbox-active.png"
|
||||
[/image]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_enabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/checkbox-pressed.png"
|
||||
[/image]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled_selected]
|
||||
|
||||
[state_disabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/checkbox-pressed.png~GS()"
|
||||
[/image]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__TITLE}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_focussed_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/checkbox-active-pressed.png"
|
||||
[/image]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed_selected]
|
||||
|
||||
[/resolution]
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_focussed_selected]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[toggle_button_definition]
|
||||
id = "default"
|
||||
description = "Checkbox."
|
||||
|
||||
id = "default"
|
||||
description = "Checkbox."
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 11 14 ({GUI_TINY__FONT_SIZE__SMALL}) }
|
||||
{_GUI_RESOLUTION () 30 18 25 ({GUI_NORMAL__FONT_SIZE__SMALL}) }
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 11 14 ({GUI_TINY__FONT_SIZE__SMALL}) }
|
||||
{_GUI_RESOLUTION () 30 18 25 ({GUI_NORMAL__FONT_SIZE__SMALL}) }
|
||||
[/toggle_button_definition]
|
||||
|
||||
#undef _GUI_TEXT
|
||||
|
|
|
@ -6,178 +6,145 @@
|
|||
###
|
||||
|
||||
#define _GUI_ICON SIZE
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "(icon)"
|
||||
[/image]
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "(icon)"
|
||||
[/image]
|
||||
#enddef
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION SIZE
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {SIZE}
|
||||
min_height = {SIZE}
|
||||
|
||||
min_width = {SIZE}
|
||||
min_height = {SIZE}
|
||||
default_width = {SIZE}
|
||||
default_height = {SIZE}
|
||||
|
||||
default_width = {SIZE}
|
||||
default_height = {SIZE}
|
||||
max_width = {SIZE}
|
||||
max_height = {SIZE}
|
||||
|
||||
max_width = {SIZE}
|
||||
max_height = {SIZE}
|
||||
text_extra_width = 0
|
||||
text_font_size = 0
|
||||
|
||||
text_extra_width = 0
|
||||
text_font_size = 0
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30.png"
|
||||
[/image]
|
||||
|
||||
[state_enabled]
|
||||
{_GUI_ICON ({SIZE})}
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[draw]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30.png"
|
||||
[/image]
|
||||
{_GUI_ICON ({SIZE})}
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
{_GUI_ICON ({SIZE})}
|
||||
[state_focussed]
|
||||
[draw]
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30-active.png"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
{_GUI_ICON ({SIZE})}
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
|
||||
[/state_enabled]
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_disabled]
|
||||
[state_enabled_selected]
|
||||
[draw]
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30-pressed.png"
|
||||
[/image]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30.png"
|
||||
[/image]
|
||||
{_GUI_ICON ({SIZE})}
|
||||
[/draw]
|
||||
[/state_enabled_selected]
|
||||
|
||||
{_GUI_ICON ({SIZE})}
|
||||
[state_disabled_selected]
|
||||
[draw]
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30-pressed.png"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
{_GUI_ICON ({SIZE})}
|
||||
[/draw]
|
||||
[/state_disabled_selected]
|
||||
|
||||
[/state_disabled]
|
||||
[state_focussed_selected]
|
||||
[draw]
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30-active-pressed.png"
|
||||
[/image]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30-active.png"
|
||||
[/image]
|
||||
|
||||
{_GUI_ICON ({SIZE})}
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_enabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30-pressed.png"
|
||||
[/image]
|
||||
|
||||
{_GUI_ICON ({SIZE})}
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled_selected]
|
||||
|
||||
[state_disabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30-pressed.png"
|
||||
[/image]
|
||||
|
||||
{_GUI_ICON ({SIZE})}
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_focussed_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
name = "buttons/button_square/button_square_30-active-pressed.png"
|
||||
[/image]
|
||||
|
||||
{_GUI_ICON ({SIZE})}
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed_selected]
|
||||
|
||||
[/resolution]
|
||||
{_GUI_ICON ({SIZE})}
|
||||
[/draw]
|
||||
[/state_focussed_selected]
|
||||
[/resolution]
|
||||
|
||||
#enddef
|
||||
|
||||
[toggle_button_definition]
|
||||
id = "icon"
|
||||
description = "This toggle button is meant to be used in the resize grid of the editor and only has an icon."
|
||||
|
||||
id = "icon"
|
||||
description = "This toggle button is meant to be used in the resize grid of the editor and only has an icon."
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 16 }
|
||||
{_GUI_RESOLUTION ({GUI_NORMAL__RESOLUTION}) 30 }
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 16 }
|
||||
{_GUI_RESOLUTION ({GUI_NORMAL__RESOLUTION}) 30 }
|
||||
[/toggle_button_definition]
|
||||
|
||||
[toggle_button_definition]
|
||||
id = "icon_small"
|
||||
description = "Small version of the icon-only toggle button."
|
||||
|
||||
id = "icon_small"
|
||||
description = "Small version of the icon-only toggle button."
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 10 }
|
||||
{_GUI_RESOLUTION ({GUI_NORMAL__RESOLUTION}) 16 }
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 10 }
|
||||
{_GUI_RESOLUTION ({GUI_NORMAL__RESOLUTION}) 16 }
|
||||
[/toggle_button_definition]
|
||||
|
||||
[toggle_button_definition]
|
||||
id = "icon_tiny"
|
||||
description = "Tiny version of the icon-only toggle button."
|
||||
|
||||
id = "icon_tiny"
|
||||
description = "Tiny version of the icon-only toggle button."
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 10 }
|
||||
{_GUI_RESOLUTION ({GUI_NORMAL__RESOLUTION}) 10 }
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 10 }
|
||||
{_GUI_RESOLUTION ({GUI_NORMAL__RESOLUTION}) 10 }
|
||||
[/toggle_button_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
#undef _GUI_ICON
|
||||
|
||||
|
|
|
@ -6,128 +6,99 @@
|
|||
###
|
||||
|
||||
#define _GUI_RECT FILL_COLOR
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
fill_color = {FILL_COLOR}
|
||||
[/rectangle]
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
fill_color = {FILL_COLOR}
|
||||
[/rectangle]
|
||||
#enddef
|
||||
|
||||
#define _GUI_DRAW_TEXT FONT_SIZE FONT_COLOR
|
||||
[text]
|
||||
x = 3
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(if(width < 6, 0, width - 6))"
|
||||
h = "(text_height)"
|
||||
maximum_width = "(if(width < 6, 0, width - 6))"
|
||||
font_size = {FONT_SIZE}
|
||||
color = {FONT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
[text]
|
||||
x = 3
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(if(width < 6, 0, width - 6))"
|
||||
h = "(text_height)"
|
||||
maximum_width = "(if(width < 6, 0, width - 6))"
|
||||
font_size = {FONT_SIZE}
|
||||
color = {FONT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
#enddef
|
||||
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION MIN_WIDTH DEFAULT_WIDTH HEIGHT EXTRA_WIDTH FONT_SIZE
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {MIN_WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
|
||||
min_width = {MIN_WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
default_width = {DEFAULT_WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
|
||||
default_width = {DEFAULT_WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
text_font_size = {FONT_SIZE}
|
||||
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
text_font_size = {FONT_SIZE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_DISABLED}) }
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[draw]
|
||||
[state_focussed]
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[/draw]
|
||||
[state_enabled_selected]
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_enabled_selected]
|
||||
|
||||
[/state_enabled]
|
||||
[state_disabled_selected]
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_disabled]
|
||||
|
||||
[draw]
|
||||
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_DISABLED}) }
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__DEFAULT}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_enabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled_selected]
|
||||
|
||||
[state_disabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_focussed_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed_selected]
|
||||
|
||||
[/resolution]
|
||||
[state_focussed_selected]
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_focussed_selected]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[toggle_button_definition]
|
||||
id = "listbox_text"
|
||||
description = "This toggle button is meant to be used in a listbox and as list box with only text."
|
||||
|
||||
id = "listbox_text"
|
||||
description = "This toggle button is meant to be used in a listbox and as list box with only text."
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 15 30 15 4 ({GUI_TINY__FONT_SIZE__DEFAULT}) }
|
||||
{_GUI_RESOLUTION () 30 30 25 6 ({GUI_NORMAL__FONT_SIZE__DEFAULT}) }
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 15 30 15 4 ({GUI_TINY__FONT_SIZE__DEFAULT}) }
|
||||
{_GUI_RESOLUTION () 30 30 25 6 ({GUI_NORMAL__FONT_SIZE__DEFAULT}) }
|
||||
[/toggle_button_definition]
|
||||
|
||||
#undef _GUI_RECT
|
||||
|
|
|
@ -6,145 +6,117 @@
|
|||
###
|
||||
|
||||
#define _GUI_RECT FILL_COLOR
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
fill_color = {FILL_COLOR}
|
||||
[/rectangle]
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
fill_color = {FILL_COLOR}
|
||||
[/rectangle]
|
||||
#enddef
|
||||
|
||||
#define _GUI_ICON OFFSET
|
||||
[image]
|
||||
x = {OFFSET}
|
||||
y = {OFFSET}
|
||||
name = "(icon)"
|
||||
[/image]
|
||||
[image]
|
||||
x = {OFFSET}
|
||||
y = {OFFSET}
|
||||
name = "(icon)"
|
||||
[/image]
|
||||
#enddef
|
||||
|
||||
#define _GUI_TEXT OFFSET FONT_SIZE FONT_COLOR
|
||||
[text]
|
||||
x = {OFFSET}
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(if(width < {OFFSET}, 0, width - {OFFSET}))"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE}
|
||||
color = {FONT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
[text]
|
||||
x = {OFFSET}
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(if(width < {OFFSET}, 0, width - {OFFSET}))"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE}
|
||||
color = {FONT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
#enddef
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION WIDTH HEIGHT EXTRA_WIDTH FONT_SIZE ICON_OFFSET
|
||||
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
|
||||
min_width = {WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
default_width = {WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
|
||||
default_width = {WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
text_font_size = {FONT_SIZE}
|
||||
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
text_font_size = {FONT_SIZE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_DISABLED}) }
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[draw]
|
||||
[state_focussed]
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[/draw]
|
||||
[state_enabled_selected]
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_enabled_selected]
|
||||
|
||||
[/state_enabled]
|
||||
[state_disabled_selected]
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_disabled]
|
||||
|
||||
[draw]
|
||||
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_DISABLED}) }
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__DEFAULT}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_enabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled_selected]
|
||||
|
||||
[state_disabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__DEFAULT}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_focussed_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed_selected]
|
||||
|
||||
[/resolution]
|
||||
[state_focussed_selected]
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
{_GUI_ICON ({ICON_OFFSET}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
[/draw]
|
||||
[/state_focussed_selected]
|
||||
[/resolution]
|
||||
|
||||
#enddef
|
||||
|
||||
[toggle_button_definition]
|
||||
id = "listbox_text_with_icon"
|
||||
description = "This toggle button is meant to be used in a listbox and as list box with only text."
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 50 40 40 ({GUI_TINY__FONT_SIZE__DEFAULT}) 2 }
|
||||
{_GUI_RESOLUTION () 100 80 80 ({GUI_NORMAL__FONT_SIZE__DEFAULT}) 4 }
|
||||
id = "listbox_text_with_icon"
|
||||
description = "This toggle button is meant to be used in a listbox and as list box with only text."
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 50 40 40 ({GUI_TINY__FONT_SIZE__DEFAULT}) 2 }
|
||||
{_GUI_RESOLUTION () 100 80 80 ({GUI_NORMAL__FONT_SIZE__DEFAULT}) 4 }
|
||||
[/toggle_button_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
#undef _GUI_TEXT
|
||||
#undef _GUI_ICON
|
||||
#undef _GUI_RECT
|
||||
|
||||
|
|
|
@ -4,134 +4,106 @@
|
|||
###
|
||||
|
||||
#define _GUI_TEXT X_OFFSET FONT_SIZE FONT_COLOR
|
||||
[text]
|
||||
x = {X_OFFSET}
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(if(width < {X_OFFSET}, 0, width - {X_OFFSET}))"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE}
|
||||
color = {FONT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
[text]
|
||||
x = {X_OFFSET}
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(if(width < {X_OFFSET}, 0, width - {X_OFFSET}))"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE}
|
||||
color = {FONT_COLOR}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
#enddef
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION WIDTH HEIGHT EXTRA_WIDTH FONT_SIZE
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
|
||||
min_width = {WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
default_width = {WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
|
||||
default_width = {WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
|
||||
max_width = 0
|
||||
max_height = {HEIGHT}
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
text_font_size = {FONT_SIZE}
|
||||
|
||||
text_extra_width = {EXTRA_WIDTH}
|
||||
text_font_size = {FONT_SIZE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/radiobox.png"
|
||||
[/image]
|
||||
|
||||
[state_enabled]
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[draw]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/radiobox.png~GS()"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
name = "buttons/radiobox.png"
|
||||
[/image]
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
[state_focussed]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/radiobox-active.png"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
|
||||
[/state_enabled]
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_disabled]
|
||||
[state_enabled_selected]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/radiobox-pressed.png"
|
||||
[/image]
|
||||
|
||||
[draw]
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_enabled_selected]
|
||||
|
||||
[image]
|
||||
name = "buttons/radiobox.png~GS()"
|
||||
[/image]
|
||||
[state_disabled_selected]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/radiobox-pressed.png~GS()"
|
||||
[/image]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__TITLE}) }
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_disabled_selected]
|
||||
|
||||
[/draw]
|
||||
[state_focussed_selected]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/radiobox-active-pressed.png"
|
||||
[/image]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/radiobox-active.png"
|
||||
[/image]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_enabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/radiobox-pressed.png"
|
||||
[/image]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled_selected]
|
||||
|
||||
[state_disabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/radiobox-pressed.png~GS()"
|
||||
[/image]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__TITLE}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_focussed_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/radiobox-active-pressed.png"
|
||||
[/image]
|
||||
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed_selected]
|
||||
|
||||
[/resolution]
|
||||
{_GUI_TEXT ({EXTRA_WIDTH}) ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__TITLE}) }
|
||||
[/draw]
|
||||
[/state_focussed_selected]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[toggle_button_definition]
|
||||
id = "radio"
|
||||
description = "Radio button."
|
||||
|
||||
id = "radio"
|
||||
description = "Radio button."
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 11 14 ({GUI_TINY__FONT_SIZE__SMALL}) }
|
||||
{_GUI_RESOLUTION () 30 18 25 ({GUI_NORMAL__FONT_SIZE__SMALL}) }
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 11 14 ({GUI_TINY__FONT_SIZE__SMALL}) }
|
||||
{_GUI_RESOLUTION () 30 18 25 ({GUI_NORMAL__FONT_SIZE__SMALL}) }
|
||||
[/toggle_button_definition]
|
||||
|
||||
#undef _GUI_TEXT
|
||||
|
|
|
@ -4,100 +4,71 @@
|
|||
###
|
||||
|
||||
[toggle_button_definition]
|
||||
id = "tree_view_node"
|
||||
description = "Fold/unfold status indicator of a tree view node."
|
||||
|
||||
id = "tree_view_node"
|
||||
description = "Fold/unfold status indicator of a tree view node."
|
||||
[resolution]
|
||||
{GUI_NORMAL__RESOLUTION}
|
||||
|
||||
[resolution]
|
||||
min_width = 25
|
||||
min_height = 19
|
||||
|
||||
{GUI_NORMAL__RESOLUTION}
|
||||
default_width = 25
|
||||
default_height = 19
|
||||
|
||||
min_width = 25
|
||||
min_height = 19
|
||||
max_width = 25
|
||||
max_height = 19
|
||||
|
||||
default_width = 25
|
||||
default_height = 19
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/unfold-arrow.png"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
max_width = 25
|
||||
max_height = 19
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/unfold-arrow.png~GS()"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[state_enabled]
|
||||
[state_focussed]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/unfold-arrow-pressed.png"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
|
||||
[draw]
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[image]
|
||||
name = "buttons/unfold-arrow.png"
|
||||
[/image]
|
||||
[state_enabled_selected]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/fold-arrow.png"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_enabled_selected]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled]
|
||||
|
||||
[state_disabled]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/unfold-arrow.png~GS()"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/unfold-arrow-pressed.png"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_enabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/fold-arrow.png"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_enabled_selected]
|
||||
|
||||
[state_disabled_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/fold-arrow.png~GS()"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_focussed_selected]
|
||||
|
||||
[draw]
|
||||
|
||||
[image]
|
||||
name = "buttons/fold-arrow-pressed.png"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/state_focussed_selected]
|
||||
|
||||
[/resolution]
|
||||
[state_disabled_selected]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/fold-arrow.png~GS()"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_focussed_selected]
|
||||
[draw]
|
||||
[image]
|
||||
name = "buttons/fold-arrow-pressed.png"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_focussed_selected]
|
||||
[/resolution]
|
||||
[/toggle_button_definition]
|
||||
|
||||
|
|
|
@ -4,85 +4,69 @@
|
|||
###
|
||||
|
||||
#define _GUI_RECT FILL_COLOR
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
fill_color = {FILL_COLOR}
|
||||
[/rectangle]
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
fill_color = {FILL_COLOR}
|
||||
[/rectangle]
|
||||
#enddef
|
||||
|
||||
[toggle_panel_definition]
|
||||
id = "default"
|
||||
description = "Default panel"
|
||||
|
||||
id = "default"
|
||||
description = "Default panel"
|
||||
[resolution]
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
[resolution]
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
[state_enabled]
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
[state_disabled]
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_DISABLED}) }
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[state_enabled]
|
||||
[state_focussed]
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
[/draw]
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[/state_enabled]
|
||||
[state_enabled_selected]
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
[/draw]
|
||||
[/state_enabled_selected]
|
||||
|
||||
[state_disabled]
|
||||
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_DISABLED}) }
|
||||
[/draw]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_enabled_selected]
|
||||
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
[/draw]
|
||||
|
||||
[/state_enabled_selected]
|
||||
|
||||
[state_disabled_selected]
|
||||
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
[/draw]
|
||||
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_focussed_selected]
|
||||
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
[/draw]
|
||||
|
||||
[/state_focussed_selected]
|
||||
|
||||
[/resolution]
|
||||
[state_disabled_selected]
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
[/draw]
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_focussed_selected]
|
||||
[draw]
|
||||
{GUI__LISTBOX_SELECTED_CELL}
|
||||
[/draw]
|
||||
[/state_focussed_selected]
|
||||
[/resolution]
|
||||
[/toggle_panel_definition]
|
||||
|
||||
#undef _GUI_RECT
|
||||
|
|
|
@ -5,147 +5,130 @@
|
|||
|
||||
#define _GUI__LISTBOX_SELECTED_CELL LINE_OFFSET_SIDE LINE_OFFSET_TOTAL LINE_HEIGHT BACKGROUND_OFFSET IPF
|
||||
|
||||
# corners are 10x10
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
name = "dialogs/selection-border-topleft.png{IPF}"
|
||||
[/image]
|
||||
# corners are 10x10
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
name = "dialogs/selection-border-topleft.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - {LINE_OFFSET_SIDE})"
|
||||
y = 0
|
||||
name = "dialogs/selection-border-topright.png{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
x = "(width - {LINE_OFFSET_SIDE})"
|
||||
y = 0
|
||||
name = "dialogs/selection-border-topright.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = "(height - {LINE_OFFSET_SIDE})"
|
||||
name = "dialogs/selection-border-botleft.png{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
x = 0
|
||||
y = "(height - {LINE_OFFSET_SIDE})"
|
||||
name = "dialogs/selection-border-botleft.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - {LINE_OFFSET_SIDE})"
|
||||
y = "(height - {LINE_OFFSET_SIDE})"
|
||||
name = "dialogs/selection-border-botright.png{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
x = "(width - {LINE_OFFSET_SIDE})"
|
||||
y = "(height - {LINE_OFFSET_SIDE})"
|
||||
name = "dialogs/selection-border-botright.png{IPF}"
|
||||
[/image]
|
||||
|
||||
# since the lines are already quite long scale them instead of stretching
|
||||
# the height of the lines is 3 pixels.
|
||||
[image]
|
||||
x = {LINE_OFFSET_SIDE}
|
||||
y = 0
|
||||
w = "(if(width < {LINE_OFFSET_TOTAL}, 0, width - {LINE_OFFSET_TOTAL}))"
|
||||
name = "dialogs/selection-border-top.png{IPF}"
|
||||
[/image]
|
||||
# since the lines are already quite long scale them instead of stretching
|
||||
# the height of the lines is 3 pixels.
|
||||
[image]
|
||||
x = {LINE_OFFSET_SIDE}
|
||||
y = 0
|
||||
w = "(if(width < {LINE_OFFSET_TOTAL}, 0, width - {LINE_OFFSET_TOTAL}))"
|
||||
name = "dialogs/selection-border-top.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = {LINE_OFFSET_SIDE}
|
||||
y = "(height - {LINE_HEIGHT})"
|
||||
w = "(if(width < {LINE_OFFSET_TOTAL}, 0, width - {LINE_OFFSET_TOTAL}))"
|
||||
name = "dialogs/selection-border-bottom.png{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
x = {LINE_OFFSET_SIDE}
|
||||
y = "(height - {LINE_HEIGHT})"
|
||||
w = "(if(width < {LINE_OFFSET_TOTAL}, 0, width - {LINE_OFFSET_TOTAL}))"
|
||||
name = "dialogs/selection-border-bottom.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = {LINE_OFFSET_SIDE}
|
||||
h = "(if(height < {LINE_OFFSET_TOTAL}, 0, height - {LINE_OFFSET_TOTAL}))"
|
||||
name = "dialogs/selection-border-left.png{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
x = 0
|
||||
y = {LINE_OFFSET_SIDE}
|
||||
h = "(if(height < {LINE_OFFSET_TOTAL}, 0, height - {LINE_OFFSET_TOTAL}))"
|
||||
name = "dialogs/selection-border-left.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - {LINE_HEIGHT})"
|
||||
y = {LINE_OFFSET_SIDE}
|
||||
h = "(if(height < {LINE_OFFSET_TOTAL}, 0, height - {LINE_OFFSET_TOTAL}))"
|
||||
name = "dialogs/selection-border-right.png{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
x = "(width - {LINE_HEIGHT})"
|
||||
y = {LINE_OFFSET_SIDE}
|
||||
h = "(if(height < {LINE_OFFSET_TOTAL}, 0, height - {LINE_OFFSET_TOTAL}))"
|
||||
name = "dialogs/selection-border-right.png{IPF}"
|
||||
[/image]
|
||||
|
||||
#main background 320 x 67
|
||||
[image]
|
||||
x = {LINE_HEIGHT}
|
||||
y = {LINE_HEIGHT}
|
||||
w = "(if(width < {BACKGROUND_OFFSET}, 0, width - {BACKGROUND_OFFSET}))"
|
||||
h = "(if(height < {BACKGROUND_OFFSET}, 0, height - {BACKGROUND_OFFSET}))"
|
||||
name = "dialogs/selection-background.png{IPF}"
|
||||
[/image]
|
||||
#main background 320 x 67
|
||||
[image]
|
||||
x = {LINE_HEIGHT}
|
||||
y = {LINE_HEIGHT}
|
||||
w = "(if(width < {BACKGROUND_OFFSET}, 0, width - {BACKGROUND_OFFSET}))"
|
||||
h = "(if(height < {BACKGROUND_OFFSET}, 0, height - {BACKGROUND_OFFSET}))"
|
||||
name = "dialogs/selection-background.png{IPF}"
|
||||
[/image]
|
||||
|
||||
#enddef
|
||||
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION LINE_OFFSET_SIDE LINE_OFFSET_TOTAL LINE_HEIGHT BACKGROUND_OFFSET
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[state_focussed]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
|
||||
[/state_enabled]
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_disabled]
|
||||
[state_enabled_selected]
|
||||
[draw]
|
||||
{_GUI__LISTBOX_SELECTED_CELL ({LINE_OFFSET_SIDE}) ({LINE_OFFSET_TOTAL}) ({LINE_HEIGHT}) ({BACKGROUND_OFFSET}) ("~O(65%)")}
|
||||
[/draw]
|
||||
[/state_enabled_selected]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[state_disabled_selected]
|
||||
[draw]
|
||||
{_GUI__LISTBOX_SELECTED_CELL ({LINE_OFFSET_SIDE}) ({LINE_OFFSET_TOTAL}) ({LINE_HEIGHT}) ({BACKGROUND_OFFSET}) ("~O(65%)~GS()")}
|
||||
[/draw]
|
||||
[/state_disabled_selected]
|
||||
|
||||
[/state_disabled]
|
||||
|
||||
[state_focussed]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
|
||||
[/state_focussed]
|
||||
|
||||
###
|
||||
### Selected
|
||||
###
|
||||
|
||||
[state_enabled_selected]
|
||||
|
||||
[draw]
|
||||
{_GUI__LISTBOX_SELECTED_CELL ({LINE_OFFSET_SIDE}) ({LINE_OFFSET_TOTAL}) ({LINE_HEIGHT}) ({BACKGROUND_OFFSET}) ("~O(65%)")}
|
||||
[/draw]
|
||||
|
||||
[/state_enabled_selected]
|
||||
|
||||
[state_disabled_selected]
|
||||
|
||||
[draw]
|
||||
{_GUI__LISTBOX_SELECTED_CELL ({LINE_OFFSET_SIDE}) ({LINE_OFFSET_TOTAL}) ({LINE_HEIGHT}) ({BACKGROUND_OFFSET}) ("~O(65%)~GS()")}
|
||||
[/draw]
|
||||
|
||||
[/state_disabled_selected]
|
||||
|
||||
[state_focussed_selected]
|
||||
|
||||
[draw]
|
||||
{_GUI__LISTBOX_SELECTED_CELL ({LINE_OFFSET_SIDE}) ({LINE_OFFSET_TOTAL}) ({LINE_HEIGHT}) ({BACKGROUND_OFFSET}) ("~O(65%)")}
|
||||
[/draw]
|
||||
|
||||
[/state_focussed_selected]
|
||||
|
||||
[/resolution]
|
||||
[state_focussed_selected]
|
||||
[draw]
|
||||
{_GUI__LISTBOX_SELECTED_CELL ({LINE_OFFSET_SIDE}) ({LINE_OFFSET_TOTAL}) ({LINE_HEIGHT}) ({BACKGROUND_OFFSET}) ("~O(65%)")}
|
||||
[/draw]
|
||||
[/state_focussed_selected]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[toggle_panel_definition]
|
||||
id = "wml_message"
|
||||
description = "Toggle panel for the wml_message."
|
||||
|
||||
id = "wml_message"
|
||||
description = "Toggle panel for the wml_message."
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 5 10 1 2 }
|
||||
{_GUI_RESOLUTION () 10 20 3 6 }
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 5 10 1 2 }
|
||||
{_GUI_RESOLUTION () 10 20 3 6 }
|
||||
[/toggle_panel_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
|
|
|
@ -4,106 +4,87 @@
|
|||
###
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION FONT_SIZE FONT_STYLE FONT_COLOR_ENABLED FONT_COLOR_DISABLED
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
|
||||
min_width = 0
|
||||
min_height = 0
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
|
||||
default_width = 0
|
||||
default_height = 0
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
|
||||
max_width = 0
|
||||
max_height = 0
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
|
||||
text_font_size = {FONT_SIZE}
|
||||
text_font_style = {FONT_STYLE}
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/state_enabled]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true" # needed ?
|
||||
vertical_grow = "true" # needed ?
|
||||
|
||||
[state_disabled]
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[/state_disabled]
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID}
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true" # needed ?
|
||||
vertical_grow = "true" # needed ?
|
||||
|
||||
[grid]
|
||||
id = "_content_grid"
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
{GUI__VERTICAL_SCROLLBAR_GRID}
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
|
||||
{GUI__HORIZONTAL_SCROLLBAR_GRID}
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[tree_view_definition]
|
||||
id = "default"
|
||||
description = "Default tree view."
|
||||
id = "default"
|
||||
description = "Default tree view."
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_TINY__RESOLUTION})
|
||||
({GUI_TINY__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
|
||||
{_GUI_RESOLUTION
|
||||
({GUI_NORMAL__RESOLUTION})
|
||||
({GUI_NORMAL__FONT_SIZE__DEFAULT})
|
||||
()
|
||||
({GUI__FONT_COLOR_ENABLED__DEFAULT})
|
||||
({GUI__FONT_COLOR_DISABLED__DEFAULT})
|
||||
}
|
||||
[/tree_view_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
|
||||
|
|
|
@ -4,127 +4,122 @@
|
|||
###
|
||||
|
||||
#define _GUI_STATE GROOVE_TOP GROOVE_BOTTOM POSITIONER_TOP POSITIONER_BOTTOM IMAGE_SUFFIX IPF
|
||||
[draw]
|
||||
[draw]
|
||||
#
|
||||
# Groove
|
||||
#
|
||||
|
||||
#
|
||||
# Groove
|
||||
#
|
||||
[image]
|
||||
# 4 pixels high
|
||||
x = 0
|
||||
y = 0
|
||||
name = "buttons/scrollgroove-top.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
# 4 pixels high
|
||||
x = 0
|
||||
y = 0
|
||||
name = "buttons/scrollgroove-top.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = {GROOVE_TOP}
|
||||
h = "(if(height - {GROOVE_TOP} - {GROOVE_BOTTOM} < 0
|
||||
[image]
|
||||
x = 0
|
||||
y = {GROOVE_TOP}
|
||||
h = "(if(height - {GROOVE_TOP} - {GROOVE_BOTTOM} < 0
|
||||
, 0, height - {GROOVE_TOP} - {GROOVE_BOTTOM}))"
|
||||
resize_mode = "stretch"
|
||||
name = "buttons/scrollgroove-mid.png{IPF}"
|
||||
[/image]
|
||||
resize_mode = "stretch"
|
||||
name = "buttons/scrollgroove-mid.png{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
# 5 pixels high
|
||||
x = 0
|
||||
y = "(height - {GROOVE_BOTTOM})"
|
||||
name = "buttons/scrollgroove-bottom.png{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
# 5 pixels high
|
||||
x = 0
|
||||
y = "(height - {GROOVE_BOTTOM})"
|
||||
name = "buttons/scrollgroove-bottom.png{IPF}"
|
||||
[/image]
|
||||
|
||||
#
|
||||
# Positioner
|
||||
#
|
||||
#
|
||||
# Positioner
|
||||
#
|
||||
|
||||
[image]
|
||||
# 5 pixels high
|
||||
x = 0
|
||||
y = "(positioner_offset)"
|
||||
name = "buttons/scrolltop{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
[image]
|
||||
# 5 pixels high
|
||||
x = 0
|
||||
y = "(positioner_offset)"
|
||||
name = "buttons/scrolltop{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = "(positioner_offset + {POSITIONER_TOP})"
|
||||
h = "(
|
||||
[image]
|
||||
x = 0
|
||||
y = "(positioner_offset + {POSITIONER_TOP})"
|
||||
h = "(
|
||||
if(positioner_length - {POSITIONER_TOP} - {POSITIONER_BOTTOM} < 0
|
||||
, 0, positioner_length - {POSITIONER_TOP} - {POSITIONER_BOTTOM}))"
|
||||
resize_mode = "stretch"
|
||||
name = "buttons/scrollmid{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
resize_mode = "stretch"
|
||||
name = "buttons/scrollmid{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
# 5 pixels high
|
||||
x = 0
|
||||
y = "(positioner_offset + positioner_length - {POSITIONER_BOTTOM})"
|
||||
name = "buttons/scrollbottom{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
[image]
|
||||
# 5 pixels high
|
||||
x = 0
|
||||
y = "(positioner_offset + positioner_length - {POSITIONER_BOTTOM})"
|
||||
name = "buttons/scrollbottom{IMAGE_SUFFIX}{IPF}"
|
||||
[/image]
|
||||
[/draw]
|
||||
#enddef
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION WIDTH HEIGHT POSITIONER_LENGHT GROOVE_TOP GROOVE_BOTTOM POSITIONER_TOP POSITIONER_BOTTOM IPF
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
min_width = {WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
|
||||
min_width = {WIDTH}
|
||||
min_height = {HEIGHT}
|
||||
default_width = {WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
|
||||
default_width = {WIDTH}
|
||||
default_height = {HEIGHT}
|
||||
max_width = {WIDTH}
|
||||
max_height = 0
|
||||
|
||||
max_width = {WIDTH}
|
||||
max_height = 0
|
||||
minimum_positioner_length = {POSITIONER_LENGHT}
|
||||
|
||||
minimum_positioner_length = {POSITIONER_LENGHT}
|
||||
top_offset = 0
|
||||
bottom_offset = 0
|
||||
|
||||
top_offset = 0
|
||||
bottom_offset = 0
|
||||
[state_enabled]
|
||||
{_GUI_STATE ({GROOVE_TOP}) ({GROOVE_BOTTOM}) ({POSITIONER_TOP}) ({POSITIONER_BOTTOM}) ".png" ({IPF}) }
|
||||
[/state_enabled]
|
||||
|
||||
[state_enabled]
|
||||
{_GUI_STATE ({GROOVE_TOP}) ({GROOVE_BOTTOM}) ({POSITIONER_TOP}) ({POSITIONER_BOTTOM}) ".png" ({IPF}) }
|
||||
[/state_enabled]
|
||||
[state_disabled]
|
||||
{_GUI_STATE ({GROOVE_TOP}) ({GROOVE_BOTTOM}) ({POSITIONER_TOP}) ({POSITIONER_BOTTOM}) ".png~GS()" ({IPF}) }
|
||||
[/state_disabled]
|
||||
|
||||
[state_disabled]
|
||||
{_GUI_STATE ({GROOVE_TOP}) ({GROOVE_BOTTOM}) ({POSITIONER_TOP}) ({POSITIONER_BOTTOM}) ".png~GS()" ({IPF}) }
|
||||
[/state_disabled]
|
||||
[state_pressed]
|
||||
{_GUI_STATE ({GROOVE_TOP}) ({GROOVE_BOTTOM}) ({POSITIONER_TOP}) ({POSITIONER_BOTTOM}) "-pressed.png" ({IPF}) }
|
||||
[/state_pressed]
|
||||
|
||||
[state_pressed]
|
||||
{_GUI_STATE ({GROOVE_TOP}) ({GROOVE_BOTTOM}) ({POSITIONER_TOP}) ({POSITIONER_BOTTOM}) "-pressed.png" ({IPF}) }
|
||||
[/state_pressed]
|
||||
|
||||
[state_focussed]
|
||||
{_GUI_STATE ({GROOVE_TOP}) ({GROOVE_BOTTOM}) ({POSITIONER_TOP}) ({POSITIONER_BOTTOM}) "-active.png" ({IPF}) }
|
||||
[/state_focussed]
|
||||
[/resolution]
|
||||
[state_focussed]
|
||||
{_GUI_STATE ({GROOVE_TOP}) ({GROOVE_BOTTOM}) ({POSITIONER_TOP}) ({POSITIONER_BOTTOM}) "-active.png" ({IPF}) }
|
||||
[/state_focussed]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[vertical_scrollbar_definition]
|
||||
id = "default"
|
||||
description = "a vertical scrollbar"
|
||||
id = "default"
|
||||
description = "a vertical scrollbar"
|
||||
|
||||
# Note a scrollbar is normally sized by the item that "masters" it
|
||||
# that's why the default height is rather low.
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 20 11 2 2 2 2 ()}
|
||||
{_GUI_RESOLUTION () 25 20 11 4 5 5 5 ()}
|
||||
# Note a scrollbar is normally sized by the item that "masters" it
|
||||
# that's why the default height is rather low.
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 20 11 2 2 2 2 ()}
|
||||
{_GUI_RESOLUTION () 25 20 11 4 5 5 5 ()}
|
||||
[/vertical_scrollbar_definition]
|
||||
|
||||
[vertical_scrollbar_definition]
|
||||
id = "transparent"
|
||||
description = "a transparent vertical scrollbar"
|
||||
id = "transparent"
|
||||
description = "a transparent vertical scrollbar"
|
||||
|
||||
# Note a scrollbar is normally sized by the item that "masters" it
|
||||
# that's why the default height is rather low.
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 20 11 2 2 2 2 "~O(65%)"}
|
||||
{_GUI_RESOLUTION () 25 20 11 4 5 5 5 "~O(65%)"}
|
||||
# Note a scrollbar is normally sized by the item that "masters" it
|
||||
# that's why the default height is rather low.
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 12 20 11 2 2 2 2 "~O(65%)"}
|
||||
{_GUI_RESOLUTION () 25 20 11 4 5 5 5 "~O(65%)"}
|
||||
[/vertical_scrollbar_definition]
|
||||
|
||||
#undef _GUI_STATE
|
||||
|
|
|
@ -4,100 +4,76 @@
|
|||
###
|
||||
|
||||
#define _GUI_RESOLUTION_OPAQUE_SIMPLE RESOLUTION BORDER_SIDE_1 BORDER_SIDE_2
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
left_border = {BORDER_SIDE_1}
|
||||
right_border = {BORDER_SIDE_2}
|
||||
top_border = {BORDER_SIDE_1}
|
||||
bottom_border = {BORDER_SIDE_2}
|
||||
|
||||
left_border = {BORDER_SIDE_1}
|
||||
right_border = {BORDER_SIDE_2}
|
||||
top_border = {BORDER_SIDE_1}
|
||||
bottom_border = {BORDER_SIDE_2}
|
||||
[background]
|
||||
[draw]
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
name = "dialogs/opaque-background.png"
|
||||
resize_mode = "tile"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/background]
|
||||
|
||||
[background]
|
||||
[foreground]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/foreground]
|
||||
|
||||
[draw]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[scrollbar_panel]
|
||||
vertical_scrollbar_mode = "initial_auto"
|
||||
horizontal_scrollbar_mode = "initial_auto"
|
||||
[definition]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[grid]
|
||||
id = "_window_content_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/definition]
|
||||
[/scrollbar_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
name = "dialogs/opaque-background.png"
|
||||
resize_mode = "tile"
|
||||
[/image]
|
||||
[row]
|
||||
[column]
|
||||
[button]
|
||||
id = "click_dismiss"
|
||||
definition = "default"
|
||||
|
||||
[/draw]
|
||||
|
||||
[/background]
|
||||
|
||||
[foreground]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
|
||||
[/foreground]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[scrollbar_panel]
|
||||
vertical_scrollbar_mode = "initial_auto"
|
||||
horizontal_scrollbar_mode = "initial_auto"
|
||||
[definition]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[grid]
|
||||
id = "_window_content_grid"
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/definition]
|
||||
|
||||
[/scrollbar_panel]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
[button]
|
||||
id = "click_dismiss"
|
||||
definition = "default"
|
||||
|
||||
label = "Close"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
label = "Close"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
[window_definition]
|
||||
id = borderless
|
||||
description = "A simple window without border decorations."
|
||||
|
||||
id = borderless
|
||||
description = "A simple window without border decorations."
|
||||
|
||||
{_GUI_RESOLUTION_OPAQUE_SIMPLE ({GUI_TINY__RESOLUTION}) 5 6 }
|
||||
{_GUI_RESOLUTION_OPAQUE_SIMPLE () 10 13 }
|
||||
|
||||
{_GUI_RESOLUTION_OPAQUE_SIMPLE ({GUI_TINY__RESOLUTION}) 5 6 }
|
||||
{_GUI_RESOLUTION_OPAQUE_SIMPLE () 10 13 }
|
||||
[/window_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION_OPAQUE_SIMPLE
|
||||
|
|
|
@ -5,170 +5,143 @@
|
|||
### change later when tiny-gui will be tested.
|
||||
###
|
||||
|
||||
|
||||
#define _GUI_RESOLUTION RESOLUTION BASE_NAME PRE_COMMIT BORDER_SIDE_1 BORDER_SIDE_2 OFFSET_SIDE_1 OFFSET_SIDE_2 OFFSET_TOTAL
|
||||
[resolution]
|
||||
[resolution]
|
||||
{RESOLUTION}
|
||||
|
||||
{RESOLUTION}
|
||||
left_border = {BORDER_SIDE_1}
|
||||
right_border = {BORDER_SIDE_2}
|
||||
top_border = {BORDER_SIDE_1}
|
||||
bottom_border = {BORDER_SIDE_2}
|
||||
|
||||
left_border = {BORDER_SIDE_1}
|
||||
right_border = {BORDER_SIDE_2}
|
||||
top_border = {BORDER_SIDE_1}
|
||||
bottom_border = {BORDER_SIDE_2}
|
||||
[background]
|
||||
[draw]
|
||||
{PRE_COMMIT}
|
||||
|
||||
[background]
|
||||
[image]
|
||||
name = "dialogs/{BASE_NAME}-border-topleft.png"
|
||||
[/image]
|
||||
|
||||
[draw]
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = 0
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/{BASE_NAME}-border-top.png"
|
||||
[/image]
|
||||
|
||||
{PRE_COMMIT}
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = 0
|
||||
name = "dialogs/{BASE_NAME}-border-topright.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
name = "dialogs/{BASE_NAME}-border-topleft.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = {OFFSET_SIDE_1}
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/{BASE_NAME}-border-right.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = 0
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/{BASE_NAME}-border-top.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
name = "dialogs/{BASE_NAME}-border-botright.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = 0
|
||||
name = "dialogs/{BASE_NAME}-border-topright.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/{BASE_NAME}-border-bottom.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = {OFFSET_SIDE_1}
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/{BASE_NAME}-border-right.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = 0
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
name = "dialogs/{BASE_NAME}-border-botleft.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = "(width - {OFFSET_SIDE_2})"
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
name = "dialogs/{BASE_NAME}-border-botright.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = 0
|
||||
y = {OFFSET_SIDE_1}
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/{BASE_NAME}-border-left.png"
|
||||
[/image]
|
||||
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/{BASE_NAME}-border-bottom.png"
|
||||
[/image]
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = {OFFSET_SIDE_1}
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
name = "dialogs/{BASE_NAME}-background.png"
|
||||
resize_mode = "tile"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/background]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = "(height - {OFFSET_SIDE_2})"
|
||||
name = "dialogs/{BASE_NAME}-border-botleft.png"
|
||||
[/image]
|
||||
[foreground]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/foreground]
|
||||
|
||||
[image]
|
||||
x = 0
|
||||
y = {OFFSET_SIDE_1}
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
resize_mode = "stretch"
|
||||
name = "dialogs/{BASE_NAME}-border-left.png"
|
||||
[/image]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[scrollbar_panel]
|
||||
vertical_scrollbar_mode = "initial_auto"
|
||||
horizontal_scrollbar_mode = "initial_auto"
|
||||
[definition]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[grid]
|
||||
id = "_window_content_grid"
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/definition]
|
||||
[/scrollbar_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[image]
|
||||
x = {OFFSET_SIDE_1}
|
||||
y = {OFFSET_SIDE_1}
|
||||
w = "(if(width < {OFFSET_TOTAL}, 0, width - {OFFSET_TOTAL}))"
|
||||
h = "(if(height < {OFFSET_TOTAL}, 0, height - {OFFSET_TOTAL}))"
|
||||
name = "dialogs/{BASE_NAME}-background.png"
|
||||
resize_mode = "tile"
|
||||
[/image]
|
||||
[row]
|
||||
[column]
|
||||
[button]
|
||||
id = "click_dismiss"
|
||||
definition = "default"
|
||||
|
||||
[/draw]
|
||||
|
||||
[/background]
|
||||
|
||||
[foreground]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
|
||||
[/foreground]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[scrollbar_panel]
|
||||
vertical_scrollbar_mode = "initial_auto"
|
||||
horizontal_scrollbar_mode = "initial_auto"
|
||||
[definition]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[grid]
|
||||
id = "_window_content_grid"
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/definition]
|
||||
|
||||
[/scrollbar_panel]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
[button]
|
||||
id = "click_dismiss"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Close"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
label = _ "Close"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
#enddef
|
||||
|
||||
#define _GUI_WINDOW ID DESCRIPTION BASE_NAME PRE_COMMIT
|
||||
[window_definition]
|
||||
[window_definition]
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
|
||||
id = {ID}
|
||||
description = {DESCRIPTION}
|
||||
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) ({BASE_NAME}) ({PRE_COMMIT}) 5 6 2 4 6 }
|
||||
{_GUI_RESOLUTION () ({BASE_NAME}) ({PRE_COMMIT}) 10 13 5 9 14 }
|
||||
|
||||
[/window_definition]
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) ({BASE_NAME}) ({PRE_COMMIT}) 5 6 2 4 6 }
|
||||
{_GUI_RESOLUTION () ({BASE_NAME}) ({PRE_COMMIT}) 10 13 5 9 14 }
|
||||
[/window_definition]
|
||||
#enddef
|
||||
|
||||
#define _BLUR
|
||||
[pre_commit]
|
||||
|
||||
[blur]
|
||||
depth = 5
|
||||
[/blur]
|
||||
|
||||
[/pre_commit]
|
||||
[pre_commit]
|
||||
[blur]
|
||||
depth = 5
|
||||
[/blur]
|
||||
[/pre_commit]
|
||||
#enddef
|
||||
|
||||
{_GUI_WINDOW "default" "The default window" "opaque" ()}
|
||||
|
|
|
@ -6,41 +6,30 @@
|
|||
###
|
||||
|
||||
[window_definition]
|
||||
id = tooltip_large
|
||||
description = "The window to show a large tooltip."
|
||||
|
||||
id = tooltip_large
|
||||
description = "The window to show a large tooltip."
|
||||
[resolution]
|
||||
left_border = 7
|
||||
right_border = 7
|
||||
top_border = 7
|
||||
bottom_border = 7
|
||||
|
||||
[resolution]
|
||||
|
||||
left_border = 7
|
||||
right_border = 7
|
||||
top_border = 7
|
||||
bottom_border = 7
|
||||
|
||||
[background]
|
||||
|
||||
[draw]
|
||||
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
fill_color = "0, 0, 0, 192"
|
||||
[/rectangle]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/background]
|
||||
|
||||
[foreground]
|
||||
|
||||
[draw]
|
||||
[/draw]
|
||||
|
||||
[/foreground]
|
||||
|
||||
[/resolution]
|
||||
[background]
|
||||
[draw]
|
||||
[rectangle]
|
||||
x = 0
|
||||
y = 0
|
||||
w = "(width)"
|
||||
h = "(height)"
|
||||
fill_color = "0, 0, 0, 192"
|
||||
[/rectangle]
|
||||
[/draw]
|
||||
[/background]
|
||||
|
||||
[foreground]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/foreground]
|
||||
[/resolution]
|
||||
[/window_definition]
|
||||
|
||||
|
|
|
@ -5,230 +5,201 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "addon_connect"
|
||||
description = "Addon server connection dialog."
|
||||
id = "addon_connect"
|
||||
description = "Addon server connection dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Connect to Server"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Connect to Server"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
label = _ "You will now connect to a server to download add-ons."
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "You will now connect to a server to download add-ons."
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Server:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[text_box]
|
||||
id = "host_name"
|
||||
definition = "default"
|
||||
history = "addon_connect_history"
|
||||
|
||||
size_text = "very long text which might need to fit"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "remove_addons"
|
||||
|
||||
# just show how the default looks.
|
||||
definition = "default"
|
||||
|
||||
# tooltip = "Manage locally installed addons."
|
||||
|
||||
# help = "With this feature you can remove locally installed addons, after doing so you need to restart Wesnoth."
|
||||
|
||||
size_text = _ "Remove Add-ons"
|
||||
label = _ "Remove Add-ons"
|
||||
|
||||
# we define the return value manually instead of being
|
||||
# linked to the id. Not sure whether that's the best
|
||||
# solution, but it's nice as proof-of-concept.
|
||||
return_value = 2
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
grow_factor = 1
|
||||
|
||||
[button]
|
||||
# NOTE: this isn't named "help" because it conflicts with
|
||||
# a titlescreen hack in gui2::twindow::get_retval_by_id().
|
||||
id = "show_help"
|
||||
definition = "default"
|
||||
label = _ "Help"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Connect"
|
||||
label = _ "Connect"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Server:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[text_box]
|
||||
id = "host_name"
|
||||
definition = "default"
|
||||
history = "addon_connect_history"
|
||||
|
||||
size_text = "very long text which might need to fit"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "remove_addons"
|
||||
|
||||
# just show how the default looks.
|
||||
definition = "default"
|
||||
|
||||
# tooltip = "Manage locally installed addons."
|
||||
|
||||
# help = "With this feature you can remove locally installed addons, after doing so you need to restart Wesnoth."
|
||||
|
||||
size_text = _ "Remove Add-ons"
|
||||
label = _ "Remove Add-ons"
|
||||
|
||||
# we define the return value manually instead of being
|
||||
# linked to the id. Not sure whether that's the best
|
||||
# solution, but it's nice as proof-of-concept.
|
||||
return_value = 2
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
grow_factor = 1
|
||||
|
||||
[button]
|
||||
# NOTE: this isn't named "help" because it conflicts with
|
||||
# a titlescreen hack in gui2::twindow::get_retval_by_id().
|
||||
id = "show_help"
|
||||
definition = "default"
|
||||
label = _ "Help"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Connect"
|
||||
label = _ "Connect"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -1,376 +1,323 @@
|
|||
#textdomain wesnoth-lib
|
||||
|
||||
[window]
|
||||
id = "addon_description"
|
||||
description = "Add-on description and details for the add-ons manager interface."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
click_dismiss = "true"
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
|
||||
[drawing]
|
||||
id = "image"
|
||||
definition = "default"
|
||||
|
||||
width = 72
|
||||
height = 72
|
||||
|
||||
[draw]
|
||||
[image]
|
||||
name = "(text)"
|
||||
w = "(min(image_original_width, 72))"
|
||||
h = "(min(image_original_height, 72))"
|
||||
[/image]
|
||||
[/draw]
|
||||
|
||||
[/drawing]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Type:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[label]
|
||||
id = "type"
|
||||
definition = "default"
|
||||
wrap = "true"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Author:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[scroll_label]
|
||||
id = "author"
|
||||
definition = "default"
|
||||
[/scroll_label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Version:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "version"
|
||||
definition = "default"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Status:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "status"
|
||||
definition = "default"
|
||||
wrap = "true"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Size:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "size"
|
||||
definition = "default"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Downloads:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "downloads"
|
||||
definition = "default"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Description:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[scroll_label]
|
||||
id = "description"
|
||||
definition = "default"
|
||||
label = _ "No description available."
|
||||
[/scroll_label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Dependencies:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[scroll_label]
|
||||
id = "dependencies"
|
||||
definition = "default"
|
||||
label = _ "addon_dependencies^None"
|
||||
[/scroll_label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Translations:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[scroll_label]
|
||||
id = "translations"
|
||||
definition = "default"
|
||||
label = _ "translations^None"
|
||||
[/scroll_label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
|
||||
id = "addon_description"
|
||||
description = "Add-on description and details for the add-ons manager interface."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
click_dismiss = "true"
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
|
||||
[drawing]
|
||||
id = "image"
|
||||
definition = "default"
|
||||
|
||||
width = 72
|
||||
height = 72
|
||||
|
||||
[draw]
|
||||
[image]
|
||||
name = "(text)"
|
||||
w = "(min(image_original_width, 72))"
|
||||
h = "(min(image_original_height, 72))"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/drawing]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Type:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[label]
|
||||
id = "type"
|
||||
definition = "default"
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Author:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[scroll_label]
|
||||
id = "author"
|
||||
definition = "default"
|
||||
[/scroll_label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Version:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "version"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Status:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "status"
|
||||
definition = "default"
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Size:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "size"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Downloads:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "downloads"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Description:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[scroll_label]
|
||||
id = "description"
|
||||
definition = "default"
|
||||
label = _ "No description available."
|
||||
[/scroll_label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Dependencies:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[scroll_label]
|
||||
id = "dependencies"
|
||||
definition = "default"
|
||||
label = _ "addon_dependencies^None"
|
||||
[/scroll_label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Translations:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[scroll_label]
|
||||
id = "translations"
|
||||
definition = "default"
|
||||
label = _ "translations^None"
|
||||
[/scroll_label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
||||
|
|
|
@ -1,435 +1,359 @@
|
|||
#textdomain wesnoth-lib
|
||||
|
||||
#define _GUI_ADDON_TYPE_OPTION ID LABEL
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[toggle_button]
|
||||
id = "show_"+{ID}
|
||||
definition = "default"
|
||||
label = {LABEL}
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[toggle_button]
|
||||
id = "show_"+{ID}
|
||||
definition = "default"
|
||||
label = {LABEL}
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
#enddef
|
||||
|
||||
#define _GUI_ADDON_SORT_OPTION ID LABEL
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[toggle_button]
|
||||
id = "sort_"+{ID}
|
||||
definition = "radio"
|
||||
label = {LABEL}
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[toggle_button]
|
||||
id = "sort_"+{ID}
|
||||
definition = "radio"
|
||||
label = {LABEL}
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
#enddef
|
||||
|
||||
#define _GUI_SPACER
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
#enddef
|
||||
|
||||
#define _GUI_ADDON_TYPE_OPTIONS
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
{_GUI_ADDON_TYPE_OPTION sp_campaigns _"addons_of_type^Campaigns"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_eras _"addons_of_type^MP eras"}
|
||||
[/row]
|
||||
[row]
|
||||
{_GUI_ADDON_TYPE_OPTION sp_scenarios _"addons_of_type^Scenarios"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_factions _"addons_of_type^MP factions"}
|
||||
[/row]
|
||||
[row]
|
||||
{_GUI_ADDON_TYPE_OPTION sp_mp_campaigns _"addons_of_type^SP/MP Campaigns"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_campaigns _"addons_of_type^MP campaigns"}
|
||||
[/row]
|
||||
[row]
|
||||
{_GUI_ADDON_TYPE_OPTION media _"addons_of_type^Resources"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_scenarios _"addons_of_type^MP scenarios"}
|
||||
[/row]
|
||||
[row]
|
||||
# FIXME: (also in C++) should this and Unknown be a single option in the UI?
|
||||
{_GUI_ADDON_TYPE_OPTION other _"addons_of_type^Other"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_maps _"addons_of_type^MP map-packs"}
|
||||
[/row]
|
||||
[row]
|
||||
{_GUI_ADDON_TYPE_OPTION unknown _"addons_of_type^Unknown"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_mods _"addons_of_type^MP modifications"}
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
[grid]
|
||||
[row]
|
||||
{_GUI_ADDON_TYPE_OPTION sp_campaigns _"addons_of_type^Campaigns"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_eras _"addons_of_type^MP eras"}
|
||||
[/row]
|
||||
[row]
|
||||
{_GUI_ADDON_TYPE_OPTION sp_scenarios _"addons_of_type^Scenarios"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_factions _"addons_of_type^MP factions"}
|
||||
[/row]
|
||||
[row]
|
||||
{_GUI_ADDON_TYPE_OPTION sp_mp_campaigns _"addons_of_type^SP/MP Campaigns"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_campaigns _"addons_of_type^MP campaigns"}
|
||||
[/row]
|
||||
[row]
|
||||
{_GUI_ADDON_TYPE_OPTION media _"addons_of_type^Resources"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_scenarios _"addons_of_type^MP scenarios"}
|
||||
[/row]
|
||||
[row]
|
||||
# FIXME: (also in C++) should this and Unknown be a single option in the UI?
|
||||
{_GUI_ADDON_TYPE_OPTION other _"addons_of_type^Other"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_maps _"addons_of_type^MP map-packs"}
|
||||
[/row]
|
||||
[row]
|
||||
{_GUI_ADDON_TYPE_OPTION unknown _"addons_of_type^Unknown"}
|
||||
{_GUI_ADDON_TYPE_OPTION mp_mods _"addons_of_type^MP modifications"}
|
||||
[/row]
|
||||
[/grid]
|
||||
#enddef
|
||||
|
||||
#define _GUI_ADDON_STATUS_OPTIONS
|
||||
border = "all"
|
||||
border_size = 5
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[listbox]
|
||||
id = "statuses_list"
|
||||
definition = "default"
|
||||
[listbox]
|
||||
id = "statuses_list"
|
||||
definition = "default"
|
||||
|
||||
[list_definition]
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[row]
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
return_value_id = "ok"
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
return_value_id = "ok"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "status"
|
||||
linked_group = "status"
|
||||
definition = "default"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/toggle_panel]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
[label]
|
||||
id = "status"
|
||||
linked_group = "status"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
#enddef
|
||||
|
||||
[window]
|
||||
id = "addon_filter_options"
|
||||
description = "Advanced filtering options for the legacy (GUI1) Add-ons Manager dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
#click_dismiss = "true"
|
||||
maximum_width = 800
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[linked_group]
|
||||
id = "status"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Options"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Add-ons matching the following criteria will be displayed."
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
border = "top"
|
||||
border_size = 5
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Installation status:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
{_GUI_ADDON_STATUS_OPTIONS}
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Add-on types:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "toggle_all_displayed_types"
|
||||
definition = "default"
|
||||
label = _ "Toggle All"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
{_GUI_ADDON_TYPE_OPTIONS}
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Add-ons will be sorted as follows when no column is selected:"
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
border = "top"
|
||||
border_size = 5
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
{_GUI_ADDON_SORT_OPTION by_name ( _ "sort^By name")}
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
{_GUI_ADDON_SORT_OPTION by_last_updated ( _ "sort^By last updated")}
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
{_GUI_ADDON_SORT_OPTION by_first_upload ( _ "sort^By first upload")}
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
{_GUI_ADDON_SORT_OPTION ascending ( _ "sort^Ascending")}
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
{_GUI_ADDON_SORT_OPTION descending ( _ "sort^Descending")}
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Close"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
|
||||
id = "addon_filter_options"
|
||||
description = "Advanced filtering options for the legacy (GUI1) Add-ons Manager dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
#click_dismiss = "true"
|
||||
maximum_width = 800
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[linked_group]
|
||||
id = "status"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Options"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Add-ons matching the following criteria will be displayed."
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
border = "top"
|
||||
border_size = 5
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Installation status:"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
{_GUI_ADDON_STATUS_OPTIONS}
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Add-on types:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "toggle_all_displayed_types"
|
||||
definition = "default"
|
||||
label = _ "Toggle All"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
{_GUI_ADDON_TYPE_OPTIONS}
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Add-ons will be sorted as follows when no column is selected:"
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
border = "top"
|
||||
border_size = 5
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
{_GUI_ADDON_SORT_OPTION by_name ( _ "sort^By name")}
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
{_GUI_ADDON_SORT_OPTION by_last_updated ( _ "sort^By last updated")}
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
{_GUI_ADDON_SORT_OPTION by_first_upload ( _ "sort^By first upload")}
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
{_GUI_ADDON_SORT_OPTION ascending ( _ "sort^Ascending")}
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
{_GUI_ADDON_SORT_OPTION descending ( _ "sort^Descending")}
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Close"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
||||
#undef _GUI_ADDON_STATUS_OPTIONS
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -4,188 +4,166 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "addon_uninstall_list"
|
||||
description = "List of add-ons for uninstalling."
|
||||
id = "addon_uninstall_list"
|
||||
description = "List of add-ons for uninstalling."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_height = 600
|
||||
|
||||
[linked_group]
|
||||
id = "checkbox"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
maximum_width = 800
|
||||
maximum_height = 600
|
||||
|
||||
[linked_group]
|
||||
id = "name"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
[linked_group]
|
||||
id = "checkbox"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[linked_group]
|
||||
id = "name"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[grid]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Remove Add-ons"
|
||||
[/label]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Remove Add-ons"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/column]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[scroll_label]
|
||||
definition = "default"
|
||||
label = _ "Choose the add-ons you want to remove."
|
||||
[/scroll_label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[scroll_label]
|
||||
definition = "default"
|
||||
label = _ "Choose the add-ons you want to remove."
|
||||
[/scroll_label]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[listbox]
|
||||
id = "addons_list"
|
||||
definition = "default"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[toggle_button]
|
||||
id = "checkbox"
|
||||
definition = "default"
|
||||
linked_group = "checkbox"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[listbox]
|
||||
id = "addons_list"
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[list_definition]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[row]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Remove"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[toggle_button]
|
||||
id = "checkbox"
|
||||
definition = "default"
|
||||
linked_group = "checkbox"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Remove"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,453 +4,370 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "campaign_selection"
|
||||
description = "Campaign selection dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
maximum_height = 600
|
||||
|
||||
[linked_group]
|
||||
id = "icon_area"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "name"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "tree_name"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
label = _ "Play a Campaign"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[listbox]
|
||||
id = "campaign_list"
|
||||
definition = "default"
|
||||
|
||||
horizontal_scrollbar_mode = "never"
|
||||
[list_definition]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[toggle_panel]
|
||||
id = "_toggle"
|
||||
definition = "default"
|
||||
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
[stacked_widget]
|
||||
id = ""
|
||||
definition = "default"
|
||||
linked_group = "icon_area"
|
||||
|
||||
[stack]
|
||||
|
||||
[layer]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "left"
|
||||
border_size = 3
|
||||
|
||||
[image]
|
||||
id = "victory"
|
||||
definition = "default"
|
||||
|
||||
label = "misc/laurel.png"
|
||||
[/image]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/layer]
|
||||
|
||||
[layer]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "left"
|
||||
border_size = 3
|
||||
|
||||
[image]
|
||||
id = "icon"
|
||||
definition = "default"
|
||||
|
||||
label = "misc/laurel.png"
|
||||
[/image]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/layer]
|
||||
|
||||
[/stack]
|
||||
|
||||
[/stacked_widget]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "right"
|
||||
border_size = 8
|
||||
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/toggle_panel]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[tree_view]
|
||||
id = "campaign_tree"
|
||||
definition = "default"
|
||||
|
||||
horizontal_scrollbar_mode = "never"
|
||||
vertical_scrollbar_mode = "always"
|
||||
|
||||
indention_step_size = "40"
|
||||
|
||||
[node]
|
||||
id = "campaign_group"
|
||||
[node_definition]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
[toggle_button]
|
||||
id = "tree_view_node_icon"
|
||||
definition = "tree_view_node"
|
||||
[/toggle_button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
id = "tree_view_node_label"
|
||||
label = "group"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/node_definition]
|
||||
|
||||
[/node]
|
||||
|
||||
[node]
|
||||
id = "campaign"
|
||||
|
||||
[node_definition]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[toggle_panel]
|
||||
id = "tree_view_node_label"
|
||||
definition = "default"
|
||||
|
||||
# horizontal_grow = "true"
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
|
||||
[image]
|
||||
id = "icon"
|
||||
definition = "default"
|
||||
[/image]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "right"
|
||||
border_size = 8
|
||||
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "tree_name"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/toggle_panel]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/node_definition]
|
||||
|
||||
[/node]
|
||||
|
||||
[/tree_view]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
|
||||
[multi_page]
|
||||
id = "campaign_details"
|
||||
definition = "default"
|
||||
|
||||
horizontal_scrollbar_mode = "never"
|
||||
|
||||
[page_definition]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[scrollbar_panel]
|
||||
|
||||
[definition]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[label]
|
||||
id = "description"
|
||||
definition = "default"
|
||||
|
||||
characters_per_line = 66
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "center"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[image]
|
||||
id = "image"
|
||||
definition = "default"
|
||||
[/image]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/definition]
|
||||
|
||||
[/scrollbar_panel]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/page_definition]
|
||||
|
||||
[/multi_page]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
|
||||
id = "campaign_selection"
|
||||
description = "Campaign selection dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
maximum_height = 600
|
||||
|
||||
[linked_group]
|
||||
id = "icon_area"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "name"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "tree_name"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
label = _ "Play a Campaign"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[listbox]
|
||||
id = "campaign_list"
|
||||
definition = "default"
|
||||
|
||||
horizontal_scrollbar_mode = "never"
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[toggle_panel]
|
||||
id = "_toggle"
|
||||
definition = "default"
|
||||
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
[stacked_widget]
|
||||
id = ""
|
||||
definition = "default"
|
||||
linked_group = "icon_area"
|
||||
|
||||
[stack]
|
||||
[layer]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "left"
|
||||
border_size = 3
|
||||
|
||||
[image]
|
||||
id = "victory"
|
||||
definition = "default"
|
||||
|
||||
label = "misc/laurel.png"
|
||||
[/image]
|
||||
[/column]
|
||||
[/row]
|
||||
[/layer]
|
||||
|
||||
[layer]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "left"
|
||||
border_size = 3
|
||||
|
||||
[image]
|
||||
id = "icon"
|
||||
definition = "default"
|
||||
|
||||
label = "misc/laurel.png"
|
||||
[/image]
|
||||
[/column]
|
||||
[/row]
|
||||
[/layer]
|
||||
[/stack]
|
||||
[/stacked_widget]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "right"
|
||||
border_size = 8
|
||||
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[tree_view]
|
||||
id = "campaign_tree"
|
||||
definition = "default"
|
||||
|
||||
horizontal_scrollbar_mode = "never"
|
||||
vertical_scrollbar_mode = "always"
|
||||
|
||||
indention_step_size = "40"
|
||||
|
||||
[node]
|
||||
id = "campaign_group"
|
||||
[node_definition]
|
||||
[row]
|
||||
[column]
|
||||
[toggle_button]
|
||||
id = "tree_view_node_icon"
|
||||
definition = "tree_view_node"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
id = "tree_view_node_label"
|
||||
label = "group"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/node_definition]
|
||||
[/node]
|
||||
|
||||
[node]
|
||||
id = "campaign"
|
||||
|
||||
[node_definition]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[toggle_panel]
|
||||
id = "tree_view_node_label"
|
||||
definition = "default"
|
||||
|
||||
# horizontal_grow = "true"
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
|
||||
[image]
|
||||
id = "icon"
|
||||
definition = "default"
|
||||
[/image]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "right"
|
||||
border_size = 8
|
||||
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "tree_name"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/node_definition]
|
||||
[/node]
|
||||
[/tree_view]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
|
||||
[multi_page]
|
||||
id = "campaign_details"
|
||||
definition = "default"
|
||||
|
||||
horizontal_scrollbar_mode = "never"
|
||||
|
||||
[page_definition]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[scrollbar_panel]
|
||||
[definition]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[label]
|
||||
id = "description"
|
||||
definition = "default"
|
||||
|
||||
characters_per_line = 66
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "center"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[image]
|
||||
id = "image"
|
||||
definition = "default"
|
||||
[/image]
|
||||
[/column]
|
||||
[/row]
|
||||
[/definition]
|
||||
[/scrollbar_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/page_definition]
|
||||
[/multi_page]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -5,205 +5,183 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "campaign_difficulty"
|
||||
description = "Campaign difficulty level selector."
|
||||
id = "campaign_difficulty"
|
||||
description = "Campaign difficulty level selector."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_width = 800
|
||||
|
||||
[linked_group]
|
||||
id = "icon"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
[linked_group]
|
||||
id = "icon"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "label"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
[linked_group]
|
||||
id = "label"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "description"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
[linked_group]
|
||||
id = "description"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "Difficulty"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "Difficulty"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[scroll_label]
|
||||
id = "message"
|
||||
definition = "default"
|
||||
label = _ "Select difficulty level:"
|
||||
[/scroll_label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[scroll_label]
|
||||
id = "message"
|
||||
definition = "default"
|
||||
label = _ "Select difficulty level:"
|
||||
[/scroll_label]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[/column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[/row]
|
||||
[listbox]
|
||||
id = "listbox"
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[image]
|
||||
id = "icon"
|
||||
definition = "default"
|
||||
linked_group = "icon"
|
||||
[/image]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
linked_group = "label"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "description"
|
||||
definition = "default"
|
||||
linked_group = "description"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[listbox]
|
||||
id = "listbox"
|
||||
definition = "default"
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[list_definition]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[image]
|
||||
id = "icon"
|
||||
definition = "default"
|
||||
linked_group = "icon"
|
||||
[/image]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
linked_group = "label"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "description"
|
||||
definition = "default"
|
||||
linked_group = "description"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,375 +4,309 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "data_manage"
|
||||
description = "Persistence data management dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "top"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[linked_group]
|
||||
id = "filename"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "date"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
|
||||
label = _ "Manage Data"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[label]
|
||||
id = "lblChoose"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Choose the game to load"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "right"
|
||||
border_size = 10
|
||||
vertical_alignment = "center"
|
||||
|
||||
[label]
|
||||
id = "lblFilter"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Filter"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[text_box]
|
||||
id = "txtFilter"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[listbox]
|
||||
id = "persist_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
id = "filename"
|
||||
definition = "default"
|
||||
linked_group = "filename"
|
||||
|
||||
label = _ "Name"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
id = "date"
|
||||
definition = "default"
|
||||
linked_group = "date"
|
||||
|
||||
label = _ "Date"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/header]
|
||||
|
||||
[list_definition]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "filename"
|
||||
definition = "default"
|
||||
linked_group = "filename"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "date"
|
||||
definition = "default"
|
||||
linked_group = "date"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/toggle_panel]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[button]
|
||||
id = "clear"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Clear"
|
||||
label = _ "Clear"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[button]
|
||||
id = "restore"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Restore"
|
||||
label = _ "Restore"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[button]
|
||||
id = "backup"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Backup"
|
||||
label = _ "Backup"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "OK"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
|
||||
id = "data_manage"
|
||||
description = "Persistence data management dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "top"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[linked_group]
|
||||
id = "filename"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "date"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
|
||||
label = _ "Manage Data"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[label]
|
||||
id = "lblChoose"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Choose the game to load"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "right"
|
||||
border_size = 10
|
||||
vertical_alignment = "center"
|
||||
|
||||
[label]
|
||||
id = "lblFilter"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Filter"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[text_box]
|
||||
id = "txtFilter"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[listbox]
|
||||
id = "persist_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
id = "filename"
|
||||
definition = "default"
|
||||
linked_group = "filename"
|
||||
|
||||
label = _ "Name"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
id = "date"
|
||||
definition = "default"
|
||||
linked_group = "date"
|
||||
|
||||
label = _ "Date"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/header]
|
||||
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "filename"
|
||||
definition = "default"
|
||||
linked_group = "filename"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "date"
|
||||
definition = "default"
|
||||
linked_group = "date"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[button]
|
||||
id = "clear"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Clear"
|
||||
label = _ "Clear"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[button]
|
||||
id = "restore"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Restore"
|
||||
label = _ "Restore"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[button]
|
||||
id = "backup"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Backup"
|
||||
label = _ "Backup"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "OK"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,416 +4,374 @@
|
|||
### timer.
|
||||
###
|
||||
|
||||
|
||||
#define _GUI_TICK_MARK ANGLE TEXT
|
||||
[text]
|
||||
x = "(round(125 + (100.0 * sin({ANGLE}))))"
|
||||
y = "(round(125 - (100.0 * cos({ANGLE}))))"
|
||||
h = 20
|
||||
w = 30
|
||||
font_size = 10
|
||||
color = "255,255,255,255"
|
||||
text = "{TEXT}"
|
||||
[/text]
|
||||
[text]
|
||||
x = "(round(125 + (100.0 * sin({ANGLE}))))"
|
||||
y = "(round(125 - (100.0 * cos({ANGLE}))))"
|
||||
h = 20
|
||||
w = 30
|
||||
font_size = 10
|
||||
color = "255,255,255,255"
|
||||
text = "{TEXT}"
|
||||
[/text]
|
||||
#enddef
|
||||
|
||||
[window]
|
||||
id = "debug_clock"
|
||||
description = "Clock dialog to test the drawing timer."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
click_dismiss = "true"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "top"
|
||||
horizontal_placement = "left"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
label = "Debug drawing clock"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[progress_bar]
|
||||
id = "hour_percentage"
|
||||
|
||||
tooltip = "Hours in percent."
|
||||
help = "The full range of the bar is 24 hours."
|
||||
[/progress_bar]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[progress_bar]
|
||||
id = "minute_percentage"
|
||||
[/progress_bar]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[progress_bar]
|
||||
id = "second_percentage"
|
||||
[/progress_bar]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "hour"
|
||||
definition = "clock"
|
||||
|
||||
minimum_value = 0
|
||||
maximum_value = 86399
|
||||
step_size = 1
|
||||
[/slider]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "minute"
|
||||
definition = "clock"
|
||||
|
||||
minimum_value = 0
|
||||
maximum_value = 3599
|
||||
step_size = 1
|
||||
label = 3599
|
||||
[/slider]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "second"
|
||||
definition = "clock"
|
||||
|
||||
minimum_value = 0
|
||||
maximum_value = 59
|
||||
step_size = 1
|
||||
label = 59
|
||||
[/slider]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[matrix]
|
||||
id = "matrix"
|
||||
definition = "default"
|
||||
|
||||
vertical_scrollbar_mode = "auto"
|
||||
horizontal_scrollbar_mode = "auto"
|
||||
|
||||
[main]
|
||||
|
||||
[pane]
|
||||
id = "pane"
|
||||
|
||||
grow_direction = "vertical"
|
||||
parallel_items = 1
|
||||
|
||||
[item_definition]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
id = "time"
|
||||
definition = "default"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/item_definition]
|
||||
|
||||
[/pane]
|
||||
|
||||
[/main]
|
||||
|
||||
[/matrix]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "center"
|
||||
vertical_alignment = "center"
|
||||
|
||||
[drawing]
|
||||
id = "clock"
|
||||
definition = "default"
|
||||
|
||||
width = 250
|
||||
height = 280
|
||||
|
||||
[draw]
|
||||
# Add hour ticks.
|
||||
|
||||
{_GUI_TICK_MARK 15.0 1 }
|
||||
{_GUI_TICK_MARK 30.0 2 }
|
||||
{_GUI_TICK_MARK 45.0 3 }
|
||||
{_GUI_TICK_MARK 60.0 4 }
|
||||
{_GUI_TICK_MARK 75.0 5 }
|
||||
{_GUI_TICK_MARK 90.0 6 }
|
||||
{_GUI_TICK_MARK 105.0 7 }
|
||||
{_GUI_TICK_MARK 120.0 8 }
|
||||
{_GUI_TICK_MARK 135.0 9 }
|
||||
{_GUI_TICK_MARK 150.0 10}
|
||||
{_GUI_TICK_MARK 165.0 11}
|
||||
{_GUI_TICK_MARK 180.0 12}
|
||||
{_GUI_TICK_MARK 195.0 13}
|
||||
{_GUI_TICK_MARK 210.0 14}
|
||||
{_GUI_TICK_MARK 225.0 15}
|
||||
{_GUI_TICK_MARK 240.0 16}
|
||||
{_GUI_TICK_MARK 255.0 17}
|
||||
{_GUI_TICK_MARK 270.0 18}
|
||||
{_GUI_TICK_MARK 285.0 19}
|
||||
{_GUI_TICK_MARK 300.0 20}
|
||||
{_GUI_TICK_MARK 315.0 21}
|
||||
{_GUI_TICK_MARK 330.0 22}
|
||||
{_GUI_TICK_MARK 345.0 23}
|
||||
{_GUI_TICK_MARK 360.0 24}
|
||||
|
||||
# Add outer circle.
|
||||
|
||||
[circle]
|
||||
x = 125
|
||||
y = 125
|
||||
radius = 115
|
||||
color = "255,255,255,255"
|
||||
[/circle]
|
||||
|
||||
# TODO
|
||||
|
||||
# Add the hands.
|
||||
|
||||
[line]
|
||||
x1 = 125
|
||||
y1 = 125
|
||||
x2 = "(round(125 + (90.0 * sin(360.0 * second / 60.0))))"
|
||||
y2 = "(round(125 - (90.0 * cos(360.0 * second / 60.0))))"
|
||||
color = "255,255,255,255"
|
||||
[/line]
|
||||
|
||||
[line]
|
||||
x1 = 125
|
||||
y1 = 125
|
||||
x2 = "(round(125 + (70.0 * sin(360.0 * minute / (60.0 * 60.0)))))"
|
||||
y2 = "(round(125 - (70.0 * cos(360.0 * minute / (60.0 * 60.0)))))"
|
||||
color = "128,128,128,255"
|
||||
[/line]
|
||||
|
||||
[line]
|
||||
x1 = 125
|
||||
y1 = 125
|
||||
x2 = "(round(125 + (40.0 * sin(360.0 * hour / (60.0 * 60.0 * 24.0)))))"
|
||||
y2 = "(round(125 - (40.0 * cos(360.0 * hour / (60.0 * 60.0 * 24.0)))))"
|
||||
color = "64,64,64,255"
|
||||
[/line]
|
||||
|
||||
# Show the time as string.
|
||||
|
||||
[text]
|
||||
x = 0
|
||||
y = 250
|
||||
w = "(width)"
|
||||
h = 30
|
||||
font_size = 20
|
||||
maximum_width = "(width)"
|
||||
text_alignment = "center"
|
||||
color = "128,128,128,255"
|
||||
text = "(concatenate(
|
||||
id = "debug_clock"
|
||||
description = "Clock dialog to test the drawing timer."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
click_dismiss = "true"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "top"
|
||||
horizontal_placement = "left"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
label = "Debug drawing clock"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[progress_bar]
|
||||
id = "hour_percentage"
|
||||
|
||||
tooltip = "Hours in percent."
|
||||
help = "The full range of the bar is 24 hours."
|
||||
[/progress_bar]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[progress_bar]
|
||||
id = "minute_percentage"
|
||||
[/progress_bar]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[progress_bar]
|
||||
id = "second_percentage"
|
||||
[/progress_bar]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "hour"
|
||||
definition = "clock"
|
||||
|
||||
minimum_value = 0
|
||||
maximum_value = 86399
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "minute"
|
||||
definition = "clock"
|
||||
|
||||
minimum_value = 0
|
||||
maximum_value = 3599
|
||||
step_size = 1
|
||||
label = 3599
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "second"
|
||||
definition = "clock"
|
||||
|
||||
minimum_value = 0
|
||||
maximum_value = 59
|
||||
step_size = 1
|
||||
label = 59
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[matrix]
|
||||
id = "matrix"
|
||||
definition = "default"
|
||||
|
||||
vertical_scrollbar_mode = "auto"
|
||||
horizontal_scrollbar_mode = "auto"
|
||||
|
||||
[main]
|
||||
[pane]
|
||||
id = "pane"
|
||||
|
||||
grow_direction = "vertical"
|
||||
parallel_items = 1
|
||||
|
||||
[item_definition]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
id = "time"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/item_definition]
|
||||
[/pane]
|
||||
[/main]
|
||||
[/matrix]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "center"
|
||||
vertical_alignment = "center"
|
||||
|
||||
[drawing]
|
||||
id = "clock"
|
||||
definition = "default"
|
||||
|
||||
width = 250
|
||||
height = 280
|
||||
|
||||
[draw]
|
||||
# Add hour ticks.
|
||||
|
||||
{_GUI_TICK_MARK 15.0 1 }
|
||||
{_GUI_TICK_MARK 30.0 2 }
|
||||
{_GUI_TICK_MARK 45.0 3 }
|
||||
{_GUI_TICK_MARK 60.0 4 }
|
||||
{_GUI_TICK_MARK 75.0 5 }
|
||||
{_GUI_TICK_MARK 90.0 6 }
|
||||
{_GUI_TICK_MARK 105.0 7 }
|
||||
{_GUI_TICK_MARK 120.0 8 }
|
||||
{_GUI_TICK_MARK 135.0 9 }
|
||||
{_GUI_TICK_MARK 150.0 10}
|
||||
{_GUI_TICK_MARK 165.0 11}
|
||||
{_GUI_TICK_MARK 180.0 12}
|
||||
{_GUI_TICK_MARK 195.0 13}
|
||||
{_GUI_TICK_MARK 210.0 14}
|
||||
{_GUI_TICK_MARK 225.0 15}
|
||||
{_GUI_TICK_MARK 240.0 16}
|
||||
{_GUI_TICK_MARK 255.0 17}
|
||||
{_GUI_TICK_MARK 270.0 18}
|
||||
{_GUI_TICK_MARK 285.0 19}
|
||||
{_GUI_TICK_MARK 300.0 20}
|
||||
{_GUI_TICK_MARK 315.0 21}
|
||||
{_GUI_TICK_MARK 330.0 22}
|
||||
{_GUI_TICK_MARK 345.0 23}
|
||||
{_GUI_TICK_MARK 360.0 24}
|
||||
|
||||
# Add outer circle.
|
||||
|
||||
[circle]
|
||||
x = 125
|
||||
y = 125
|
||||
radius = 115
|
||||
color = "255,255,255,255"
|
||||
[/circle]
|
||||
|
||||
# TODO
|
||||
|
||||
# Add the hands.
|
||||
|
||||
[line]
|
||||
x1 = 125
|
||||
y1 = 125
|
||||
x2 = "(round(125 + (90.0 * sin(360.0 * second / 60.0))))"
|
||||
y2 = "(round(125 - (90.0 * cos(360.0 * second / 60.0))))"
|
||||
color = "255,255,255,255"
|
||||
[/line]
|
||||
|
||||
[line]
|
||||
x1 = 125
|
||||
y1 = 125
|
||||
x2 = "(round(125 + (70.0 * sin(360.0 * minute / (60.0 * 60.0)))))"
|
||||
y2 = "(round(125 - (70.0 * cos(360.0 * minute / (60.0 * 60.0)))))"
|
||||
color = "128,128,128,255"
|
||||
[/line]
|
||||
|
||||
[line]
|
||||
x1 = 125
|
||||
y1 = 125
|
||||
x2 = "(round(125 + (40.0 * sin(360.0 * hour / (60.0 * 60.0 * 24.0)))))"
|
||||
y2 = "(round(125 - (40.0 * cos(360.0 * hour / (60.0 * 60.0 * 24.0)))))"
|
||||
color = "64,64,64,255"
|
||||
[/line]
|
||||
|
||||
# Show the time as string.
|
||||
|
||||
[text]
|
||||
x = 0
|
||||
y = 250
|
||||
w = "(width)"
|
||||
h = 30
|
||||
font_size = 20
|
||||
maximum_width = "(width)"
|
||||
text_alignment = "center"
|
||||
color = "128,128,128,255"
|
||||
text = "(concatenate(
|
||||
substring(concatenate(0, 0, (hour / (60 * 60))), -2)
|
||||
, ':'
|
||||
, substring(concatenate(0, 0, (minute / 60)), -2)
|
||||
, ':'
|
||||
, substring(concatenate(0, 0, second), -2)))"
|
||||
[/text]
|
||||
[/text]
|
||||
[/draw]
|
||||
[/drawing]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
||||
[/draw]
|
||||
[slider_definition]
|
||||
id = "clock"
|
||||
description = "Specialized slider to test the clock dialog."
|
||||
|
||||
[/drawing]
|
||||
[resolution]
|
||||
min_width = 150
|
||||
min_height = 22
|
||||
|
||||
[/column]
|
||||
default_width = 250
|
||||
default_height = 22
|
||||
|
||||
[/row]
|
||||
max_width = 0
|
||||
max_height = 22
|
||||
|
||||
[/grid]
|
||||
minimum_positioner_length = 16
|
||||
maximum_positioner_length = 16
|
||||
|
||||
[/resolution]
|
||||
left_offset = 0
|
||||
right_offset = 0
|
||||
|
||||
[/window]
|
||||
text_font_size = 1
|
||||
|
||||
[slider_definition]
|
||||
id = "clock"
|
||||
description = "Specialized slider to test the clock dialog."
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[resolution]
|
||||
[state_disabled]
|
||||
[draw]
|
||||
#
|
||||
# Groove
|
||||
#
|
||||
|
||||
min_width = 150
|
||||
min_height = 22
|
||||
[line]
|
||||
x1 = 0
|
||||
y1 = "(height / 2)"
|
||||
x2 = "(width - 1)"
|
||||
y2 = "(height / 2)"
|
||||
|
||||
default_width = 250
|
||||
default_height = 22
|
||||
color = {GUI__FONT_COLOR_ENABLED__DEFAULT}
|
||||
thickness = 1
|
||||
[/line]
|
||||
|
||||
max_width = 0
|
||||
max_height = 22
|
||||
#
|
||||
# Slider
|
||||
#
|
||||
|
||||
minimum_positioner_length = 16
|
||||
maximum_positioner_length = 16
|
||||
[image]
|
||||
x = "(positioner_offset)"
|
||||
y = "(if (image_height < height, (height - image_height) / 2, 0))"
|
||||
name = "buttons/sliders/slider.png"
|
||||
[/image]
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
left_offset = 0
|
||||
right_offset = 0
|
||||
[state_pressed]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_pressed]
|
||||
|
||||
text_font_size = 1
|
||||
|
||||
[state_enabled]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_enabled]
|
||||
|
||||
[state_disabled]
|
||||
[draw]
|
||||
|
||||
#
|
||||
# Groove
|
||||
#
|
||||
|
||||
[line]
|
||||
x1 = 0
|
||||
y1 = "(height / 2)"
|
||||
x2 = "(width - 1)"
|
||||
y2 = "(height / 2)"
|
||||
|
||||
color = {GUI__FONT_COLOR_ENABLED__DEFAULT}
|
||||
thickness = 1
|
||||
[/line]
|
||||
|
||||
#
|
||||
# Slider
|
||||
#
|
||||
|
||||
[image]
|
||||
x = "(positioner_offset)"
|
||||
y = "(if (image_height < height, (height - image_height) / 2, 0))"
|
||||
name = "buttons/sliders/slider.png"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
[/state_disabled]
|
||||
|
||||
[state_pressed]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_pressed]
|
||||
|
||||
[state_focussed]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
|
||||
[/resolution]
|
||||
|
||||
[/slider_definition]
|
||||
[state_focussed]
|
||||
[draw]
|
||||
[/draw]
|
||||
[/state_focussed]
|
||||
[/resolution]
|
||||
[/slider_definition]
|
||||
|
|
|
@ -4,169 +4,147 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "edit_label"
|
||||
description = "Map label editor."
|
||||
id = "edit_label"
|
||||
description = "Map label editor."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "Place Label"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Place Label"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
label = _ "Label:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
[text_box]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Label:"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[toggle_button]
|
||||
id = "team_only_toggle"
|
||||
definition = "default"
|
||||
label= _ "Team only"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[text_box]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/column]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/row]
|
||||
{GUI_FILLER}
|
||||
|
||||
[/grid]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/column]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[/row]
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "team_only_toggle"
|
||||
definition = "default"
|
||||
label= _ "Team only"
|
||||
[/toggle_button]
|
||||
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
{GUI_FILLER}
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,145 +4,124 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "edit_text"
|
||||
description = "In-game text editing dialog."
|
||||
id = "edit_text"
|
||||
description = "In-game text editing dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[label]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[text_box]
|
||||
id = "text"
|
||||
definition = "default"
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[label]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[text_box]
|
||||
id = "text"
|
||||
definition = "default"
|
||||
[/text_box]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[/column]
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,206 +4,181 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "editor_edit_label"
|
||||
description = "Editor map label editor."
|
||||
id = "editor_edit_label"
|
||||
description = "Editor map label editor."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "Place Label"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Place Label"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
label = _ "Label:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
[text_box]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Label:"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[toggle_button]
|
||||
id = "immutable_toggle"
|
||||
definition = "default"
|
||||
label= _ "Immutable"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[text_box]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[/column]
|
||||
[toggle_button]
|
||||
id = "visible_fog_toggle"
|
||||
definition = "default"
|
||||
label= _ "Visible in fog"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/grid]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[/column]
|
||||
[toggle_button]
|
||||
id = "visible_shroud_toggle"
|
||||
definition = "default"
|
||||
label= _ "Visible in shroud"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[toggle_button]
|
||||
id = "immutable_toggle"
|
||||
definition = "default"
|
||||
label= _ "Immutable"
|
||||
[/toggle_button]
|
||||
{GUI_FILLER}
|
||||
|
||||
[/column]
|
||||
[/row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[toggle_button]
|
||||
id = "visible_fog_toggle"
|
||||
definition = "default"
|
||||
label= _ "Visible in fog"
|
||||
[/toggle_button]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "visible_shroud_toggle"
|
||||
definition = "default"
|
||||
label= _ "Visible in shroud"
|
||||
[/toggle_button]
|
||||
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
{GUI_FILLER}
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,351 +4,316 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "editor_edit_scenario"
|
||||
description = "Editor scenario editor."
|
||||
id = "editor_edit_scenario"
|
||||
description = "Editor scenario editor."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "Edit Scenario Settings"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Edit Scenario Settings"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
label = _ "Identifier:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Identifier:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[text_box]
|
||||
id = "id"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Name:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[text_box]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Description:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[text_box]
|
||||
id = "description"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Experience modifier:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "experience_modifier"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = -1
|
||||
maximum_value = 200
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Turns:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "turns"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = -1
|
||||
maximum_value = 99
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "victory_when_enemies_defeated"
|
||||
definition = "default"
|
||||
label= _ "Declare victory once all enemies are defeated"
|
||||
[/toggle_button]
|
||||
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "random_start_time"
|
||||
definition = "default"
|
||||
label= _ "Random starting time"
|
||||
[/toggle_button]
|
||||
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
{GUI_FILLER}
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[text_box]
|
||||
id = "id"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Name:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[text_box]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Description:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[text_box]
|
||||
id = "description"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Experience modifier:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "experience_modifier"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = -1
|
||||
maximum_value = 200
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Turns:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "turns"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = -1
|
||||
maximum_value = 99
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "victory_when_enemies_defeated"
|
||||
definition = "default"
|
||||
label= _ "Declare victory once all enemies are defeated"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "random_start_time"
|
||||
definition = "default"
|
||||
label= _ "Random starting time"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
{GUI_FILLER}
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,505 +4,451 @@
|
|||
###
|
||||
|
||||
#define _GUI_SIDE_CONTROLLER_OPTION ID LABEL
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[toggle_button]
|
||||
id = "controller_"+{ID}
|
||||
definition = "radio"
|
||||
label = {LABEL}
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[toggle_button]
|
||||
id = "controller_"+{ID}
|
||||
definition = "radio"
|
||||
label = {LABEL}
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
#enddef
|
||||
|
||||
[window]
|
||||
id = "editor_edit_side"
|
||||
description = "Editor Side Editor."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "Side Setup"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Number:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "side_number"
|
||||
definition = "default"
|
||||
label = "0"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Team identifier:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[text_box]
|
||||
id = "team_name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Team name:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[text_box]
|
||||
id = "user_team_name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "shroud"
|
||||
definition = "default"
|
||||
label= _ "Shroud"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "share_maps"
|
||||
definition = "default"
|
||||
label= _ "Share map"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "no_leader"
|
||||
definition = "default"
|
||||
label= _ "No leader"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "fog"
|
||||
definition = "default"
|
||||
label= _ "Fog of war"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "share_view"
|
||||
definition = "default"
|
||||
label= _ "Share view"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "hidden"
|
||||
definition = "default"
|
||||
label= _ "Hide in status table"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Gold:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "gold"
|
||||
definition = "default"
|
||||
best_slider_length = 200
|
||||
minimum_value = 0
|
||||
maximum_value = 1000
|
||||
step_size = 5
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Gold per village:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "village_income"
|
||||
definition = "default"
|
||||
best_slider_length = 200
|
||||
minimum_value = 1
|
||||
maximum_value = 10
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Income:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "income"
|
||||
definition = "default"
|
||||
best_slider_length = 200
|
||||
minimum_value = -2
|
||||
maximum_value = 20
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Support per village:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "village_support"
|
||||
definition = "default"
|
||||
best_slider_length = 200
|
||||
minimum_value = 0
|
||||
maximum_value = 20
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Controller:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
{_GUI_SIDE_CONTROLLER_OPTION human ( _ "controller^Human")}
|
||||
|
||||
{_GUI_SIDE_CONTROLLER_OPTION human_ai ( _ "controller^Human/AI")}
|
||||
|
||||
{_GUI_SIDE_CONTROLLER_OPTION ai ( _ "controller^AI only")}
|
||||
|
||||
{_GUI_SIDE_CONTROLLER_OPTION null ( _ "controller^None")}
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
{_GUI_SIDE_CONTROLLER_OPTION number ( _ "controller^Player number:")}
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "controller_number_player"
|
||||
definition = "default"
|
||||
best_slider_length = 100
|
||||
minimum_value = 1
|
||||
maximum_value = 9
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
|
||||
id = "editor_edit_side"
|
||||
description = "Editor Side Editor."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "Side Setup"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Number:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "side_number"
|
||||
definition = "default"
|
||||
label = "0"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Team identifier:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[text_box]
|
||||
id = "team_name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Team name:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[text_box]
|
||||
id = "user_team_name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "shroud"
|
||||
definition = "default"
|
||||
label= _ "Shroud"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "share_maps"
|
||||
definition = "default"
|
||||
label= _ "Share map"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "no_leader"
|
||||
definition = "default"
|
||||
label= _ "No leader"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "fog"
|
||||
definition = "default"
|
||||
label= _ "Fog of war"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "share_view"
|
||||
definition = "default"
|
||||
label= _ "Share view"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "hidden"
|
||||
definition = "default"
|
||||
label= _ "Hide in status table"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Gold:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "gold"
|
||||
definition = "default"
|
||||
best_slider_length = 200
|
||||
minimum_value = 0
|
||||
maximum_value = 1000
|
||||
step_size = 5
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Gold per village:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "village_income"
|
||||
definition = "default"
|
||||
best_slider_length = 200
|
||||
minimum_value = 1
|
||||
maximum_value = 10
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Income:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "income"
|
||||
definition = "default"
|
||||
best_slider_length = 200
|
||||
minimum_value = -2
|
||||
maximum_value = 20
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Support per village:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "village_support"
|
||||
definition = "default"
|
||||
best_slider_length = 200
|
||||
minimum_value = 0
|
||||
maximum_value = 20
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
vertical_alignment = "top"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Controller:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
{_GUI_SIDE_CONTROLLER_OPTION human ( _ "controller^Human")}
|
||||
|
||||
{_GUI_SIDE_CONTROLLER_OPTION human_ai ( _ "controller^Human/AI")}
|
||||
|
||||
{_GUI_SIDE_CONTROLLER_OPTION ai ( _ "controller^AI only")}
|
||||
|
||||
{_GUI_SIDE_CONTROLLER_OPTION null ( _ "controller^None")}
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
{_GUI_SIDE_CONTROLLER_OPTION number ( _ "controller^Player number:")}
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[slider]
|
||||
id = "controller_number_player"
|
||||
definition = "default"
|
||||
best_slider_length = 100
|
||||
minimum_value = 1
|
||||
maximum_value = 9
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
||||
#undef _GUI_SIDE_CONTROLLER_OPTION
|
||||
|
|
|
@ -4,113 +4,113 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "editor_generate_map"
|
||||
description = "Generate random map dialog."
|
||||
id = "editor_generate_map"
|
||||
description = "Generate random map dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Generate Random Map"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "current_generator"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "next_generator"
|
||||
definition = "default"
|
||||
size_text = _ "Next Generator"
|
||||
label = _ "Next Generator"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "settings"
|
||||
definition = "default"
|
||||
size_text = _ "Settings"
|
||||
label = _ "Settings"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Generate"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Generate Random Map"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "current_generator"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "next_generator"
|
||||
definition = "default"
|
||||
size_text = _ "Next Generator"
|
||||
label = _ "Next Generator"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "settings"
|
||||
definition = "default"
|
||||
size_text = _ "Settings"
|
||||
label = _ "Settings"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Generate"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,131 +4,131 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "editor_new_map"
|
||||
description = "New map dialog."
|
||||
id = "editor_new_map"
|
||||
description = "New map dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "New Map"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Width:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "width"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = 1
|
||||
maximum_value = 200
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Height:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "height"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = 1
|
||||
maximum_value = 200
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Create"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "New Map"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Width:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "width"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = 1
|
||||
maximum_value = 200
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Height:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "height"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = 1
|
||||
maximum_value = 200
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Create"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,290 +4,290 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "editor_resize_map"
|
||||
description = "Resize map dialog."
|
||||
id = "editor_resize_map"
|
||||
description = "Resize map dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Resize Map"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "New width:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "width"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = 1
|
||||
maximum_value = 200
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Old width:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "old_width"
|
||||
definition = "default"
|
||||
label = "-1"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "New height:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "height"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = 1
|
||||
maximum_value = 200
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Old height:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "old_height"
|
||||
definition = "default"
|
||||
label = "-1"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border_size = 5
|
||||
border = "all"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Expand/shrink direction:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
border_size = 5
|
||||
border = "all"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand0"
|
||||
definition = "icon"
|
||||
# label = "Bottom / right"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand1"
|
||||
definition = "icon"
|
||||
# label = "Bottom / center"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
[toggle_button]
|
||||
id = "expand2"
|
||||
definition = "icon"
|
||||
# label = "Bottom / left"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand3"
|
||||
definition = "icon"
|
||||
# label = "Center / right"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand4"
|
||||
definition = "icon"
|
||||
# label = "Center"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
[toggle_button]
|
||||
id = "expand5"
|
||||
definition = "icon"
|
||||
# label = "Center / left"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
[toggle_button]
|
||||
id = "expand6"
|
||||
definition = "icon"
|
||||
# label = "Top / right"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand7"
|
||||
definition = "icon"
|
||||
# label = "Top / center"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand8"
|
||||
definition = "icon"
|
||||
# label = "Top / left"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[column]
|
||||
border_size = 5
|
||||
border = "all"
|
||||
[toggle_button]
|
||||
id = "copy_edge_terrain"
|
||||
definition = "default"
|
||||
label = _ "Copy edge terrain"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Resize"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Resize Map"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "New width:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "width"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = 1
|
||||
maximum_value = 200
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Old width:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "old_width"
|
||||
definition = "default"
|
||||
label = "-1"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "New height:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[slider]
|
||||
id = "height"
|
||||
definition = "default"
|
||||
best_slider_length = 250
|
||||
minimum_value = 1
|
||||
maximum_value = 200
|
||||
step_size = 1
|
||||
[/slider]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Old height:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "old_height"
|
||||
definition = "default"
|
||||
label = "-1"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border_size = 5
|
||||
border = "all"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Expand/shrink direction:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
border_size = 5
|
||||
border = "all"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand0"
|
||||
definition = "icon"
|
||||
# label = "Bottom / right"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand1"
|
||||
definition = "icon"
|
||||
# label = "Bottom / center"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
[toggle_button]
|
||||
id = "expand2"
|
||||
definition = "icon"
|
||||
# label = "Bottom / left"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand3"
|
||||
definition = "icon"
|
||||
# label = "Center / right"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand4"
|
||||
definition = "icon"
|
||||
# label = "Center"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
[toggle_button]
|
||||
id = "expand5"
|
||||
definition = "icon"
|
||||
# label = "Center / left"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
[toggle_button]
|
||||
id = "expand6"
|
||||
definition = "icon"
|
||||
# label = "Top / right"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand7"
|
||||
definition = "icon"
|
||||
# label = "Top / center"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[toggle_button]
|
||||
id = "expand8"
|
||||
definition = "icon"
|
||||
# label = "Top / left"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[column]
|
||||
border_size = 5
|
||||
border = "all"
|
||||
[toggle_button]
|
||||
id = "copy_edge_terrain"
|
||||
definition = "default"
|
||||
label = _ "Copy edge terrain"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Resize"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -1,192 +1,170 @@
|
|||
#textdomain wesnoth-lib
|
||||
|
||||
[window]
|
||||
id = "editor_set_starting_position"
|
||||
description = "Map editor dialog for setting player starting positions."
|
||||
id = "editor_set_starting_position"
|
||||
description = "Map editor dialog for setting player starting positions."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 500
|
||||
maximum_height = 600
|
||||
maximum_width = 500
|
||||
maximum_height = 600
|
||||
|
||||
[linked_group]
|
||||
id = "players"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "locations"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
[linked_group]
|
||||
id = "players"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[linked_group]
|
||||
id = "locations"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[grid]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "Choose Player"
|
||||
[/label]
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "Choose Player"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/column]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[label]
|
||||
id = "message"
|
||||
definition = "default"
|
||||
label = _ "Which player should start here?"
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[label]
|
||||
id = "message"
|
||||
definition = "default"
|
||||
label = _ "Which player should start here?"
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[listbox]
|
||||
id = "listbox"
|
||||
definition = "default"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "player"
|
||||
definition = "default"
|
||||
linked_group = "players"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "location"
|
||||
definition = "default"
|
||||
linked_group = "locations"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[listbox]
|
||||
id = "listbox"
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[list_definition]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[row]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "player"
|
||||
definition = "default"
|
||||
linked_group = "players"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "location"
|
||||
definition = "default"
|
||||
linked_group = "locations"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -5,147 +5,127 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "folder_create"
|
||||
description = "Dialog for providing the name of a new folder to create. Used by the file dialog."
|
||||
id = "folder_create"
|
||||
description = "Dialog for providing the name of a new folder to create. Used by the file dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "New Folder"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "New Folder"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Name:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[text_box]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Name:"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[text_box]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[/column]
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row] #header
|
||||
|
|
|
@ -4,136 +4,119 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "game_delete"
|
||||
description = "Confirmation for deleting a savegame."
|
||||
id = "game_delete"
|
||||
description = "Confirmation for deleting a savegame."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
label = _ "Delete Save"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Delete Save"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblMessage"
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
label = _ "Do you really want to delete this game?"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblMessage"
|
||||
definition = "default"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
label = _ "Do you really want to delete this game?"
|
||||
[/label]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[toggle_button]
|
||||
id = "dont_ask_again"
|
||||
definition = "default"
|
||||
|
||||
[/column]
|
||||
label = _ "Do not show again"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[toggle_button]
|
||||
id = "dont_ask_again"
|
||||
definition = "default"
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
label = _ "Do not show again"
|
||||
[/toggle_button]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[/column]
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "No"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "No"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,491 +4,404 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "game_load"
|
||||
description = "Load game dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[linked_group]
|
||||
id = "filename"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "date"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
|
||||
label = _ "Load Game"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
|
||||
[grid]
|
||||
|
||||
id = "preview_pane"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[image]
|
||||
id = "imgLeader"
|
||||
definition = "default"
|
||||
[/image]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[minimap]
|
||||
id = "minimap"
|
||||
definition = "default"
|
||||
[/minimap]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "lblScenario"
|
||||
definition = "default"
|
||||
|
||||
label = " "
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "lblSummary"
|
||||
definition = "default_small"
|
||||
|
||||
label = " "
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[label]
|
||||
id = "lblChoose"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Choose the game to load"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "right"
|
||||
border_size = 10
|
||||
vertical_alignment = "center"
|
||||
|
||||
[label]
|
||||
id = "lblFilter"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Filter"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[text_box]
|
||||
id = "txtFilter"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[listbox]
|
||||
id = "savegame_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "filename"
|
||||
definition = "default"
|
||||
linked_group = "filename"
|
||||
|
||||
label = _ "Name"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "date"
|
||||
definition = "default"
|
||||
linked_group = "date"
|
||||
|
||||
label = _ "Date"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/header]
|
||||
|
||||
[list_definition]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "filename"
|
||||
definition = "default"
|
||||
linked_group = "filename"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "date"
|
||||
definition = "default"
|
||||
linked_group = "date"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/toggle_panel]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[button]
|
||||
id = "delete"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Delete"
|
||||
label = _ "Delete"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[toggle_button]
|
||||
id = "change_difficulty"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Change difficulty"
|
||||
tooltip = _ "Change campaign difficulty before loading"
|
||||
[/toggle_button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[toggle_button]
|
||||
id = "show_replay"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Show replay"
|
||||
tooltip = _ "Play the embedded replay from the saved game if applicable"
|
||||
[/toggle_button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[toggle_button]
|
||||
id = "cancel_orders"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel orders"
|
||||
tooltip = _ "Cancel any pending unit movements in the saved game"
|
||||
[/toggle_button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "OK"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
|
||||
id = "game_load"
|
||||
description = "Load game dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[linked_group]
|
||||
id = "filename"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "date"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
|
||||
label = _ "Load Game"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
|
||||
[grid]
|
||||
id = "preview_pane"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[image]
|
||||
id = "imgLeader"
|
||||
definition = "default"
|
||||
[/image]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[minimap]
|
||||
id = "minimap"
|
||||
definition = "default"
|
||||
[/minimap]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "lblScenario"
|
||||
definition = "default"
|
||||
|
||||
label = " "
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "lblSummary"
|
||||
definition = "default_small"
|
||||
|
||||
label = " "
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[label]
|
||||
id = "lblChoose"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Choose the game to load"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "right"
|
||||
border_size = 10
|
||||
vertical_alignment = "center"
|
||||
|
||||
[label]
|
||||
id = "lblFilter"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Filter"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[text_box]
|
||||
id = "txtFilter"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[listbox]
|
||||
id = "savegame_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "filename"
|
||||
definition = "default"
|
||||
linked_group = "filename"
|
||||
|
||||
label = _ "Name"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "date"
|
||||
definition = "default"
|
||||
linked_group = "date"
|
||||
|
||||
label = _ "Date"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/header]
|
||||
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "filename"
|
||||
definition = "default"
|
||||
linked_group = "filename"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "date"
|
||||
definition = "default"
|
||||
linked_group = "date"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[button]
|
||||
id = "delete"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Delete"
|
||||
label = _ "Delete"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[toggle_button]
|
||||
id = "change_difficulty"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Change difficulty"
|
||||
tooltip = _ "Change campaign difficulty before loading"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[toggle_button]
|
||||
id = "show_replay"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Show replay"
|
||||
tooltip = _ "Play the embedded replay from the saved game if applicable"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
border = "bottom"
|
||||
border_size = 10
|
||||
|
||||
[toggle_button]
|
||||
id = "cancel_orders"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel orders"
|
||||
tooltip = _ "Cancel any pending unit movements in the saved game"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "OK"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -1,185 +1,163 @@
|
|||
#textdomain wesnoth-lib
|
||||
|
||||
#define __GUI_GAME_PATHS_ENTRY ID_STEM LABEL
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = {LABEL}
|
||||
[/label]
|
||||
label = {LABEL}
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
[text_box]
|
||||
id = "path_"+{ID_STEM}
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
|
||||
[text_box]
|
||||
id = "path_"+{ID_STEM}
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[button]
|
||||
id = "copy_"+{ID_STEM}
|
||||
definition = "action_copy"
|
||||
label = _ "filesystem^Copy"
|
||||
tooltip = _ "Copy this path to clipboard"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[button]
|
||||
id = "copy_"+{ID_STEM}
|
||||
definition = "action_copy"
|
||||
label = _ "filesystem^Copy"
|
||||
tooltip = _ "Copy this path to clipboard"
|
||||
[/button]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[button]
|
||||
id = "browse_"+{ID_STEM}
|
||||
definition = "action_go"
|
||||
label = _ "filesystem^Browse"
|
||||
tooltip = _ "Browse this location using a file manager"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
[button]
|
||||
id = "browse_"+{ID_STEM}
|
||||
definition = "action_go"
|
||||
label = _ "filesystem^Browse"
|
||||
tooltip = _ "Browse this location using a file manager"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
#enddef
|
||||
|
||||
[window]
|
||||
id = "game_paths"
|
||||
description = "List of paths used by the game to locate resource and configuration files."
|
||||
id = "game_paths"
|
||||
description = "List of paths used by the game to locate resource and configuration files."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
click_dismiss = "true"
|
||||
maximum_width = 800
|
||||
click_dismiss = "true"
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "Game Paths"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Game Paths"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
#
|
||||
# NOTE: the following ids must follow the C++ code's expectations
|
||||
# (see gui2::tgame_paths::path_map_).
|
||||
#
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
{__GUI_GAME_PATHS_ENTRY datadir ( _ "Game data:")}
|
||||
|
||||
horizontal_grow = "true"
|
||||
{__GUI_GAME_PATHS_ENTRY config ( _ "Configuration:")}
|
||||
|
||||
[grid]
|
||||
{__GUI_GAME_PATHS_ENTRY userdata ( _ "User data:")}
|
||||
|
||||
#
|
||||
# NOTE: the following ids must follow the C++ code's expectations
|
||||
# (see gui2::tgame_paths::path_map_).
|
||||
#
|
||||
{__GUI_GAME_PATHS_ENTRY saves ( _ "Saved games:")}
|
||||
|
||||
{__GUI_GAME_PATHS_ENTRY datadir ( _ "Game data:")}
|
||||
{__GUI_GAME_PATHS_ENTRY addons ( _ "Add-ons:")}
|
||||
|
||||
{__GUI_GAME_PATHS_ENTRY config ( _ "Configuration:")}
|
||||
{__GUI_GAME_PATHS_ENTRY cache ( _ "Cache:")}
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
{__GUI_GAME_PATHS_ENTRY userdata ( _ "User data:")}
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
{__GUI_GAME_PATHS_ENTRY saves ( _ "Saved games:")}
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
{__GUI_GAME_PATHS_ENTRY addons ( _ "Add-ons:")}
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
{__GUI_GAME_PATHS_ENTRY cache ( _ "Cache:")}
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
||||
#undef __GUI_GAME_PATHS_ENTRY
|
||||
|
|
|
@ -4,149 +4,129 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "game_save"
|
||||
description = "Save game dialog."
|
||||
id = "game_save"
|
||||
description = "Save game dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
maximum_width = 500
|
||||
maximum_height = 600
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
maximum_width = 500
|
||||
maximum_height = 600
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
label = _ "Save Game"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Save Game"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
label = _ "Name:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
[text_box]
|
||||
id = "txtFilename"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Name:"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[text_box]
|
||||
id = "txtFilename"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[/column]
|
||||
size_text = _ "OK"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "OK"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,170 +4,148 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "game_save_message"
|
||||
description = "Save game dialog with additional message."
|
||||
id = "game_save_message"
|
||||
description = "Save game dialog with additional message."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
maximum_width = 500
|
||||
maximum_height = 600
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
maximum_width = 500
|
||||
maximum_height = 600
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
label = _ "Save Game"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Save Game"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblMessage"
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
label = ""
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblMessage"
|
||||
definition = "default"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
label = ""
|
||||
wrap = "true"
|
||||
[/label]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[/column]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
horizontal_grow = "true"
|
||||
label = _ "Name:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[grid]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[text_box]
|
||||
id = "txtFilename"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
label = _ "Name:"
|
||||
[/label]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[text_box]
|
||||
id = "txtFilename"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "No"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "No"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,223 +4,193 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "game_save_oos"
|
||||
description = "Save game dialog after OOS."
|
||||
id = "game_save_oos"
|
||||
description = "Save game dialog after OOS."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
maximum_width = 500
|
||||
maximum_height = 600
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
maximum_width = 500
|
||||
maximum_height = 600
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
|
||||
label = _ "Save Game"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[scroll_label]
|
||||
id = "lblMessage"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/scroll_label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Name:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[text_box]
|
||||
id = "txtFilename"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[toggle_button]
|
||||
id = "ignore_all"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Ignore all"
|
||||
[/toggle_button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "quit_game"
|
||||
definition = "default"
|
||||
return_value = "2"
|
||||
|
||||
label = _ "Quit Game"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "No"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
label = _ "Save Game"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[scroll_label]
|
||||
id = "lblMessage"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/scroll_label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Name:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[text_box]
|
||||
id = "txtFilename"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[toggle_button]
|
||||
id = "ignore_all"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Ignore all"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "quit_game"
|
||||
definition = "default"
|
||||
return_value = "2"
|
||||
|
||||
label = _ "Quit Game"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "No"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,125 +4,108 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "game_save_overwrite"
|
||||
description = "Ask if an existing savefile should be overwritten."
|
||||
id = "game_save_overwrite"
|
||||
description = "Ask if an existing savefile should be overwritten."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblTitle"
|
||||
definition = "title"
|
||||
label = _ "Overwrite?"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Overwrite?"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblMessage"
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
label = _ "Save already exists. Do you want to overwrite it?"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "lblMessage"
|
||||
definition = "default"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
label = _ "Save already exists. Do you want to overwrite it?"
|
||||
[/label]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[grid]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "No"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "No"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -23,13 +23,13 @@
|
|||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row] #header
|
||||
|
@ -72,135 +72,135 @@
|
|||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 3
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
[column]
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 3
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[listbox]
|
||||
id = "stuff_types_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[listbox]
|
||||
id = "stuff_types_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "typename"
|
||||
definition = "default"
|
||||
linked_group = "typename"
|
||||
[label]
|
||||
id = "typename"
|
||||
definition = "default"
|
||||
linked_group = "typename"
|
||||
|
||||
label = _ "Type"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/header]
|
||||
label = _ "Type"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/header]
|
||||
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "typename"
|
||||
definition = "default"
|
||||
linked_group = "typename"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
[label]
|
||||
id = "typename"
|
||||
definition = "default"
|
||||
linked_group = "typename"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 3
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "false"
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 3
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "false"
|
||||
|
||||
[listbox]
|
||||
id = "stuff_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[listbox]
|
||||
id = "stuff_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
|
||||
label = _ "Items"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/header]
|
||||
label = _ "Items"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/header]
|
||||
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 6
|
||||
|
|
|
@ -4,155 +4,132 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "language_selection"
|
||||
description = "Language selection dialog."
|
||||
id = "language_selection"
|
||||
description = "Language selection dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_height = 600
|
||||
maximum_height = 600
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Language"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Language"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
label = _ "Choose your preferred language:"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
label = _ "Choose your preferred language:"
|
||||
[/label]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[/column]
|
||||
[listbox]
|
||||
id = "language_list"
|
||||
definition = "default"
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[/row]
|
||||
[toggle_button]
|
||||
definition = "listbox_text"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
return_value_id = "ok"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[listbox]
|
||||
id = "language_list"
|
||||
definition = "default"
|
||||
[list_definition]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[toggle_button]
|
||||
definition = "listbox_text"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
return_value_id = "ok"
|
||||
[/toggle_button]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -4,203 +4,203 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "lobby_player_info"
|
||||
description = "Lobby player info dialog."
|
||||
id = "lobby_player_info"
|
||||
description = "Lobby player info dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Player Info — "
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
[label]
|
||||
definition = "title"
|
||||
id = "player_name"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
id = "location_info"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "start_whisper"
|
||||
label = _ "Send Private Message"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "center"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
definition = "default"
|
||||
id = "relation_info"
|
||||
label = ""
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "add_to_friends"
|
||||
label = _ "Add to Friends"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "add_to_ignores"
|
||||
label = _ "Add to Ignores"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "remove_from_list"
|
||||
label = _ "Remove from List"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[grid]
|
||||
id = "admin"
|
||||
[row]
|
||||
[column]
|
||||
[label]
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
horizontal_alignment = "center"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Moderation"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "check_status"
|
||||
label = _ "Check status"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
[label]
|
||||
label = _ "Kick / ban reason:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
[text_box]
|
||||
definition = "default"
|
||||
id = "reason"
|
||||
[/text_box]
|
||||
[/column]
|
||||
[column]
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "kick"
|
||||
label = _ "Kick"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
[label]
|
||||
label = _ "Ban time:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
[text_box]
|
||||
definition = "default"
|
||||
id = "time"
|
||||
[/text_box]
|
||||
[/column]
|
||||
[column]
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "kick_ban"
|
||||
label = _ "Kick/ban"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "cancel"
|
||||
label = _ "Close"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Player Info — "
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
[label]
|
||||
definition = "title"
|
||||
id = "player_name"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
id = "location_info"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "start_whisper"
|
||||
label = _ "Send Private Message"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "center"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
definition = "default"
|
||||
id = "relation_info"
|
||||
label = ""
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "add_to_friends"
|
||||
label = _ "Add to Friends"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "add_to_ignores"
|
||||
label = _ "Add to Ignores"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "remove_from_list"
|
||||
label = _ "Remove from List"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[grid]
|
||||
id = "admin"
|
||||
[row]
|
||||
[column]
|
||||
[label]
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
horizontal_alignment = "center"
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Moderation"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "check_status"
|
||||
label = _ "Check status"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
[label]
|
||||
label = _ "Kick / ban reason:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
[text_box]
|
||||
definition = "default"
|
||||
id = "reason"
|
||||
[/text_box]
|
||||
[/column]
|
||||
[column]
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "kick"
|
||||
label = _ "Kick"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
[label]
|
||||
label = _ "Ban time:"
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
[text_box]
|
||||
definition = "default"
|
||||
id = "time"
|
||||
[/text_box]
|
||||
[/column]
|
||||
[column]
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "kick_ban"
|
||||
label = _ "Kick/ban"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "cancel"
|
||||
label = _ "Close"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,178 +4,144 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "message"
|
||||
description = "Message dialog with 1 ok button for now."
|
||||
id = "message"
|
||||
description = "Message dialog with 1 ok button for now."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
click_dismiss = "true"
|
||||
maximum_width = 800
|
||||
click_dismiss = "true"
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[row]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
vertical_alignment = "top"
|
||||
|
||||
[column]
|
||||
[image]
|
||||
id = "image"
|
||||
definition = "default"
|
||||
[/image]
|
||||
[/column]
|
||||
|
||||
horizontal_alignment = "left"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[row]
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
vertical_alignment = "top"
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[image]
|
||||
id = "image"
|
||||
definition = "default"
|
||||
[/image]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[/column]
|
||||
[scroll_label]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
[/scroll_label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
# This button will be shown or hidden depending on the
|
||||
# whether or not a scrollbar is needed to show the
|
||||
# text.
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[row]
|
||||
[button]
|
||||
id = "left_side"
|
||||
definition = "default"
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
label = ""
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
[/label]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/column]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[/row]
|
||||
label = _ "Close"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
horizontal_alignment = "left"
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
[scroll_label]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
[/scroll_label]
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
# This button will be shown or hidden depending on the
|
||||
# whether or not a scrollbar is needed to show the
|
||||
# text.
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "left_side"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Close"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "right_side"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "right_side"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
||||
|
|
|
@ -4,164 +4,164 @@
|
|||
###
|
||||
|
||||
#define _GUI_SIDES_LISTBOX
|
||||
[listbox]
|
||||
id = "sides_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[listbox]
|
||||
id = "sides_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "side_title"
|
||||
definition = "default"
|
||||
label = _ "Side"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/header]
|
||||
[label]
|
||||
id = "side_title"
|
||||
definition = "default"
|
||||
label = _ "Side"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/header]
|
||||
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "side"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[label]
|
||||
id = "side"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
#enddef
|
||||
|
||||
#define _GUI_NICKS_LISTBOX
|
||||
[listbox]
|
||||
id = "nicks_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[listbox]
|
||||
id = "nicks_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "nick_title"
|
||||
definition = "default"
|
||||
label = _ "Nickname"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/header]
|
||||
[label]
|
||||
id = "nick_title"
|
||||
definition = "default"
|
||||
label = _ "Nickname"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/header]
|
||||
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "nick"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[label]
|
||||
id = "nick"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
#enddef
|
||||
|
||||
#define _GUI_LISTBOXES_GRID
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
vertical_alignment=top
|
||||
grow_factor= 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
{_GUI_SIDES_LISTBOX}
|
||||
[/column]
|
||||
[column]
|
||||
vertical_alignment=top
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
{_GUI_NICKS_LISTBOX}
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
vertical_alignment=top
|
||||
grow_factor= 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
{_GUI_SIDES_LISTBOX}
|
||||
[/column]
|
||||
[column]
|
||||
vertical_alignment=top
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
{_GUI_NICKS_LISTBOX}
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
#enddef
|
||||
|
||||
#define _GUI_BUTTONS_GRID
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 7
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 7
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
#enddef
|
||||
|
||||
[window]
|
||||
|
@ -174,13 +174,13 @@
|
|||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row] #header
|
||||
|
|
|
@ -4,483 +4,420 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "mp_cmd_wrapper"
|
||||
description =_ "Multiplayer command dialog"
|
||||
id = "mp_cmd_wrapper"
|
||||
description =_ "Multiplayer command dialog"
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
label = _ "Messaging"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
label = _ "Messaging"
|
||||
[/label]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[/column]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
horizontal_grow = "true"
|
||||
label = _ "Message:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[grid]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[text_box]
|
||||
id = "message"
|
||||
definition = "default"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
label = _ "Message:"
|
||||
[/label]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/column]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
label = _ "Send"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "top"
|
||||
border_size = 30
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
[text_box]
|
||||
id = "message"
|
||||
definition = "default"
|
||||
label = _ "Friends/Ignored List"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
label = ""
|
||||
[/text_box]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[/column]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "add_friend"
|
||||
|
||||
label = _ "Send"
|
||||
[/button]
|
||||
label = _ "Add as Friend"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "add_ignore"
|
||||
|
||||
label = _ "Add as Ignore"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "remove"
|
||||
|
||||
label = _ "Remove"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "top"
|
||||
border_size = 30
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/grid]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
[/column]
|
||||
label = _ "Moderating"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "top"
|
||||
border_size = 30
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[/column]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Reason:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
label = _ "Friends/Ignored List"
|
||||
[/label]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/row]
|
||||
[text_box]
|
||||
id = "reason"
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[grid]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
horizontal_grow = "true"
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
label = _ "Time:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "add_friend"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
label = _ "Add as Friend"
|
||||
[/button]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/column]
|
||||
[text_box]
|
||||
id = "time"
|
||||
definition = "default"
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "add_ignore"
|
||||
|
||||
label = _ "Add as Ignore"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "remove"
|
||||
|
||||
label = _ "Remove"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "top"
|
||||
border_size = 30
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
label = _ "Moderating"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Reason:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[text_box]
|
||||
id = "reason"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Time:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[text_box]
|
||||
id = "time"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "status"
|
||||
|
||||
label = _ "Status"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "kick"
|
||||
|
||||
label = _ "Kick"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "ban"
|
||||
|
||||
label = _ "Ban"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "top"
|
||||
border_size = 30
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
id = "user_label"
|
||||
|
||||
label = ""
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "status"
|
||||
|
||||
label = _ "Status"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "kick"
|
||||
|
||||
label = _ "Kick"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "ban"
|
||||
|
||||
label = _ "Ban"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "top"
|
||||
border_size = 30
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
id = "user_label"
|
||||
|
||||
label = ""
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,190 +4,165 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "mp_connect"
|
||||
description = "Multiplayer server connection dialog."
|
||||
id = "mp_connect"
|
||||
description = "Multiplayer server connection dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Connect to Server"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Connect to Server"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
label = _ "You will now connect to the multiplayer server."
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
label = _ "You will now connect to the multiplayer server."
|
||||
[/label]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[/column]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
horizontal_grow = "true"
|
||||
label = _ "Server:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[grid]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[text_box]
|
||||
id = "host_name"
|
||||
definition = "default"
|
||||
history = "mp_connect_history"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
label = _ "Server:"
|
||||
[/label]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/column]
|
||||
[button]
|
||||
id = "list"
|
||||
definition = "default"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
label = _ "View List"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[text_box]
|
||||
id = "host_name"
|
||||
definition = "default"
|
||||
history = "mp_connect_history"
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
label = ""
|
||||
[/text_box]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/row]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[/grid]
|
||||
size_text = _ "Connect"
|
||||
label = _ "Connect"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "list"
|
||||
definition = "default"
|
||||
|
||||
label = _ "View List"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Connect"
|
||||
label = _ "Connect"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -4,217 +4,190 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "mp_create_game_choose_mods"
|
||||
description = "Dialog for choosing modifications for MP games."
|
||||
id = "mp_create_game_choose_mods"
|
||||
description = "Dialog for choosing modifications for MP games."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[linked_group]
|
||||
id = "checkbox"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
[linked_group]
|
||||
id = "checkbox"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "name"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
[linked_group]
|
||||
id = "name"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "description"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
[linked_group]
|
||||
id = "description"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Choose Modifications"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Choose Modifications"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
id = "message"
|
||||
|
||||
[/row]
|
||||
label = _ "Enable the modifications you want to be active during the game."
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "default"
|
||||
id = "message"
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
label = _ "Enable the modifications you want to be active during the game."
|
||||
[/label]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[/column]
|
||||
[listbox]
|
||||
id = "mod_list"
|
||||
definition = "default"
|
||||
|
||||
[/row]
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[toggle_button]
|
||||
id = "checkbox"
|
||||
definition = "default"
|
||||
linked_group = "checkbox"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default_large"
|
||||
linked_group = "name"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "description"
|
||||
definition = "default"
|
||||
linked_group = "description"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[listbox]
|
||||
id = "mod_list"
|
||||
definition = "default"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[list_definition]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[toggle_button]
|
||||
id = "checkbox"
|
||||
definition = "default"
|
||||
linked_group = "checkbox"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default_large"
|
||||
linked_group = "name"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[spacer]
|
||||
[/spacer]
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "description"
|
||||
definition = "default"
|
||||
linked_group = "description"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
||||
|
|
|
@ -4,141 +4,123 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "mp_create_game_set_password"
|
||||
description = "Dialog for setting a join password for MP games."
|
||||
id = "mp_create_game_set_password"
|
||||
description = "Dialog for setting a join password for MP games."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
label = _ "Set Password"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Set Password"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[scroll_label]
|
||||
id = "message"
|
||||
definition = "default"
|
||||
|
||||
[/row]
|
||||
label = _ "Set the password that people wanting to join your game as players must enter."
|
||||
[/scroll_label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[scroll_label]
|
||||
id = "message"
|
||||
definition = "default"
|
||||
horizontal_grow = "true"
|
||||
|
||||
label = _ "Set the password that people wanting to join your game as players must enter."
|
||||
[/scroll_label]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Password:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[text_box]
|
||||
id = "password"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
# grow_factor = 1
|
||||
# horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Password:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[text_box]
|
||||
id = "password"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
# grow_factor = 1
|
||||
# horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -1,161 +1,142 @@
|
|||
#textdomain wesnoth-lib
|
||||
###
|
||||
### Prompts the user to confirm some changes required to satisfy
|
||||
### Prompts the user to confirm some changes required to satisfy
|
||||
### dependencies. Currently used for enabling/disabling modifications.
|
||||
###
|
||||
|
||||
[window]
|
||||
id = "mp_depcheck_confirm_change"
|
||||
description = "Enable/disable modifications"
|
||||
id = "mp_depcheck_confirm_change"
|
||||
description = "Enable/disable modifications"
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Confirm"
|
||||
[/label]
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Confirm"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/column]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[label]
|
||||
definition = "default"
|
||||
label = "text is set by C++"
|
||||
id = "message"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = "text is set by C++"
|
||||
id = "message"
|
||||
[/label]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[/row]
|
||||
[scroll_label]
|
||||
id = "itemlist"
|
||||
label = "text set by c++"
|
||||
definition = "default"
|
||||
[/scroll_label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[scroll_label]
|
||||
id = "itemlist"
|
||||
label = "text set by c++"
|
||||
definition = "default"
|
||||
[/scroll_label]
|
||||
[label]
|
||||
label = _ "Would you like to apply the changes?"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/column]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[label]
|
||||
label = _ "Would you like to apply the changes?"
|
||||
definition = "default"
|
||||
[/label]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "center"
|
||||
|
||||
[/column]
|
||||
[button]
|
||||
id = "ok"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "center"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
label = _ "No"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
label = _ "No"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -5,160 +5,136 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "mp_depcheck_select_new"
|
||||
description = "Select new era or scenario"
|
||||
id = "mp_depcheck_select_new"
|
||||
description = "Select new era or scenario"
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
horizontal_placement = "center"
|
||||
vertical_placement = "center"
|
||||
automatic_placement = "true"
|
||||
horizontal_placement = "center"
|
||||
vertical_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "User Interaction Required"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "User Interaction Required"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "User interaction required"
|
||||
id = "message"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "User interaction required"
|
||||
id = "message"
|
||||
[/label]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[/column]
|
||||
[listbox]
|
||||
definition = "default"
|
||||
id = "itemlist"
|
||||
|
||||
[/row]
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[toggle_button]
|
||||
definition = "listbox_text"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
return_value_id = "ok"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[listbox]
|
||||
definition = "default"
|
||||
id = "itemlist"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[list_definition]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[row]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[toggle_button]
|
||||
definition = "listbox_text"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "center"
|
||||
|
||||
return_value_id = "ok"
|
||||
[/toggle_button]
|
||||
[button]
|
||||
id = "ok"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "center"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,132 +4,115 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "mp_host_game_prompt"
|
||||
description = "Confirmation for starting wesnothd to host a networked game."
|
||||
id = "mp_host_game_prompt"
|
||||
description = "Confirmation for starting wesnothd to host a networked game."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
maximum_width = 500
|
||||
maximum_height = 600
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
maximum_width = 500
|
||||
maximum_height = 600
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Host Networked Game"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Host Networked Game"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[/row]
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "A local server instance has to be started in order to host a networked game. The server will run as a background process until all users have disconnected. Do you wish to continue?"
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "A local server instance has to be started in order to host a networked game. The server will run as a background process until all users have disconnected. Do you wish to continue?"
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[toggle_button]
|
||||
id = "do_not_show_again"
|
||||
definition = "default"
|
||||
|
||||
[/column]
|
||||
label = _ "Do not show again"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[toggle_button]
|
||||
id = "do_not_show_again"
|
||||
definition = "default"
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
label = _ "Do not show again"
|
||||
[/toggle_button]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "No"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "No"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,288 +4,250 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "mp_login"
|
||||
description =_ "Multiplayer server login dialog"
|
||||
id = "mp_login"
|
||||
description =_ "Multiplayer server login dialog"
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Login"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Login"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "login_label"
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
wrap = "true"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "login_label"
|
||||
definition = "default"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
wrap = "true"
|
||||
[/label]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[/column]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Login:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[text_box]
|
||||
id = "user_name"
|
||||
definition = "default"
|
||||
history = "mp_user_name_history"
|
||||
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Password:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[password_box]
|
||||
id = "password"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/password_box]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "top"
|
||||
border_size = 10
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "remember_password"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Save password to preferences (clear text)"
|
||||
[/toggle_button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "top"
|
||||
border_size = 30
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "password_reminder"
|
||||
|
||||
label = _ "Password Reminder"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
label = _ "Login:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[text_box]
|
||||
id = "user_name"
|
||||
definition = "default"
|
||||
history = "mp_user_name_history"
|
||||
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "Password:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[password_box]
|
||||
id = "password"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/password_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "top"
|
||||
border_size = 10
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[toggle_button]
|
||||
id = "remember_password"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Save password to preferences (clear text)"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "top"
|
||||
border_size = 30
|
||||
[spacer]
|
||||
definition = "default"
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
definition = "default"
|
||||
id = "password_reminder"
|
||||
|
||||
label = _ "Password Reminder"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,239 +4,200 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "mp_method_selection"
|
||||
description = "Language selection dialog."
|
||||
id = "mp_method_selection"
|
||||
description = "Language selection dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
label = _ "Multiplayer"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
label = _ "Multiplayer"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[column]
|
||||
grow_factor = 0
|
||||
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[grid]
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
label = _ "Login:"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
[text_box]
|
||||
id = "user_name"
|
||||
definition = "default"
|
||||
history = "mp_user_name_history"
|
||||
|
||||
label = _ "Login:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[text_box]
|
||||
id = "user_name"
|
||||
definition = "default"
|
||||
history = "mp_user_name_history"
|
||||
|
||||
label = ""
|
||||
tooltip = _ "You may login to the official multiplayer server with your forum username and password.
|
||||
label = ""
|
||||
tooltip = _ "You may login to the official multiplayer server with your forum username and password.
|
||||
Note that registration is not required to join the server: you need to supply a password only if you wish to use a registered username.
|
||||
|
||||
The Battle for Wesnoth forum can be found at http://forums.wesnoth.org/"
|
||||
[/text_box]
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/column]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[/grid]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[/column]
|
||||
[listbox]
|
||||
id = "method_list"
|
||||
definition = "default"
|
||||
|
||||
[/row]
|
||||
vertical_scrollbar_mode = "never"
|
||||
horizontal_scrollbar_mode = "never"
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[toggle_button]
|
||||
definition = "listbox_text_with_icon"
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
return_value_id = "ok"
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[list_data]
|
||||
[row]
|
||||
[column]
|
||||
label = _ "Join Official Server"
|
||||
tooltip = _ "Log on to the official Wesnoth multiplayer server"
|
||||
icon = "icons/icon-server.png"
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[listbox]
|
||||
id = "method_list"
|
||||
definition = "default"
|
||||
[row]
|
||||
[column]
|
||||
label = _ "Connect to Server"
|
||||
tooltip = _ "Join a different server"
|
||||
icon = "icons/icon-serverother.png"
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
vertical_scrollbar_mode = "never"
|
||||
horizontal_scrollbar_mode = "never"
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
label = _ "Host Networked Game"
|
||||
tooltip = _ "Host a game using dedicated server ‘wesnothd’"
|
||||
icon = "icons/icon-hostgame.png"
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
[row]
|
||||
[column]
|
||||
label = _ "Local Game"
|
||||
tooltip = _ "Play a multiplayer game with the AI or humans sharing the same machine"
|
||||
icon = "icons/icon-hotseat.png"
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_data]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[toggle_button]
|
||||
definition = "listbox_text_with_icon"
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
return_value_id = "ok"
|
||||
[/toggle_button]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
[/row]
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[/list_definition]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[list_data]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
label = _ "Join Official Server"
|
||||
tooltip = _ "Log on to the official Wesnoth multiplayer server"
|
||||
icon = "icons/icon-server.png"
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
label = _ "Connect to Server"
|
||||
tooltip = _ "Join a different server"
|
||||
icon = "icons/icon-serverother.png"
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
label = _ "Host Networked Game"
|
||||
tooltip = _ "Host a game using dedicated server ‘wesnothd’"
|
||||
icon = "icons/icon-hostgame.png"
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
label = _ "Local Game"
|
||||
tooltip = _ "Play a multiplayer game with the AI or humans sharing the same machine"
|
||||
icon = "icons/icon-hotseat.png"
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_data]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,245 +4,209 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "mp_server_list"
|
||||
description = "MP Server list selection dialog."
|
||||
id = "mp_server_list"
|
||||
description = "MP Server list selection dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
[linked_group]
|
||||
id = "name"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "address"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
label = _ "Connect to Server"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "You will now connect to the multiplayer server."
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[listbox]
|
||||
id = "server_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
|
||||
label = _ "Name"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "address"
|
||||
definition = "default"
|
||||
linked_group = "address"
|
||||
|
||||
label = _ "Address"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/header]
|
||||
|
||||
[list_definition]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "address"
|
||||
definition = "default"
|
||||
linked_group = "address"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/toggle_panel]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Select"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[linked_group]
|
||||
id = "name"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[linked_group]
|
||||
id = "address"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
definition = "title"
|
||||
|
||||
label = _ "Connect to Server"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
|
||||
label = _ "You will now connect to the multiplayer server."
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[listbox]
|
||||
id = "server_list"
|
||||
definition = "default"
|
||||
[header]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
|
||||
label = _ "Name"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "address"
|
||||
definition = "default"
|
||||
linked_group = "address"
|
||||
|
||||
label = _ "Address"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/header]
|
||||
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
linked_group = "name"
|
||||
[/label]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[label]
|
||||
id = "address"
|
||||
definition = "default"
|
||||
linked_group = "address"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Select"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
|
@ -4,128 +4,98 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "network_transmission"
|
||||
description = "Dialog that tracks progress of a network transmission"
|
||||
id = "network_transmission"
|
||||
description = "Dialog that tracks progress of a network transmission"
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_width = 800
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[row]
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "subtitle"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
[/label]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[/column]
|
||||
[progress_bar]
|
||||
id = "progress"
|
||||
definition = "default"
|
||||
[/progress_bar]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[row]
|
||||
[label]
|
||||
id = "numeric_progress"
|
||||
definition = "default"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
[row]
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[label]
|
||||
id = "subtitle"
|
||||
definition = "default"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[progress_bar]
|
||||
id = "progress"
|
||||
definition = "default"
|
||||
[/progress_bar]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[label]
|
||||
id = "numeric_progress"
|
||||
definition = "default"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
||||
|
|
|
@ -4,172 +4,150 @@
|
|||
###
|
||||
|
||||
[window]
|
||||
id = "simple_item_selector"
|
||||
description = "Generic item selection dialog."
|
||||
id = "simple_item_selector"
|
||||
description = "Generic item selection dialog."
|
||||
|
||||
[resolution]
|
||||
definition = "default"
|
||||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
automatic_placement = "true"
|
||||
vertical_placement = "center"
|
||||
horizontal_placement = "center"
|
||||
|
||||
maximum_width = 800
|
||||
maximum_height = 600
|
||||
maximum_width = 800
|
||||
maximum_height = 600
|
||||
|
||||
[linked_group]
|
||||
id = "item"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
[linked_group]
|
||||
id = "item"
|
||||
fixed_width = "true"
|
||||
[/linked_group]
|
||||
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
[tooltip]
|
||||
id = "tooltip_large"
|
||||
[/tooltip]
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
[/helptip]
|
||||
|
||||
[grid]
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[label]
|
||||
id = "title"
|
||||
definition = "title"
|
||||
[/label]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[/column]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[/row]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
[scroll_label]
|
||||
id = "message"
|
||||
definition = "default"
|
||||
[/scroll_label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
[column]
|
||||
grow_factor = 1
|
||||
|
||||
[scroll_label]
|
||||
id = "message"
|
||||
definition = "default"
|
||||
[/scroll_label]
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
|
||||
[/column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[/row]
|
||||
[listbox]
|
||||
id = "listbox"
|
||||
definition = "default"
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
[list_definition]
|
||||
[row]
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "item"
|
||||
definition = "default"
|
||||
linked_group = "item"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
[/row]
|
||||
[/list_definition]
|
||||
[/listbox]
|
||||
[/column]
|
||||
[/row]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[grid]
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[listbox]
|
||||
id = "listbox"
|
||||
definition = "default"
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[list_definition]
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
[toggle_panel]
|
||||
definition = "default"
|
||||
return_value_id = "ok"
|
||||
[grid]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
border = "all"
|
||||
border_size = 5
|
||||
[label]
|
||||
id = "item"
|
||||
definition = "default"
|
||||
linked_group = "item"
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/toggle_panel]
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/list_definition]
|
||||
|
||||
[/listbox]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/resolution]
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/column]
|
||||
[/row]
|
||||
[/grid]
|
||||
[/resolution]
|
||||
[/window]
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue