Mark de Wever 941bc3dc59 Made text_font_size mandatory and fixed all content to obey that.
Cleaned up some std::cerr to use proper logging.

Rather ugly proof-of-concept to get the cursor working in a
text_box. This still needs quite some polishing but the basics work.
2008-04-06 14:06:28 +00:00

65 lines
920 B
INI

###
### Definition of a label.
###
[label_definition]
id = "default"
description = "Default label"
[resolution]
min_width = 40
min_height = 22
default_width = 180
default_height = 22
max_width = 0
max_height = 22
text_font_size = {FONT_SIZE_NORMAL__NORMAL}
[state_enabled]
full_redraw = "true"
[draw]
[text]
x = "5"
y = {TEXT_V_CENTRE}
w = "(text_width)"
h = "(text_height)"
font_size = {FONT_SIZE_NORMAL__NORMAL}
colour = {FONT_COLOUR_ENABLED}
text = "(text)"
[/text]
[/draw]
[/state_enabled]
[state_disabled]
full_redraw = "true"
[draw]
[text]
x = "5"
y = {TEXT_V_CENTRE}
w = "(text_width)"
h = "(text_height)"
font_size = {FONT_SIZE_NORMAL__NORMAL}
colour = {FONT_COLOUR_DISABLED}
text = "(text)"
[/text]
[/draw]
[/state_disabled]
[/resolution]
[/label_definition]