Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Baptiste Kempf
VLC
Commits
6a36d421
Commit
6a36d421
authored
Jun 20, 2003
by
ipkiss
Browse files
* ./doc/skins/events-howto.txt: added some events
* ./modules/gui/skins/*: fixed my last commit
parent
d5ca2edf
Changes
4
Hide whitespace changes
Inline
Side-by-side
doc/skins/events-howto.txt
View file @
6a36d421
...
...
@@ -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.
modules/gui/skins/src/banks.cpp
View file @
6a36d421
...
...
@@ -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/0
4
/2
8
2
0:46:41
ipkiss Exp $
* $Id: banks.cpp,v 1.
7
2003/0
6
/2
0
2
1:34:37
ipkiss Exp $
*
* Authors: Olivier Teulire <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"
);
...
...
modules/gui/skins/src/event.cpp
View file @
6a36d421
...
...
@@ -2,7 +2,7 @@
* event.cpp: Event class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: event.cpp,v 1.1
6
2003/0
5/31 23:23:59
ipkiss Exp $
* $Id: event.cpp,v 1.1
7
2003/0
6/20 21:34:37
ipkiss Exp $
*
* Authors: Olivier Teulire <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
;
...
...
modules/gui/skins/src/event.h
View file @
6a36d421
...
...
@@ -2,7 +2,7 @@
* event.h: Event class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: event.h,v 1.
9
2003/0
5/05 16:09:40 gbazin
Exp $
* $Id: event.h,v 1.
10
2003/0
6/20 21:34:37 ipkiss
Exp $
*
* Authors: Olivier Teulire <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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment