/platform/osx/scaffold/menu.d

http://github.com/wilkie/djehuty · D · 55 lines · 36 code · 11 blank · 8 comment · 2 complexity · f791bcf7862bee627c614f45fe90f534 MD5 · raw file

  1. /*
  2. * menu.d
  3. *
  4. * This Scaffold holds the Menu implementations for the Linux platform
  5. *
  6. * Author: Dave Wilkinson
  7. *
  8. */
  9. module scaffold.menu;
  10. import platform.vars.window;
  11. import platform.vars.menu;
  12. import platform.unix.common;
  13. import core.string;
  14. import core.main;
  15. import core.definitions;
  16. import resource.menu;
  17. import gui.window;
  18. void MenuCreate(MenuPlatformVars* menuVars)
  19. {
  20. }
  21. void MenuDestroy(MenuPlatformVars* menuVars)
  22. {
  23. }
  24. void MenuAppend(void* identifier, MenuPlatformVars* mnuVars, MenuPlatformVars* toAppendVars, string text, bool hasSubitems)
  25. {
  26. if (hasSubitems)
  27. {
  28. }
  29. else
  30. {
  31. }
  32. }
  33. void MenuUpdate(void* identifier, MenuPlatformVars* mnuVars, MenuPlatformVars* toUpdateVars, string text, uint position, bool hasSubitems)
  34. {
  35. if (hasSubitems)
  36. {
  37. }
  38. else
  39. {
  40. }
  41. }
  42. void WindowSetMenu(MenuPlatformVars* mnuVars, ref Window wnd, WindowPlatformVars* windowVars)
  43. {
  44. }