ui/ui/graphics.h

changeset 114
909fe96e5659
parent 96
93785a7bda56
child 115
102fc0b8fe3e
equal deleted inserted replaced
113:500c085d2133 114:909fe96e5659
58 void ui_text_getsize(UiTextLayout *layout, int *width, int *height); 58 void ui_text_getsize(UiTextLayout *layout, int *width, int *height);
59 void ui_text_setwidth(UiTextLayout *layout, int width); 59 void ui_text_setwidth(UiTextLayout *layout, int width);
60 60
61 // drawing functions 61 // drawing functions
62 void ui_graphics_color(UiGraphics *g, int red, int green, int blue); 62 void ui_graphics_color(UiGraphics *g, int red, int green, int blue);
63 void ui_draw_line(UiGraphics *g, int x1, int y1, int x2, int y2);
63 void ui_draw_rect(UiGraphics *g, int x, int y, int w, int h, int fill); 64 void ui_draw_rect(UiGraphics *g, int x, int y, int w, int h, int fill);
64 void ui_draw_text(UiGraphics *g, int x, int y, UiTextLayout *text); 65 void ui_draw_text(UiGraphics *g, int x, int y, UiTextLayout *text);
65 66
66 #ifdef __cplusplus 67 #ifdef __cplusplus
67 } 68 }

mercurial