summaryrefslogtreecommitdiff
path: root/plugins/Watrack/waticons.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/waticons.pas')
-rw-r--r--plugins/Watrack/waticons.pas6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/Watrack/waticons.pas b/plugins/Watrack/waticons.pas
index 5b61af18dd..94b511767e 100644
--- a/plugins/Watrack/waticons.pas
+++ b/plugins/Watrack/waticons.pas
@@ -51,14 +51,12 @@ var
begin
result:=true;
sid.szDefaultFile.a:='icons\'+ICOCtrlName;
-// ConvertFileName(sid.szDefaultFile.a,buf);
CallService(MS_UTILS_PATHTOABSOLUTE,wparam(sid.szDefaultFile),lparam(@buf));
hIconDLL:=LoadLibraryA(buf);
if hIconDLL=0 then // not found
begin
sid.szDefaultFile.a:='plugins\'+ICOCtrlName;
-// ConvertFileName(sid.szDefaultFile.a,buf);
CallService(MS_UTILS_PATHTOABSOLUTE,wparam(sid.szDefaultFile),lparam(@buf));
hIconDLL:=LoadLibraryA(buf);
end;
@@ -107,7 +105,7 @@ const
((descr:'Play' ;name:'WATrack_Play' ; id:IDI_PLAY_NORMAL),
(descr:'Play Hovered' ;name:'WATrack_PlayH' ; id:IDI_PLAY_HOVERED),
(descr:'Play Pushed' ;name:'WATrack_PlayP' ; id:IDI_PLAY_PRESSED)),
-
+
((descr:'Pause' ;name:'WATrack_Pause' ; id:IDI_PAUSE_NORMAL),
(descr:'Pause Hovered' ;name:'WATrack_PauseH' ; id:IDI_PAUSE_HOVERED),
(descr:'Pause Pushed' ;name:'WATrack_PauseP' ; id:IDI_PAUSE_PRESSED)),
@@ -144,14 +142,12 @@ begin
if not IconsLoaded then
begin
path:='icons\'+ICOCtrlName;
-// ConvertFileName(sid.szDefaultFile.a,buf);
CallService(MS_UTILS_PATHTOABSOLUTE,wparam(path),lparam(@buf));
hIconDLL:=LoadLibraryA(buf);
if hIconDLL=0 then // not found
begin
sid.szDefaultFile.a:='plugins\'+ICOCtrlName;
-// ConvertFileName(sid.szDefaultFile.a,buf);
CallService(MS_UTILS_PATHTOABSOLUTE,wparam(path),lparam(@buf));
hIconDLL:=LoadLibraryA(buf);
end;