summaryrefslogtreecommitdiff
path: root/plugins/mRadio
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mRadio')
-rw-r--r--plugins/mRadio/i_tray.inc4
-rw-r--r--plugins/mRadio/i_visual.inc8
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/mRadio/i_tray.inc b/plugins/mRadio/i_tray.inc
index ff8b76a585..49408f1fb9 100644
--- a/plugins/mRadio/i_tray.inc
+++ b/plugins/mRadio/i_tray.inc
@@ -219,9 +219,9 @@ begin
Menu_ModifyItem(trayprotoh, 'mRadio on');
if gVolume<0 then
- Menu_ModifyItem(traymute, nil, IcoLib_GetIcon(IcoBtnOff,0))
+ Menu_ModifyItem(traymute, nil, IcoLib_GetIconHandle(IcoBtnOff))
else
- Menu_ModifyItem(traymute, nil, IcoLib_GetIcon(IcoBtnOn,0));
+ Menu_ModifyItem(traymute, nil, IcoLib_GetIconHandle(IcoBtnOn));
if CallService(MS_RADIO_COMMAND,MRC_STATUS,RD_STATUS_GET)<>RD_STATUS_PLAYING then
Menu_ModifyItem(trayplay, 'Play')
diff --git a/plugins/mRadio/i_visual.inc b/plugins/mRadio/i_visual.inc
index 2f95f0daa2..e8a319d15c 100644
--- a/plugins/mRadio/i_visual.inc
+++ b/plugins/mRadio/i_visual.inc
@@ -14,15 +14,15 @@ begin
begin
// play/Stop
if THANDLE(hContact)<>ActiveContact then
- Menu_ModifyItem(hCMenuItemPlay, 'Start broadcasting', IcoLib_GetIcon(IcoBtnOn,0))
+ Menu_ModifyItem(hCMenuItemPlay, 'Start broadcasting', IcoLib_GetIconHandle(IcoBtnOn))
else
- Menu_ModifyItem(hCMenuItemPlay, 'Stop broadcasting', IcoLib_GetIcon(IcoBtnOff,0));
+ Menu_ModifyItem(hCMenuItemPlay, 'Stop broadcasting', IcoLib_GetIconHandle(IcoBtnOff));
// record
if Service_RadioRecord(0,1)<>0 then
- Menu_ModifyItem(hCMenuItemRec, 'Stop record', IcoLib_GetIcon(IcoBtnRecDn,0))
+ Menu_ModifyItem(hCMenuItemRec, 'Stop record', IcoLib_GetIconHandle(IcoBtnRecDn))
else
- Menu_ModifyItem(hCMenuItemRec, 'Start record', IcoLib_GetIcon(IcoBtnRecUp,0));
+ Menu_ModifyItem(hCMenuItemRec, 'Start record', IcoLib_GetIconHandle(IcoBtnRecUp));
end;
result:=0;