]> git.sesse.net Git - vlc/commitdiff
* ./doc/skins/events-howto.txt: added some events
authorOlivier Teulière <ipkiss@videolan.org>
Fri, 20 Jun 2003 21:34:37 +0000 (21:34 +0000)
committerOlivier Teulière <ipkiss@videolan.org>
Fri, 20 Jun 2003 21:34:37 +0000 (21:34 +0000)
 * ./modules/gui/skins/*: fixed my last commit

doc/skins/events-howto.txt
modules/gui/skins/src/banks.cpp
modules/gui/skins/src/event.cpp
modules/gui/skins/src/event.h

index c8968410474c70f70424a46a34fcb1f5cd905c76..8afa55c4408c148417a07d7e4d5f94f5740aa3a7 100644 (file)
@@ -200,4 +200,8 @@ shortcut.
   open         CTRL+O       Open a file.
   add_file     CTRL+A       Add a file.
   load_skin    CTRL+S       Change skin.
+  show_prefs                Show the preferences dialog box.
+  show_info                 Show the FileInfo dialog box.
+  show_log                  Show the Messages dialog box.
+  hide_log                  Hide the Messages dialog box.
 
index eb8dabb9ac6cd7d89296aa8964916a7363cfc36c..c0860dce371d1be10a4374b59a184fbaf929eb19 100644 (file)
@@ -2,7 +2,7 @@
  * banks.cpp: Bitmap bank, Event bank, Font bank and OffSet bank
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: banks.cpp,v 1.6 2003/04/28 20:46:41 ipkiss Exp $
+ * $Id: banks.cpp,v 1.7 2003/06/20 21:34:37 ipkiss Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -151,7 +151,8 @@ EventBank::EventBank( intf_thread_t *_p_intf )
     Add( "time",             "VLC_STREAMPOS",           "none" );
     Add( "left_time",        "VLC_ENDSTREAMPOS",        "none" );
     Add( "total_time",       "VLC_TOTALSTREAMPOS",      "none" );
-    Add( "file_name",        "VLC_STREAMNAME",          "none" );
+    Add( "file_name",        "VLC_STREAM_NAME",         "none" );
+    Add( "title",            "VLC_STREAM_TITLE",        "none" );
     Add( "help",             "VLC_HELP_TEXT",           "none" );
 
     Add( "tray",             "VLC_CHANGE_TRAY",         "CTRL+T" );
index 99332a4b8d1eb6598837b8ea26fe9e575843dfd9..7bbaec553e3e3430d76765a2503612c4d0a5ce81 100644 (file)
@@ -2,7 +2,7 @@
  * event.cpp: Event class
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: event.cpp,v 1.16 2003/05/31 23:23:59 ipkiss Exp $
+ * $Id: event.cpp,v 1.17 2003/06/20 21:34:37 ipkiss Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -137,8 +137,10 @@ unsigned int Event::GetMessageType( string Desc )
         return VLC_ENDSTREAMPOS;
     else if( Desc == "VLC_TOTALSTREAMPOS" )
         return VLC_TOTALSTREAMPOS;
-    else if( Desc == "VLC_STREAMNAME" )
-        return VLC_STREAMNAME;
+    else if( Desc == "VLC_STREAM_NAME" )
+        return VLC_STREAM_NAME;
+    else if( Desc == "VLC_STREAM_TITLE" )
+        return VLC_STREAM_TITLE;
     else if( Desc == "VLC_HELP_TEXT" )
         return VLC_HELP_TEXT;
 
index 20d3b4d55e27390aa5b811ed080b0d022339e344..2d0ca9a0710b7905b835171c8e31b269372f521d 100644 (file)
@@ -2,7 +2,7 @@
  * event.h: Event class
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: event.h,v 1.9 2003/05/05 16:09:40 gbazin Exp $
+ * $Id: event.h,v 1.10 2003/06/20 21:34:37 ipkiss Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -80,8 +80,9 @@ using namespace std;
 #define VLC_STREAMPOS       (VLC_MESSAGE + 106)
 #define VLC_ENDSTREAMPOS    (VLC_MESSAGE + 107)
 #define VLC_TOTALSTREAMPOS  (VLC_MESSAGE + 108)
-#define VLC_STREAMNAME      (VLC_MESSAGE + 109)
-#define VLC_HELP_TEXT       (VLC_MESSAGE + 110)
+#define VLC_STREAM_NAME     (VLC_MESSAGE + 109)
+#define VLC_STREAM_TITLE    (VLC_MESSAGE + 110)
+#define VLC_HELP_TEXT       (VLC_MESSAGE + 111)
 
 // Volume control
 #define VLC_VOLUME_CHANGE   (VLC_MESSAGE + 201)