cOMS/ui/attribute/UIAttributeFont.h
Dennis Eichhorn 39fbcf4300
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (autobuild, c-cpp) (push) Waiting to run
Microsoft C++ Code Analysis / Analyze (push) Waiting to run
linux bug fixes
2025-03-22 01:10:19 +00:00

24 lines
452 B
C
Executable File

#ifndef COMS_UI_ATTRIBUTE_FONT_H
#define COMS_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