init_Playlist.m 831 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef included
  2. #error This script can only be compiled as a #include
  3. #endif
  4. #include "gen_pageguids.m"
  5. Function initAttribs_Playlist();
  6. #define COSTUM_PAGE_PLAYLIST "{0167CFD9-5D35-404a-8F03-80ED5B89DEDF}"
  7. Global ConfigAttribute playlist_search_attrib;
  8. initAttribs_Playlist(){
  9. initPages();
  10. ConfigItem custom_page_playlist = addConfigSubMenu(optionsmenu_page, "Playlist", COSTUM_PAGE_PLAYLIST);
  11. playlist_search_attrib = custom_page_playlist.newAttribute("Show Playlist Search box", "1");
  12. //addMenuSeparator(custom_page_autoresize);
  13. }
  14. #ifdef MAIN_ATTRIBS_MGR
  15. /*
  16. playlist_search_attrib.onDataChanged()
  17. {
  18. if (attribs_mychange) return;
  19. NOOFF
  20. attribs_mychange = 1;
  21. if (getData() == "1") playlist_search_attrib.setData("0");
  22. if (getData() == "0") playlist_search_attrib.setData("1");
  23. attribs_mychange = 0;
  24. }*/
  25. #endif