mirror of
https://github.com/Karaka-Management/cOMS.git
synced 2026-01-11 11:18:40 +00:00
24 lines
450 B
C
24 lines
450 B
C
#ifndef TOS_UI_ATTRIBUTE_FONT_H
|
|
#define TOS_UI_ATTRIBUTE_FONT_H
|
|
|
|
#include "../../stdlib/Types.h"
|
|
#include "UIAttributeShadow.h"
|
|
|
|
enum UIFontDecoration : byte {
|
|
UI_FONT_DECORATION_UNDERLINE = 1 << 0,
|
|
UI_FONT_DECORATION_ITALIC = 1 << 1,
|
|
};
|
|
|
|
struct UIAttributeFont {
|
|
f32 size;
|
|
f32 line_height;
|
|
uint32 color;
|
|
f32 weight;
|
|
UIAttributeShadow shadow_outer;
|
|
byte decoration;
|
|
byte alignment;
|
|
|
|
// @todo family?
|
|
};
|
|
|
|
#endif |