summaryrefslogtreecommitdiffstats
path: root/src/glut/dos/menu.c
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2005-01-14 08:37:20 +0000
committerDaniel Borca <[email protected]>2005-01-14 08:37:20 +0000
commit7da875d55f6dc9f18e23dd8af9ae7f5782cd3a72 (patch)
treef14744a4eb497de9045a20726dbf2fdbf474d87b /src/glut/dos/menu.c
parentf4bff83c3211297159e498c1115b993a5cba9b4b (diff)
changed coding style
Diffstat (limited to 'src/glut/dos/menu.c')
-rw-r--r--src/glut/dos/menu.c63
1 files changed, 31 insertions, 32 deletions
diff --git a/src/glut/dos/menu.c b/src/glut/dos/menu.c
index 31e05f0c472..5ca35dcfa4b 100644
--- a/src/glut/dos/menu.c
+++ b/src/glut/dos/menu.c
@@ -21,7 +21,7 @@
/*
* DOS/DJGPP glut driver v1.3 for Mesa
*
- * Copyright (C) 2002 - Borca Daniel
+ * Copyright (C) 2002 - Daniel Borca
* Web : http://www.geocities.com/dborca
*/
@@ -30,87 +30,86 @@
#include "glutint.h"
-
GLUTmenuStatusCB g_menu_status_func = NULL;
-
-void APIENTRY glutMenuStateFunc (GLUTmenuStateCB func)
+void APIENTRY
+glutMenuStateFunc (GLUTmenuStateCB func)
{
- g_menu_status_func = (GLUTmenuStatusCB)func;
+ g_menu_status_func = (GLUTmenuStatusCB)func;
}
-
-void APIENTRY glutMenuStatusFunc (GLUTmenuStatusCB func)
+void APIENTRY
+glutMenuStatusFunc (GLUTmenuStatusCB func)
{
- g_menu_status_func = func;
+ g_menu_status_func = func;
}
-
-int APIENTRY glutCreateMenu (GLUTselectCB func)
+int APIENTRY
+glutCreateMenu (GLUTselectCB func)
{
- return 0;
+ return 0;
}
-
-void APIENTRY glutDestroyMenu (int menu)
+void APIENTRY
+glutDestroyMenu (int menu)
{
}
-
-int APIENTRY glutGetMenu (void)
+int APIENTRY
+glutGetMenu (void)
{
- return 0;
+ return 0;
}
-
-void APIENTRY glutSetMenu (int menu)
+void APIENTRY
+glutSetMenu (int menu)
{
}
-
-void APIENTRY glutAddMenuEntry (const char *label, int value)
+void APIENTRY
+glutAddMenuEntry (const char *label, int value)
{
}
-
-void APIENTRY glutAddSubMenu (const char *label, int submenu)
+void APIENTRY
+glutAddSubMenu (const char *label, int submenu)
{
}
-
-void APIENTRY glutChangeToMenuEntry (int item, const char *label, int value)
+void APIENTRY
+glutChangeToMenuEntry (int item, const char *label, int value)
{
}
-
-void APIENTRY glutChangeToSubMenu (int item, const char *label, int submenu)
+void APIENTRY
+glutChangeToSubMenu (int item, const char *label, int submenu)
{
}
-
-void APIENTRY glutRemoveMenuItem (int item)
+void APIENTRY
+glutRemoveMenuItem (int item)
{
}
-
-void APIENTRY glutAttachMenu (int button)
+void APIENTRY
+glutAttachMenu (int button)
{
}
-
-void APIENTRY glutDetachMenu (int button)
+void APIENTRY
+glutDetachMenu (int button)
{
}