diff options
author | Wilrik de Loose <wilrik@wilrik.nl> | 2008-04-25 23:46:06 (GMT) |
---|---|---|
committer | Wilrik de Loose <wilrik@wilrik.nl> | 2008-04-25 23:46:06 (GMT) |
commit | 0a92d39e9e8774d96a6277f51890ee6eb345b40b (patch) | |
tree | b97e65f2e2ccc19cc7a42e1a0f7a939a81fc9e2a /menu_demo/font.h | |
parent | 3f0c80bb6069ac6ac6b66704f5035bcc7e979dd5 (diff) | |
download | 2iv55-0a92d39e9e8774d96a6277f51890ee6eb345b40b.zip 2iv55-0a92d39e9e8774d96a6277f51890ee6eb345b40b.tar.gz 2iv55-0a92d39e9e8774d96a6277f51890ee6eb345b40b.tar.bz2 |
Fokking vette menu shizzle. Druk op spatie om naar andere menu's te schakelen. Wordt later toegevoegd als event aan een button.
Diffstat (limited to 'menu_demo/font.h')
-rw-r--r-- | menu_demo/font.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/menu_demo/font.h b/menu_demo/font.h index 817c8a4..26c51dc 100644 --- a/menu_demo/font.h +++ b/menu_demo/font.h @@ -5,8 +5,14 @@ #define FONT_HEIGHT 32
#define FONT_SPACING 20
+struct ColorStruct {
+ double m_dRed;
+ double m_dGreen;
+ double m_dBlue;
+};
+
void FontInit(int f_iWinWidth, int f_iWinHeight);
void FontDelete(GLvoid);
-void glPrint(GLint x, GLint y, char *string);
+void glPrint(GLint x, GLint y, char *string, struct ColorStruct f_sColor);
#endif
\ No newline at end of file |