glamtk

diff src/imtk.h @ 3:038e5577d527

added slider and progress bar widgets
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 31 Dec 2010 18:10:13 +0200
parents 3d661dd17af3
children 00a4ea4ee6dc
line diff
     1.1 --- a/src/imtk.h	Fri Dec 31 01:54:53 2010 +0200
     1.2 +++ b/src/imtk.h	Fri Dec 31 18:10:13 2010 +0200
     1.3 @@ -33,9 +33,10 @@
     1.4  void imtk_begin(void);
     1.5  void imtk_end(void);
     1.6  
     1.7 -void imtk_window(int id, const char *title, int x, int y, int width, int height);
     1.8  int imtk_button(int id, const char *label, int x, int y);
     1.9  int imtk_checkbox(int id, const char *label, int x, int y, int state);
    1.10  void imtk_textbox(int id, char *textbuf, size_t buf_sz, int x, int y);
    1.11 +float imtk_slider(int id, float pos, float min, float max, int x, int y);
    1.12 +void imtk_progress(int id, float pos, int x, int y);
    1.13  
    1.14  #endif	/* IMTK_H_ */