wesnoth/data/gui/themes/default/dialogs/preferences/03_display.cfg
Subhraman Sarkar 6b8c2e15e7 theme update for modern and rename themes
include new definitions and updated versions of existing definitions
"default/classic" and "modern" has been renamed to "Parchment" and "Celes" to avoid confusion
2025-01-09 09:02:42 +05:30

473 lines
9.1 KiB
INI

#textdomain wesnoth-lib
###
### Preferences dialog, Display page
###
#define _GUI_PREFERENCES_DISPLAY_RESOLUTION_GRID
[row]
[column]
border = "top,left,right"
border_size = 5
horizontal_alignment = "left"
[label]
label = _ "Window size:"
definition = "default_small"
[/label]
[/column]
# We don't use _GUI_PREFERENCES_MAIN_COMPOSITE_SLIDER because we want
# to split the slider and label into different grids in order to align
# with the resolution button
[column]
horizontal_grow = true
[grid]
[row]
[column]
grow_factor = 0
border = "top,left,right"
border_size = 5
horizontal_alignment = "left"
[label]
id = "help_text"
definition = "default_small"
label = _ "Pixel scale multiplier:"
[/label]
[/column]
[column]
grow_factor = 1
border = "top,right"
border_size = 5
horizontal_grow = true
[label]
id = "pixel_scale_slider_label"
definition = "default_small"
[/label]
[/column]
[/row]
[/grid]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[menu_button]
id = "resolution_set"
definition = "default"
tooltip = _ "Change the game window size"
[/menu_button]
[/column]
[column]
border = "all"
border_size = 5
horizontal_grow = true
[slider]
id = "pixel_scale_slider"
definition = "minimal"
minimum_value,maximum_value = 1,4
step_size = 1
tooltip = _ "Set the global pixel scale multiplier. A pixel scale multiplier of 2 will make everything look twice as large."
[/slider]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "fullscreen"
label = _ "Full screen"
tooltip = _ "Toggle between fullscreen and window mode"
[/toggle_button]
[/column]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "auto_pixel_scale"
label = _ "pixel_scale_multiplier^Automatic scale"
tooltip = _ "Choose pixel scale multiplier automatically based on current resolution"
[/toggle_button]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "vsync"
label = _ "VSync"
tooltip = _ "Reduces tearing by synchronizing rendering with the screen refresh rate (requires restart to take effect)"
[/toggle_button]
[/column]
{GUI_FILLER}
[/row]
#enddef
#define _GUI_PREFERENCES_DISPLAY_UI_GRID
[row]
[column]
horizontal_alignment = "left"
vertical_alignment = "top"
[grid]
[row]
[column]
border = "top,right,left"
border_size = 5
horizontal_alignment = "left"
[label]
label = _ "In-game theme:"
definition = "default_small"
[/label]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[menu_button]
id = "choose_theme"
tooltip = _ "Change the in-game interface theme. Additional themes may be provided by community-made add-ons"
[/menu_button]
[/column]
[/row]
[row]
[column]
border = "top,right,left"
border_size = 5
horizontal_alignment = "left"
[label]
label = _ "UI theme:"
definition = "default_small"
[/label]
[/column]
[/row]
[row]
[column]
[grid]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[menu_button]
id = "choose_gui2_theme"
tooltip = _ "Change the UI (GUI2) theme. Additional themes may be provided by community-made add-ons"
[/menu_button]
[/column]
[column]
border = "all"
border_size = 5
[button]
id = "apply"
definition = "default"
label = _ "Apply"
[/button]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/grid]
[/column]
[column]
horizontal_alignment = "left"
[grid]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "show_tips"
label = _ "Show Tips on Titlescreen"
tooltip = _ "Show/hide random tips on the titlescreen about the game"
[/toggle_button]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "show_floating_labels"
label = _ "Combat damage indicators"
tooltip = _ "Show amount of damage inflicted or healed as fading labels above units"
[/toggle_button]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "show_ellipses"
label = _ "Team color indicators"
tooltip = _ "Show a colored circle around the base of each unit to show which side it is on"
[/toggle_button]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "show_grid"
label = _ "Grid overlay"
tooltip = _ "Overlay a grid over the map"
[/toggle_button]
[/column]
[/row]
[/grid]
[/column]
[/row]
#enddef
#define _GUI_PREFERENCES_DISPLAY_GRID
[row]
[column]
horizontal_grow = true
vertical_grow = true
[grid]
# NOTE:
# These are in the same grid to keep their columns aligned.
{_GUI_PREFERENCES_DISPLAY_RESOLUTION_GRID}
{_GUI_PREFERENCES_DISPLAY_UI_GRID}
[/grid]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "animate_terrains"
label = _ "Animate map"
tooltip = _ "Display animated terrain graphics"
[/toggle_button]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "animate_water"
label = _ "Animate water"
tooltip = _ "Display animated water graphics (can be slow)"
[/toggle_button]
[/column]
[/row]
{_GUI_PREFERENCES_SPACER_ROW}
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "animate_units_standing"
label = _ "Unit standing animations"
tooltip = _ "Continuously animate standing units on the battlefield"
[/toggle_button]
[/column]
[/row]
[row]
[column]
horizontal_grow = true
[grid]
[row]
[column]
border = "top,left,right"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "animate_units_idle"
label = _ "Unit idle animations"
tooltip = _ "Play short random animations for idle units"
[/toggle_button]
[/column]
[/row]
[row]
[column]
horizontal_grow = true
[grid]
[row]
[column]
{_GUI_PREFERENCES_CHECKBOX_ALIGN_SPACER}
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_grow = true
[label]
definition = "default_small"
label = _ "Frequency:"
[/label]
[/column]
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_grow = true
[slider]
id = "idle_anim_frequency"
definition = "minimal"
minimum_value = -40
maximum_value = 30
step_size = 1
tooltip = _ "Set the frequency of unit idle animations"
[/slider]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/grid]
[/column]
[/row]
#{_GUI_PREFERENCES_SPACER_ROW}
#[row]
# [column]
# horizontal_grow = true
# [grid]
# [row]
# [column]
# grow_factor = 0
# border = "all"
# border_size = 5
# horizontal_alignment = "left"
# [label]
# definition = "default"
# label = _ "Font Scaling:"
# [/label]
# [/column]
# [column]
# grow_factor = 1
# border = "all"
# border_size = 5
# horizontal_grow = true
# [slider]
# id = "scaling_slider"
# definition = "minimal"
# minimum_value,maximum_value = 80,150
# step_size = 5
# tooltip= _ "Set the scaling factor of fonts"
# [/slider]
# [/column]
# [column]
# grow_factor = 0
# border = "all"
# border_size = 5
# horizontal_grow = true
# [label]
# id = "scaling_slider_label"
# definition = "default"
# [/label]
# [/column]
# [/row]
# [/grid]
# [/column]
#[/row]
#enddef
[layer]
[row]
grow_factor = 0
[column]
horizontal_grow = true
vertical_alignment = "top"
[grid]
{_GUI_PREFERENCES_DISPLAY_GRID}
[/grid]
[/column]
[/row]
[/layer]
#undef _GUI_PREFERENCES_DISPLAY_GRID
#undef _GUI_PREFERENCES_DISPLAY_UI_GRID
#undef _GUI_PREFERENCES_DISPLAY_RESOLUTION_GRID