Remove deprected macros.
This commit is contained in:
parent
97a72eff4c
commit
7498fd2fc5
1 changed files with 0 additions and 161 deletions
|
@ -124,164 +124,3 @@
|
|||
18
|
||||
#enddef
|
||||
|
||||
###############################################################################
|
||||
### ###
|
||||
### Old test code should be deleted when no longer needed. ###
|
||||
### ###
|
||||
###############################################################################
|
||||
|
||||
#
|
||||
#
|
||||
##### Default settings
|
||||
#
|
||||
#
|
||||
|
||||
# normal colour "221, 221, 221, 255"
|
||||
# label colour "107, 140, 255, 255"
|
||||
#define FONT_COLOUR_ENABLED
|
||||
"221, 221, 221, 255"
|
||||
#enddef
|
||||
|
||||
#define FONT_COLOUR_DISABLED
|
||||
"128, 128, 128, 0"
|
||||
#enddef
|
||||
|
||||
|
||||
#
|
||||
#
|
||||
#### settings per resolution
|
||||
#
|
||||
#
|
||||
|
||||
|
||||
# Definition of the upper border of tiny-gui
|
||||
#define RESOLUTION_TINY
|
||||
window_width = 640
|
||||
window_height = 480
|
||||
#enddef
|
||||
|
||||
#define FONT_SIZE_TINY__SMALL
|
||||
9
|
||||
#enddef
|
||||
|
||||
#define FONT_SIZE_TINY__NORMAL
|
||||
10
|
||||
#enddef
|
||||
|
||||
#define FONT_SIZE_TINY__BIG
|
||||
11
|
||||
#enddef
|
||||
|
||||
# Definition of the upper border of small-gui
|
||||
#define RESOLUTION_SMALL
|
||||
window_width = 800
|
||||
window_height = 480
|
||||
#enddef
|
||||
|
||||
# Definition of the upper border of the normal gui
|
||||
#define RESOLUTION_NORMAL
|
||||
window_width = 1024
|
||||
window_height = 768
|
||||
#enddef
|
||||
|
||||
#define FONT_SIZE_NORMAL__SMALL
|
||||
12
|
||||
#enddef
|
||||
|
||||
#define FONT_SIZE_NORMAL__NORMAL
|
||||
14
|
||||
#enddef
|
||||
|
||||
# font used for the titles
|
||||
#define FONT_SIZE_NORMAL__TITLE
|
||||
18
|
||||
#enddef
|
||||
|
||||
#define FONT_STYLE_NORMAL__TITLE
|
||||
"bold"
|
||||
#enddef
|
||||
|
||||
#define FONT_COLOUR_TITLE
|
||||
"188, 176, 136, 255"
|
||||
#enddef
|
||||
|
||||
#define FONT_SIZE_NORMAL__BIG
|
||||
18
|
||||
#enddef
|
||||
|
||||
# Definition of the upper border of the big gui
|
||||
#define RESOLUTION_BIG
|
||||
window_width = 1680
|
||||
window_height = 1050
|
||||
#enddef
|
||||
|
||||
# for guis bigger as big fall back to the default of 0 0
|
||||
|
||||
#
|
||||
#
|
||||
# Other helper macros
|
||||
#
|
||||
#
|
||||
|
||||
#define OUTER_RECT COLOUR_1 COLOUR_2
|
||||
[line]
|
||||
x1 = 0
|
||||
y1 = 0
|
||||
x2 = "(width - 1)"
|
||||
y2 = 0
|
||||
colour = {COLOUR_1}
|
||||
thickness = 1
|
||||
[/line]
|
||||
|
||||
[line]
|
||||
x1 = "(width - 1)"
|
||||
y1 = 0
|
||||
x2 = "(width - 1)"
|
||||
y2 = "(height - 1)"
|
||||
colour = {COLOUR_1}
|
||||
thickness = 1
|
||||
[/line]
|
||||
|
||||
[line]
|
||||
x1 = "(width - 1)"
|
||||
y1 = "(height - 1)"
|
||||
x2 = 0
|
||||
y2 = "(height - 1)"
|
||||
colour = {COLOUR_2}
|
||||
thickness = 1
|
||||
[/line]
|
||||
|
||||
[line]
|
||||
x1 = 0
|
||||
y1 = "(height - 1)"
|
||||
x2 = 0
|
||||
y2 = 0
|
||||
colour = {COLOUR_2}
|
||||
thickness = 1
|
||||
[/line]
|
||||
|
||||
#enddef
|
||||
|
||||
# Make sure that if the text is to wide we don't get a negative
|
||||
# number of huge positive number.
|
||||
#define TEXT_H_CENTRE
|
||||
"(if(text_width <= width, (width - text_width ) / 2, 0))"
|
||||
#enddef
|
||||
|
||||
# Make sure that if the text is to wide we don't get a negative
|
||||
# number of huge positive number.
|
||||
#define TEXT_V_CENTRE
|
||||
"(if(text_height <= height, (height - text_height) / 2, 0))"
|
||||
#enddef
|
||||
|
||||
#define TEXT_DEFAULT_NORMAL
|
||||
[text]
|
||||
x = {TEXT_H_CENTRE}
|
||||
y = {TEXT_V_CENTRE}
|
||||
w = "(text_width)"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE_NORMAL__NORMAL}
|
||||
colour = {FONT_COLOUR_ENABLED}
|
||||
text = "(text)"
|
||||
[/text]
|
||||
#enddef
|
||||
|
|
Loading…
Add table
Reference in a new issue