diff options
author | Wilrik de Loose <wilrik@wilrik.nl> | 2008-04-21 12:01:00 (GMT) |
---|---|---|
committer | Wilrik de Loose <wilrik@wilrik.nl> | 2008-04-21 12:01:00 (GMT) |
commit | 92f2ef5fa1b80c6491ce46eab0ab0908eb9be9cc (patch) | |
tree | 59e88beb00179be262136ab4fd5a03e4ce6c7107 /menu_demo/main.c | |
parent | 1cba012df1d435fd2b4d2277bcc741152a287541 (diff) | |
download | 2iv55-92f2ef5fa1b80c6491ce46eab0ab0908eb9be9cc.zip 2iv55-92f2ef5fa1b80c6491ce46eab0ab0908eb9be9cc.tar.gz 2iv55-92f2ef5fa1b80c6491ce46eab0ab0908eb9be9cc.tar.bz2 |
Radio buttons toegevoegd.
Diffstat (limited to 'menu_demo/main.c')
-rw-r--r-- | menu_demo/main.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/menu_demo/main.c b/menu_demo/main.c index 3903002..37387d5 100644 --- a/menu_demo/main.c +++ b/menu_demo/main.c @@ -1,6 +1,6 @@ #ifdef G_OS_WIN32
-#define WIN32_LEAN_AND_MEAN 1
-#include <windows.h>
+ #define WIN32_LEAN_AND_MEAN 1
+ #include <windows.h>
#endif
#include <stdlib.h>
@@ -16,7 +16,6 @@ void init_gl(void)
{
- // do sumting
} // init_gl
@@ -25,7 +24,7 @@ void init_gl(void) void render_scene(void)
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
- glClearColor(1, 1, 1, 0);
+ glClearColor(0.2, 1, 0.2, 1);
MenuRender();
@@ -65,7 +64,7 @@ void process_mouse(int button, int state, int x, int y) void process_passive_mouse(int x, int y)
{
- process_mouse(0, 0, x, y);
+ process_mouse(-1, -1, x, y);
} // process_passive_mouse
|