src/ascension/text.h

changeset 256
60014484121c
parent 219
62508d957a22
equal deleted inserted replaced
255:0e0a0bf4f7e4 256:60014484121c
39 AscSceneNode base; 39 AscSceneNode base;
40 AscMesh mesh; 40 AscMesh mesh;
41 AscTexture *texture; 41 AscTexture *texture;
42 cxmutstr text; 42 cxmutstr text;
43 AscFont font; 43 AscFont font;
44 asc_col4i color; 44 asc_color color;
45 unsigned short max_width; 45 unsigned short max_width;
46 /** 46 /**
47 * The automatically calculated offset in case the text is centered. 47 * The automatically calculated offset in case the text is centered.
48 */ 48 */
49 unsigned short offx; 49 unsigned short offx;
65 AscFont font; 65 AscFont font;
66 int x; 66 int x;
67 int y; 67 int y;
68 const char *name; 68 const char *name;
69 const char *text; 69 const char *text;
70 asc_col4i color; 70 asc_color color;
71 enum asc_text_alignment alignment; 71 enum asc_text_alignment alignment;
72 unsigned short max_width; 72 unsigned short max_width;
73 bool centered; 73 bool centered;
74 }; 74 };
75 75

mercurial