init_appearance.m 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*---------------------------------------------------
  2. -----------------------------------------------------
  3. Filename: init_appearance.m
  4. Version: 2.2
  5. Type: maki/attrib definitions
  6. Date: 28. Jun. 2007 - 22:08
  7. Author: Martin Poehlmann aka Deimos
  8. E-Mail: [email protected]
  9. Internet: www.skinconsortium.com
  10. www.martin.deimos.de.vu
  11. -----------------------------------------------------
  12. Depending Files:
  13. scripts/mainmenu.maki
  14. scripts/visualizer.maki
  15. scripts/beatvisualization.maki
  16. scripts/shadesize.maki
  17. scripts/mcvcore.maki
  18. -----------------------------------------------------
  19. ---------------------------------------------------*/
  20. #ifndef included
  21. #error This script can only be compiled as a #include
  22. #endif
  23. #include "gen_pageguids.m"
  24. Function initAttribs_Appearance();
  25. #define CUSTOM_PAGE_APPEARANCE "{F1036C9C-3919-47ac-8494-366778CF10F9}"
  26. Global ConfigAttribute vis_reflection_attrib;
  27. Global ConfigAttribute timer_reflection_attrib;
  28. Global ConfigAttribute menubar_main_attrib;
  29. Global configAttribute beatvis_attrib;
  30. //Global configAttribute artist_info_buttons_attrib;
  31. Global ConfigAttribute pl_tab_attrib;
  32. Global ConfigItem custom_page_appearance;
  33. initAttribs_Appearance()
  34. {
  35. initPages();
  36. custom_page_appearance = addConfigSubMenu(optionsmenu_page, "Appearance", CUSTOM_PAGE_APPEARANCE);
  37. menubar_main_attrib = custom_page_appearance.newAttribute("Show Main Window Menu", "1");
  38. addMenuSeparator(custom_page_appearance);
  39. vis_reflection_attrib = custom_page_appearance.newAttribute("Show Visualizer Reflection", "1");
  40. timer_reflection_attrib = custom_page_appearance.newAttribute("Show Timer Reflection", "1");
  41. addMenuSeparator(custom_page_appearance);
  42. //artist_info_buttons_attrib = custom_page_appearance.newAttribute("Show Artist-Information Buttons", "0");
  43. pl_tab_attrib = custom_page_appearance.newAttribute("Show Playlist Tab", "0");
  44. addMenuSeparator(custom_page_appearance);
  45. beatvis_attrib = custom_page_appearance.newAttribute("Enable Beat Visualization", "1");
  46. }