Mercurial > audlegacy
changeset 225:bfee3129143e trunk
[svn] Add Winamp-style numeric keypad shortcut key support.
author | nenolod |
---|---|
date | Fri, 25 Nov 2005 19:29:04 -0800 |
parents | 1ce5afec0db1 |
children | f6ad670bb500 |
files | Plugins/Input/aac/libmp4v2/Makefile.am audacious/mainwin.c |
diffstat | 2 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/aac/libmp4v2/Makefile.am Fri Nov 25 14:57:51 2005 -0800 +++ b/Plugins/Input/aac/libmp4v2/Makefile.am Fri Nov 25 19:29:04 2005 -0800 @@ -82,6 +82,8 @@ rtphint.cpp \ rtphint.h +libmp4v2_la_LDFLAGS = -lstdc++ + EXTRA_DIST = API_CHANGES \ INTERNALS \ libmp4v260.dsp \
--- a/audacious/mainwin.c Fri Nov 25 14:57:51 2005 -0800 +++ b/audacious/mainwin.c Fri Nov 25 19:29:04 2005 -0800 @@ -1181,14 +1181,17 @@ case GDK_Up: case GDK_KP_Up: + case GDK_KP_8: mainwin_set_volume_diff(2); break; case GDK_Down: case GDK_KP_Down: + case GDK_KP_2: mainwin_set_volume_diff(-2); break; case GDK_Left: case GDK_KP_Left: + case GDK_KP_7: if (playlist_get_current_length() != -1) bmp_playback_seek(CLAMP (bmp_playback_get_time() - 5000, 0, @@ -1196,11 +1199,24 @@ break; case GDK_Right: case GDK_KP_Right: + case GDK_KP_9: if (playlist_get_current_length() != -1) bmp_playback_seek(CLAMP (bmp_playback_get_time() + 5000, 0, playlist_get_current_length()) / 1000); break; + case GDK_KP_4: + playlist_prev(); + break; + case GDK_KP_6: + playlist_next(); + break; + case GDK_KP_Insert: + mainwin_jump_to_file(); + break; + case GDK_KP_5: + mainwin_play_pushed(); + break; case GDK_Escape: mainwin_minimize_cb(); break;