imtk

diff src/draw.h @ 14:df2bc9406561

added gradients
author John Tsiombikas <nuclear@siggraph.org>
date Tue, 19 Apr 2011 03:01:46 +0300
parents 9c7987064bb0
children 737e9047d9c9
line diff
     1.1 --- a/src/draw.h	Mon Apr 18 06:15:46 2011 +0300
     1.2 +++ b/src/draw.h	Tue Apr 19 03:01:46 2011 +0300
     1.3 @@ -13,9 +13,7 @@
     1.4  	FRAME_INSET
     1.5  };
     1.6  
     1.7 -/*void imtk_set_color(int col, float r, float g, float b, float a); in imtk.h */
     1.8 -float *imtk_get_color(int col);
     1.9 -void imtk_draw_rect(int x, int y, int w, int h, float *color_rgba);
    1.10 +void imtk_draw_rect(int x, int y, int w, int h, float *ctop, float *cbot);
    1.11  void imtk_draw_frame(int x, int y, int w, int h, int style);
    1.12  void imtk_draw_string(int x, int y, const char *str);
    1.13  int imtk_string_size(const char *str);