Commit 6a36d421 authored by Olivier Teulière's avatar Olivier Teulière

* ./doc/skins/events-howto.txt: added some events

 * ./modules/gui/skins/*: fixed my last commit
parent d5ca2edf
...@@ -200,4 +200,8 @@ shortcut. ...@@ -200,4 +200,8 @@ shortcut.
open CTRL+O Open a file. open CTRL+O Open a file.
add_file CTRL+A Add a file. add_file CTRL+A Add a file.
load_skin CTRL+S Change skin. 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.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* banks.cpp: Bitmap bank, Event bank, Font bank and OffSet bank * banks.cpp: Bitmap bank, Event bank, Font bank and OffSet bank
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * 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 Teulire <ipkiss@via.ecp.fr> * Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr> * Emmanuel Puig <karibu@via.ecp.fr>
...@@ -151,7 +151,8 @@ EventBank::EventBank( intf_thread_t *_p_intf ) ...@@ -151,7 +151,8 @@ EventBank::EventBank( intf_thread_t *_p_intf )
Add( "time", "VLC_STREAMPOS", "none" ); Add( "time", "VLC_STREAMPOS", "none" );
Add( "left_time", "VLC_ENDSTREAMPOS", "none" ); Add( "left_time", "VLC_ENDSTREAMPOS", "none" );
Add( "total_time", "VLC_TOTALSTREAMPOS", "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( "help", "VLC_HELP_TEXT", "none" );
Add( "tray", "VLC_CHANGE_TRAY", "CTRL+T" ); Add( "tray", "VLC_CHANGE_TRAY", "CTRL+T" );
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* event.cpp: Event class * event.cpp: Event class
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * 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 Teulire <ipkiss@via.ecp.fr> * Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr> * Emmanuel Puig <karibu@via.ecp.fr>
...@@ -137,8 +137,10 @@ unsigned int Event::GetMessageType( string Desc ) ...@@ -137,8 +137,10 @@ unsigned int Event::GetMessageType( string Desc )
return VLC_ENDSTREAMPOS; return VLC_ENDSTREAMPOS;
else if( Desc == "VLC_TOTALSTREAMPOS" ) else if( Desc == "VLC_TOTALSTREAMPOS" )
return VLC_TOTALSTREAMPOS; return VLC_TOTALSTREAMPOS;
else if( Desc == "VLC_STREAMNAME" ) else if( Desc == "VLC_STREAM_NAME" )
return VLC_STREAMNAME; return VLC_STREAM_NAME;
else if( Desc == "VLC_STREAM_TITLE" )
return VLC_STREAM_TITLE;
else if( Desc == "VLC_HELP_TEXT" ) else if( Desc == "VLC_HELP_TEXT" )
return VLC_HELP_TEXT; return VLC_HELP_TEXT;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* event.h: Event class * event.h: Event class
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * 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 Teulire <ipkiss@via.ecp.fr> * Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr> * Emmanuel Puig <karibu@via.ecp.fr>
...@@ -80,8 +80,9 @@ using namespace std; ...@@ -80,8 +80,9 @@ using namespace std;
#define VLC_STREAMPOS (VLC_MESSAGE + 106) #define VLC_STREAMPOS (VLC_MESSAGE + 106)
#define VLC_ENDSTREAMPOS (VLC_MESSAGE + 107) #define VLC_ENDSTREAMPOS (VLC_MESSAGE + 107)
#define VLC_TOTALSTREAMPOS (VLC_MESSAGE + 108) #define VLC_TOTALSTREAMPOS (VLC_MESSAGE + 108)
#define VLC_STREAMNAME (VLC_MESSAGE + 109) #define VLC_STREAM_NAME (VLC_MESSAGE + 109)
#define VLC_HELP_TEXT (VLC_MESSAGE + 110) #define VLC_STREAM_TITLE (VLC_MESSAGE + 110)
#define VLC_HELP_TEXT (VLC_MESSAGE + 111)
// Volume control // Volume control
#define VLC_VOLUME_CHANGE (VLC_MESSAGE + 201) #define VLC_VOLUME_CHANGE (VLC_MESSAGE + 201)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment