summaryrefslogtreecommitdiff
path: root/plugins/Watrack/waticons.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-01 23:11:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-01 23:11:39 +0000
commit8ef40f0bd018c6f9295977c206714db8d1e6159c (patch)
tree2acbdcb3743bb4d1b6bbfc49953cc164b11a6089 /plugins/Watrack/waticons.pas
parent427891e0d28becb428ae8435954399f2e4daa9fe (diff)
code cleanup for pascal plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@3828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;