imtk

diff src/draw.h @ 8:10604ff95527

imtk_draw_rect
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 14 Apr 2011 23:21:56 +0300
parents 38609a9f7586
children 9c7987064bb0
line diff
     1.1 --- a/src/draw.h	Thu Apr 14 23:04:07 2011 +0300
     1.2 +++ b/src/draw.h	Thu Apr 14 23:21:56 2011 +0300
     1.3 @@ -23,6 +23,7 @@
     1.4  
     1.5  void imtk_set_color(int col, float r, float g, float b, float a);
     1.6  float *imtk_get_color(int col);
     1.7 +void imtk_draw_rect(int x, int y, int w, int h, float *color_rgba);
     1.8  void imtk_draw_frame(int x, int y, int w, int h, int style);
     1.9  void imtk_draw_string(int x, int y, const char *str);
    1.10  int imtk_string_size(const char *str);