23 #ifndef ZVISION_TEXT_H 24 #define ZVISION_TEXT_H 26 #include "zvision/text/truetype_font.h" 27 #include "zvision/zvision.h" 33 enum TextJustification {
34 TEXT_JUSTIFY_CENTER = 0,
35 TEXT_JUSTIFY_LEFT = 1,
36 TEXT_JUSTIFY_RIGHT = 2
40 TEXT_CHANGE_NONE = 0x0,
41 TEXT_CHANGE_FONT_TYPE = 0x1,
42 TEXT_CHANGE_FONT_STYLE = 0x2,
43 TEXT_CHANGE_NEWLINE = 0x4,
44 TEXT_CHANGE_HAS_STATE_BOX = 0x8
54 uint32 getTextColor(
ZVision *engine) {
55 return engine->_resourcePixelFormat.RGBToColor(_red, _green, _blue);
60 TextJustification _justification;
Definition: truetype_font.h:49