Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

menu.c 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /*
  2. * DOS/DJGPP Mesa Utility Toolkit
  3. * Version: 1.0
  4. *
  5. * Copyright (C) 2005 Daniel Borca All Rights Reserved.
  6. *
  7. * Permission is hereby granted, free of charge, to any person obtaining a
  8. * copy of this software and associated documentation files (the "Software"),
  9. * to deal in the Software without restriction, including without limitation
  10. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  11. * and/or sell copies of the Software, and to permit persons to whom the
  12. * Software is furnished to do so, subject to the following conditions:
  13. *
  14. * The above copyright notice and this permission notice shall be included
  15. * in all copies or substantial portions of the Software.
  16. *
  17. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  18. * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  19. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  20. * DANIEL BORCA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
  21. * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  22. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  23. */
  24. #include "internal.h"
  25. GLUTmenuStatusCB _glut_menu_status_func = NULL;
  26. void APIENTRY
  27. glutMenuStateFunc (GLUTmenuStateCB func)
  28. {
  29. _glut_menu_status_func = (GLUTmenuStatusCB)func;
  30. }
  31. void APIENTRY
  32. glutMenuStatusFunc (GLUTmenuStatusCB func)
  33. {
  34. _glut_menu_status_func = func;
  35. }
  36. int APIENTRY
  37. glutCreateMenu (GLUTselectCB func)
  38. {
  39. return 0;
  40. }
  41. void APIENTRY
  42. glutDestroyMenu (int menu)
  43. {
  44. }
  45. int APIENTRY
  46. glutGetMenu (void)
  47. {
  48. return 0;
  49. }
  50. void APIENTRY
  51. glutSetMenu (int menu)
  52. {
  53. }
  54. void APIENTRY
  55. glutAddMenuEntry (const char *label, int value)
  56. {
  57. }
  58. void APIENTRY
  59. glutAddSubMenu (const char *label, int submenu)
  60. {
  61. }
  62. void APIENTRY
  63. glutChangeToMenuEntry (int item, const char *label, int value)
  64. {
  65. }
  66. void APIENTRY
  67. glutChangeToSubMenu (int item, const char *label, int submenu)
  68. {
  69. }
  70. void APIENTRY
  71. glutRemoveMenuItem (int item)
  72. {
  73. }
  74. void APIENTRY
  75. glutAttachMenu (int button)
  76. {
  77. }
  78. void APIENTRY
  79. glutDetachMenu (int button)
  80. {
  81. }
  82. void APIENTRY
  83. glutMenuDestroyFunc ( void (* callback)( void ) )
  84. {
  85. }
  86. void * APIENTRY
  87. glutGetMenuData (void)
  88. {
  89. return NULL;
  90. }
  91. void APIENTRY
  92. glutSetMenuData (void *data)
  93. {
  94. }