blob: fee934a07c44554f5af022fbce1f4b5aeb27c72d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
module gx
// TODO: remove these and uae the enum everywhere
pub const (
align_left = HorizontalAlign.left
align_right = HorizontalAlign.right
)
pub struct TextCfg {
pub:
color Color = black
size int = 16
align HorizontalAlign = .left
vertical_align VerticalAlign = .top
max_width int
family string
bold bool
mono bool
italic bool
}
|