// Example of a button using the EX functions (see "default.key" for a list of functions).
//CreateExButton(Type=Extended,SrcX=0,SrcY=72,Width=25,Height=27,DestX=0,DestY=0,Function=exSetAR,FunctionParam=1,Hint=Set Aspect Ratio to Source Aspect Ratio)
// Example of a filter property opening button
//CreateExButton(Type=Filter,SrcX=0,SrcY=72,Width=25,Height=27,DestX=0,DestY=0,StringParam=DivX|XviD|MPEG4|MPEG-4,Hint=Open any MPEG4 based decoder filter)
// Another example of Drawing Dynamic Text (Playing times)
//DrawExText(DestX=5,DestY=<WinHeight>-57,Width=<WinWidth>-10,Height=20,Align=Center,Case=UpFirst,FontName=Arial,FontSize=8,FontColor=FFFFFF,FontStyle=Bold,Text=At <Time> out of <Duration> - Remaining: <TimeRemain>)
// Example of using the same graphics of the Play Rate Bar for Audio Balance
CreateExButton(Type=Normal,Text=Add Files,FontColor=000000,Color=B0B0B0,Target=PlayList,Width=60,Height=21,DestX=<PLWinWidth>-66,DestY=6,Function=fnPLAddFiles,Hint=Add Files to Play List)
FillPLRect(<PLWinWidth>-67,30,62,23,6F6F6F)
CreateExButton(Type=Normal,Text=Add Dir,FontColor=000000,Color=B0B0B0,Target=PlayList,Width=60,Height=21,DestX=<PLWinWidth>-66,DestY=31,Function=fnPLAddDir,Hint=Add Directory to Play List)
CreateExButton(Type=Normal,Text=Clear,FontColor=000000,Color=B0B0B0,Target=PlayList,Width=60,Height=21,DestX=<PLWinWidth>-66,DestY=86,Function=fnPLClear,Hint=Clear Play List)
FillPLRect(<PLWinWidth>-67,115,62,23,6F6F6F)
CreateExButton(Type=Normal,Text=Load List,FontColor=000000,Color=B0B0B0,Target=PlayList,Width=60,Height=21,DestX=<PLWinWidth>-66,DestY=116,Function=fnPLLoadList,Hint=Load Play List)
FillPLRect(<PLWinWidth>-67,140,62,23,6F6F6F)
CreateExButton(Type=Normal,Text=Save List,FontColor=000000,Color=B0B0B0,Target=PlayList,Width=60,Height=21,DestX=<PLWinWidth>-66,DestY=141,Function=fnPLSaveList,Hint=Save Play List)
FillPLRect(<PLWinWidth>-67,165,62,23,6F6F6F)
CreateExButton(Type=Normal,Text=Sort,FontColor=000000,Color=B0B0B0,Target=PlayList,Width=60,Height=21,DestX=<PLWinWidth>-66,DestY=166,Function=fnPLSort,Hint=Sort Play List)
CreateExButton(Type=Normal,Text=Close,FontColor=000000,Color=B0B0B0,Target=PlayList,Width=60,Height=21,DestX=<PLWinWidth>-66,DestY=<PLWinHeight>-27,Function=fnPlayList,Hint=Close Play List)