From 6a36d4218d7136681b472ee900bdc43e1639edc8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Teuli=C3=A8re?= Date: Fri, 20 Jun 2003 21:34:37 +0000 Subject: [PATCH] * ./doc/skins/events-howto.txt: added some events * ./modules/gui/skins/*: fixed my last commit --- doc/skins/events-howto.txt | 4 ++++ modules/gui/skins/src/banks.cpp | 5 +++-- modules/gui/skins/src/event.cpp | 8 +++++--- modules/gui/skins/src/event.h | 7 ++++--- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/doc/skins/events-howto.txt b/doc/skins/events-howto.txt index c896841047..8afa55c440 100644 --- a/doc/skins/events-howto.txt +++ b/doc/skins/events-howto.txt @@ -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. diff --git a/modules/gui/skins/src/banks.cpp b/modules/gui/skins/src/banks.cpp index eb8dabb9ac..c0860dce37 100644 --- a/modules/gui/skins/src/banks.cpp +++ b/modules/gui/skins/src/banks.cpp @@ -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 * Emmanuel Puig @@ -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" ); diff --git a/modules/gui/skins/src/event.cpp b/modules/gui/skins/src/event.cpp index 99332a4b8d..7bbaec553e 100644 --- a/modules/gui/skins/src/event.cpp +++ b/modules/gui/skins/src/event.cpp @@ -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 * Emmanuel Puig @@ -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; diff --git a/modules/gui/skins/src/event.h b/modules/gui/skins/src/event.h index 20d3b4d55e..2d0ca9a071 100644 --- a/modules/gui/skins/src/event.h +++ b/modules/gui/skins/src/event.h @@ -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 * Emmanuel Puig @@ -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) -- 2.39.2