mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-17 02:30:13 +00:00
GUI2: remove GUI_WINDOW_PERC_FIXED_SIZE_CENTERED
This commit is contained in:
parent
b40edadd1a
commit
ebffc334ee
|
@ -374,16 +374,6 @@
|
|||
window_height = 900
|
||||
#enddef
|
||||
|
||||
#define GUI_WINDOW_PERC_FIXED_SIZE_CENTERED PERC_W PERC_H WIDTH HEIGHT
|
||||
automatic_placement = false
|
||||
|
||||
width = "(max(min(screen_width, {WIDTH} ), min(screen_width * {PERC_W} / 100, {WIDTH} )))"
|
||||
height = "(max(min(screen_height, {HEIGHT}), min(screen_height * {PERC_H} / 100, {HEIGHT})))"
|
||||
|
||||
x = "(floor((screen_width - window_width) / 2))"
|
||||
y = "(floor((screen_height - window_height) / 2))"
|
||||
#enddef
|
||||
|
||||
#define _WIDGET_DEBUG_BORDER
|
||||
debug_border_mode = 1
|
||||
debug_border_color = "255, 255, 255"
|
||||
|
|
|
@ -257,7 +257,6 @@
|
|||
[resolution]
|
||||
definition = "default"
|
||||
|
||||
#{GUI_WINDOW_PERC_FIXED_SIZE_CENTERED 80 95 850 800}
|
||||
maximum_height = 850
|
||||
|
||||
[linked_group]
|
||||
|
|
Loading…
Reference in New Issue
Block a user