glamtk

diff src/imtk.h @ 2:3d661dd17af3

- initial textbox implementation added - made the test program slightly more interesting
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 31 Dec 2010 01:54:53 +0200
parents dfbd12d1f566
children 038e5577d527
line diff
     1.1 --- a/src/imtk.h	Thu Dec 30 15:10:25 2010 +0200
     1.2 +++ b/src/imtk.h	Fri Dec 31 01:54:53 2010 +0200
     1.3 @@ -33,7 +33,9 @@
     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  
    1.12  #endif	/* IMTK_H_ */