adjust mouse bindings a bit and document them in help screen

This commit is contained in:
Andrzej Rybczak
2009-08-08 21:18:46 +02:00
parent 27ede67685
commit 853164575f
7 changed files with 130 additions and 47 deletions

View File

@@ -280,7 +280,7 @@ void Browser::MouseButtonPressed(MEVENT me)
{
if (w->Empty() || !w->hasCoords(me.x, me.y) || size_t(me.y) >= w->Size())
return;
if (me.bstate & BUTTON1_PRESSED || me.bstate & BUTTON3_PRESSED)
if (me.bstate & (BUTTON1_PRESSED | BUTTON3_PRESSED))
{
w->Goto(me.y);
switch (w->Current().type)
@@ -300,14 +300,6 @@ void Browser::MouseButtonPressed(MEVENT me)
}
break;
case itPlaylist:
if (me.bstate & BUTTON3_PRESSED)
{
size_t pos = w->Choice();
SpacePressed();
if (pos < w->Size()-1)
w->Scroll(wUp);
}
break;
case itSong:
if (me.bstate & BUTTON1_PRESSED)
{