init_playlist.m 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*---------------------------------------------------
  2. -----------------------------------------------------
  3. Filename: init_playlist.m
  4. Version: 1.0
  5. Type: maki/attrib definitions
  6. Date: 23. Okt. 2006 - 16:58
  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. config/configsystem.maki
  14. -----------------------------------------------------
  15. ---------------------------------------------------*/
  16. #ifndef included
  17. #error This script can only be compiled as a #include
  18. #endif
  19. #include "gen_pageguids.m"
  20. #define COSTUM_PAGE_PLAYLIST "{0167CFD9-5D35-404a-8F03-80ED5B89DEDF}"
  21. Function initAttribs_playlist();
  22. Global ConfigAttribute playlist_enlarge_attrib;
  23. Global ConfigAttribute playlist_cover_attrib;
  24. initAttribs_Playlist()
  25. {
  26. initPages();
  27. ConfigItem playlist_parent = addConfigSubMenu(optionsmenu_page, "Playlist", COSTUM_PAGE_PLAYLIST);
  28. playlist_enlarge_attrib = playlist_parent.newAttribute("Enlarge Playlist", "1");
  29. playlist_cover_attrib = playlist_parent.newAttribute("Show Album Art if Playlist is enlarged", "1");
  30. }