You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
656 B
38 lines
656 B
2 years ago
|
#ifndef _UG_DEF_STYLE_H
|
||
|
#define _UG_DEF_STYLE_H
|
||
|
|
||
|
#include "ugui.h"
|
||
|
|
||
|
#define SZ_INT(x) x.size.i
|
||
|
|
||
|
static const ug_style_t default_style = {
|
||
|
.color = {
|
||
|
.bg = RGB_FORMAT(0x131313),
|
||
|
.fg = RGB_FORMAT(0xffffff),
|
||
|
},
|
||
|
.margin = SIZE_PX(3),
|
||
|
.border = {
|
||
|
.color = RGB_FORMAT(0xf50a00),
|
||
|
.size = SIZE_PX(2),
|
||
|
},
|
||
|
.title = {
|
||
|
.color = {
|
||
|
.bg = RGB_FORMAT(0xbbbbbb),
|
||
|
.fg = RGB_FORMAT(0xffff00),
|
||
|
},
|
||
|
.height = SIZE_PX(20),
|
||
|
.font_size = SIZE_PX(14),
|
||
|
},
|
||
|
.btn = {
|
||
|
.color = {
|
||
|
.active = RGB_FORMAT(0x44ff44),
|
||
|
.bg = RGB_FORMAT(0x00ff00),
|
||
|
.fg = RGB_FORMAT(0xffff00),
|
||
|
},
|
||
|
.font_size = SIZE_PX(10),
|
||
|
},
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|