2004-09-13, 07:35 PM
Hi Guys,
Can anyone give me help ,on adding a pgn up/down function to the Jukebox Plugin.So that selecting music files is quicker.
I downloaded Sharp Devel tool and had a look at the Jukebox Plugin.Under the JukeboxTasks.cs file part of the code had pgn functions. Is this where I can add the above functions
and then re compile the jukeboxtask.cs file. I've only started reading C Programming stuff. See below for the section of the code.
case Keys.PageDown:
userTopIdx += MAX_ITEMS;
if (userTopIdx >= userTracks.Count - MAX_ITEMS)
{
userTopIdx = userTracks.Count - MAX_ITEMS;
userSelIdx = userTracks.Count - 1;
}
else
{
userSelIdx = userTopIdx;
}
break;
*/
/*
case Keys.PageUp:
userTopIdx -= MAX_ITEMS;
if (userTopIdx < 0)
{
userTopIdx = 0;
}
userSelIdx = userTopIdx;
break;
Is this the right section, (if you can make it out), or am I barking up the wrong tree?
Regards
Joe
Can anyone give me help ,on adding a pgn up/down function to the Jukebox Plugin.So that selecting music files is quicker.
I downloaded Sharp Devel tool and had a look at the Jukebox Plugin.Under the JukeboxTasks.cs file part of the code had pgn functions. Is this where I can add the above functions
and then re compile the jukeboxtask.cs file. I've only started reading C Programming stuff. See below for the section of the code.
case Keys.PageDown:
userTopIdx += MAX_ITEMS;
if (userTopIdx >= userTracks.Count - MAX_ITEMS)
{
userTopIdx = userTracks.Count - MAX_ITEMS;
userSelIdx = userTracks.Count - 1;
}
else
{
userSelIdx = userTopIdx;
}
break;
*/
/*
case Keys.PageUp:
userTopIdx -= MAX_ITEMS;
if (userTopIdx < 0)
{
userTopIdx = 0;
}
userSelIdx = userTopIdx;
break;
Is this the right section, (if you can make it out), or am I barking up the wrong tree?
Regards
Joe
Regards
[COLOR="black"][COLOR="Blue"]4 X MVPs
Win Vista
Hauppauge PVR 350
Dell Inspirion - 531[/COLOR][/COLOR]
[COLOR="black"][COLOR="Blue"]4 X MVPs
Win Vista
Hauppauge PVR 350
Dell Inspirion - 531[/COLOR][/COLOR]