[Mplayer-cvslog] CVS: main/input input.c,1.14,1.15 input.h,1.6,1.7

Zoltan Ponekker pontscho at mplayer.dev.hu
Mon Feb 25 14:14:30 CET 2002


Update of /cvsroot/mplayer/main/input
In directory mplayer:/var/tmp.root/cvs-serv21388/input

Modified Files:
	input.c input.h 
Log Message:
add half new input support for gui

Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- input.c	24 Feb 2002 21:22:12 -0000	1.14
+++ input.c	25 Feb 2002 13:14:27 -0000	1.15
@@ -55,6 +55,18 @@
   { MP_CMD_TV_STEP_CHANNEL_LIST, "tv_step_chanlist", 0, { {-1,{0}} }  },
 #endif
   { MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } },
+
+#ifdef HAVE_NEW_GUI  
+  { MP_CMD_GUI_LOADFILE, "gui_loadfile", 0, { {-1,{0}} } },
+  { MP_CMD_GUI_LOADSUBTITLE, "gui_loadsubtitle", 0, { {-1,{0}} } },
+  { MP_CMD_GUI_ABOUT, "gui_about", 0, { {-1,{0}} } },
+  { MP_CMD_GUI_PLAY, "gui_play", 0, { {-1,{0}} } },
+  { MP_CMD_GUI_STOP, "gui_stop", 0, { {-1,{0}} } },
+  { MP_CMD_GUI_PLAYLIST, "gui_playlist", 0, { {-1,{0}} } },
+  { MP_CMD_GUI_PREFERENCES, "gui_preferences", 0, { {-1,{0}} } },
+  { MP_CMD_GUI_SKINBROWSER, "gui_skinbrowser", 0, { {-1,{0}} } },
+#endif
+  
   { 0, NULL, 0, {} }
 };
 
@@ -137,7 +149,7 @@
   { { '-', 0 }, "audio_delay -0.100" },
   { { 'q', 0 }, "quit" },
   { { KEY_ESC, 0 }, "quit" },
-  { { 'p', 0 }, "pause" },
+//  { { 'p', 0 }, "pause" },
   { { ' ', 0 }, "pause" },
   { { KEY_HOME, 0 }, "pt_up_step 1" },
   { { KEY_END, 0 }, "pt_up_step -1" },
@@ -164,9 +176,19 @@
   { { 'd', 0 }, "frame_drop" },
 #ifdef USE_TV
   { { 'h', 0 }, "tv_step_channel 1" },
-  { { 'l', 0 }, "tv_step_channel -1" },
+  { { 'k', 0 }, "tv_step_channel -1" },
   { { 'n', 0 }, "tv_step_norm" },
-  { { 'b', 0 }, "tv_step_chanlist" },
+  { { 'm', 0 }, "tv_step_chanlist" },
+#endif
+#ifdef HAVE_NEW_GUI
+  { { 'l', 0 }, "gui_loadfile" },
+  { { 't', 0 }, "gui_loadsubtitle" },
+  { { 'a', 0 }, "gui_about" },
+  { { KEY_ENTER, 0 }, "gui_play" },
+  { { 's', 0 }, "gui_stop" },
+  { { 'p', 0 }, "gui_playlist" },
+  { { 'r', 0 }, "gui_preferences" },
+  { { 'c', 0 }, "gui_skinbrowser" },
 #endif
 #ifdef HAVE_JOYSTICK
   { { JOY_AXIS0_PLUS, 0 }, "seek 10" },

Index: input.h
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- input.h	23 Feb 2002 21:13:35 -0000	1.6
+++ input.h	25 Feb 2002 13:14:27 -0000	1.7
@@ -23,6 +23,17 @@
 #define MP_CMD_TV_STEP_CHANNEL_LIST 19
 #define MP_CMD_VO_FULLSCREEN 20
 
+#define MP_CMD_GUI_EVENTS       5000
+#define MP_CMD_GUI_LOADFILE     5001
+#define MP_CMD_GUI_LOADSUBTITLE 5002
+#define MP_CMD_GUI_ABOUT        5003
+#define MP_CMD_GUI_PLAY         5004
+#define MP_CMD_GUI_STOP         5005
+#define MP_CMD_GUI_PLAYLIST     5006
+#define MP_CMD_GUI_PREFERENCES  5007
+#define MP_CMD_GUI_FULLSCREEN   5008
+#define MP_CMD_GUI_SKINBROWSER  5009
+
 #define MP_CMD_ARG_INT 0
 #define MP_CMD_ARG_FLOAT 1
 #define MP_CMD_ARG_STRING 2




More information about the MPlayer-cvslog mailing list