Skip to content

Commit

Permalink
GUI2: added a macro for fullscreen window layout settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 27, 2016
1 parent 86746aa commit 6b827e6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 8 additions & 0 deletions data/gui/default/macros/_initial.cfg
Expand Up @@ -229,6 +229,14 @@
[/stacked_widget]
#enddef

#define GUI_WINDOW_FULLSCREEN
automatic_placement = "false"
x = 0
y = 0
width = "(screen_width)"
height = "(screen_height)"
#enddef

###############################################################################
### ###
### Macros for the normal gui. ###
Expand Down
6 changes: 1 addition & 5 deletions data/gui/default/window/lobby_main.cfg
Expand Up @@ -725,11 +725,7 @@
description = "Lobby screen."
[resolution]
definition = "borderless"
automatic_placement = "false"
x = 0
y = 0
width = "(screen_width)"
height = "(screen_height)"
{GUI_WINDOW_FULLSCREEN}
[tooltip]
id = "tooltip_large"
[/tooltip]
Expand Down
6 changes: 1 addition & 5 deletions data/gui/default/window/title_screen.cfg
Expand Up @@ -278,11 +278,7 @@
[resolution]
definition = "title_screen"

automatic_placement = "false"
x = 0
y = 0
width = "(screen_width)"
height = "(screen_height)"
{GUI_WINDOW_FULLSCREEN}

[tooltip]
id = "tooltip_large"
Expand Down

0 comments on commit 6b827e6

Please sign in to comment.