Initial community commit
This commit is contained in:
34
Src/resources/skins/Winamp Modern/scripts/init_Playlist.m
Normal file
34
Src/resources/skins/Winamp Modern/scripts/init_Playlist.m
Normal file
@@ -0,0 +1,34 @@
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#include "gen_pageguids.m"
|
||||
|
||||
|
||||
Function initAttribs_Playlist();
|
||||
|
||||
#define COSTUM_PAGE_PLAYLIST "{0167CFD9-5D35-404a-8F03-80ED5B89DEDF}"
|
||||
|
||||
Global ConfigAttribute playlist_search_attrib;
|
||||
|
||||
initAttribs_Playlist(){
|
||||
initPages();
|
||||
|
||||
ConfigItem custom_page_playlist = addConfigSubMenu(optionsmenu_page, "Playlist", COSTUM_PAGE_PLAYLIST);
|
||||
|
||||
playlist_search_attrib = custom_page_playlist.newAttribute("Show Playlist Search box", "1");
|
||||
//addMenuSeparator(custom_page_autoresize);
|
||||
}
|
||||
|
||||
#ifdef MAIN_ATTRIBS_MGR
|
||||
/*
|
||||
playlist_search_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
if (getData() == "1") playlist_search_attrib.setData("0");
|
||||
if (getData() == "0") playlist_search_attrib.setData("1");
|
||||
attribs_mychange = 0;
|
||||
}*/
|
||||
#endif
|
||||
Reference in New Issue
Block a user