Add a border to the title screen.
This commit is contained in:
parent
d5d0e0ff56
commit
d74c4c90ae
1 changed files with 48 additions and 0 deletions
|
@ -48,6 +48,34 @@
|
||||||
|
|
||||||
[/window_definition]
|
[/window_definition]
|
||||||
|
|
||||||
|
#define _GUI_H_SPACER
|
||||||
|
[column]
|
||||||
|
|
||||||
|
[spacer]
|
||||||
|
# 17 emperical determined the border is 20 pixels at 768 and
|
||||||
|
# offsetted for the 5 pixels border between widgets this value
|
||||||
|
# seems right
|
||||||
|
#
|
||||||
|
# NOTE the engine doesn't recalculate the height upon scaling.
|
||||||
|
definition = "default"
|
||||||
|
width = "((17 * screen_width) / 768)"
|
||||||
|
[/spacer]
|
||||||
|
|
||||||
|
[/column]
|
||||||
|
#enddef
|
||||||
|
|
||||||
|
#define _GUI_V_SPACER
|
||||||
|
[column]
|
||||||
|
|
||||||
|
[spacer]
|
||||||
|
# NOTE the engine doesn't recalculate the height upon scaling.
|
||||||
|
definition = "default"
|
||||||
|
height = "((22 * screen_height) / 1024)"
|
||||||
|
[/spacer]
|
||||||
|
|
||||||
|
[/column]
|
||||||
|
#enddef
|
||||||
|
|
||||||
#define _GUI_TIP_SECTION
|
#define _GUI_TIP_SECTION
|
||||||
[panel]
|
[panel]
|
||||||
definition = "title_screen"
|
definition = "title_screen"
|
||||||
|
@ -237,7 +265,15 @@
|
||||||
|
|
||||||
[row]
|
[row]
|
||||||
|
|
||||||
|
{_GUI_V_SPACER}
|
||||||
|
|
||||||
|
[/row]
|
||||||
|
|
||||||
|
[row]
|
||||||
|
grow_factor = 1
|
||||||
|
|
||||||
[column]
|
[column]
|
||||||
|
|
||||||
horizontal_grow = "true"
|
horizontal_grow = "true"
|
||||||
vertical_grow = "true"
|
vertical_grow = "true"
|
||||||
|
|
||||||
|
@ -267,6 +303,8 @@
|
||||||
|
|
||||||
[row]
|
[row]
|
||||||
|
|
||||||
|
{_GUI_H_SPACER}
|
||||||
|
|
||||||
[column]
|
[column]
|
||||||
vertical_alignment = "bottom"
|
vertical_alignment = "bottom"
|
||||||
{_GUI_TIP_SECTION}
|
{_GUI_TIP_SECTION}
|
||||||
|
@ -291,6 +329,8 @@
|
||||||
|
|
||||||
[/column]
|
[/column]
|
||||||
|
|
||||||
|
{_GUI_H_SPACER}
|
||||||
|
|
||||||
[/row]
|
[/row]
|
||||||
|
|
||||||
[/layer]
|
[/layer]
|
||||||
|
@ -303,6 +343,12 @@
|
||||||
|
|
||||||
[/row]
|
[/row]
|
||||||
|
|
||||||
|
[row]
|
||||||
|
|
||||||
|
{_GUI_V_SPACER}
|
||||||
|
|
||||||
|
[/row]
|
||||||
|
|
||||||
[/grid]
|
[/grid]
|
||||||
|
|
||||||
[/resolution]
|
[/resolution]
|
||||||
|
@ -312,3 +358,5 @@
|
||||||
#undef _GUI_TIP_SECTION
|
#undef _GUI_TIP_SECTION
|
||||||
#undef _GUI_MENU_SECTION
|
#undef _GUI_MENU_SECTION
|
||||||
#undef _GUI_BUTTON
|
#undef _GUI_BUTTON
|
||||||
|
#undef _GUI_H_SPACER
|
||||||
|
#undef _GUI_V_SPACER
|
||||||
|
|
Loading…
Add table
Reference in a new issue