Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
b9ea8dc5
Commit
b9ea8dc5
authored
Sep 05, 2003
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* new event VLC_NET to open the network dialog ( "net" keyword in the
xml file)
parent
3cfe6592
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
6 deletions
+23
-6
modules/gui/skins/src/banks.cpp
modules/gui/skins/src/banks.cpp
+2
-1
modules/gui/skins/src/dialogs.cpp
modules/gui/skins/src/dialogs.cpp
+8
-1
modules/gui/skins/src/dialogs.h
modules/gui/skins/src/dialogs.h
+2
-1
modules/gui/skins/src/event.cpp
modules/gui/skins/src/event.cpp
+3
-1
modules/gui/skins/src/event.h
modules/gui/skins/src/event.h
+2
-1
modules/gui/skins/src/vlcproc.cpp
modules/gui/skins/src/vlcproc.cpp
+6
-1
No files found.
modules/gui/skins/src/banks.cpp
View file @
b9ea8dc5
...
...
@@ -2,7 +2,7 @@
* banks.cpp: Bitmap bank, Event bank, Font bank and OffSet bank
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: banks.cpp,v 1.
8 2003/07/23 17:31:24 ipkiss
Exp $
* $Id: banks.cpp,v 1.
9 2003/09/05 15:55:30 asmax
Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -180,6 +180,7 @@ EventBank::EventBank( intf_thread_t *_p_intf )
Add
(
"quit"
,
"VLC_HIDE(VLC_QUIT)"
,
"CTRL+C"
);
Add
(
"open"
,
"VLC_OPEN"
,
"CTRL+O"
);
Add
(
"net"
,
"VLC_NET"
,
"CTRL+N"
);
Add
(
"add_file"
,
"VLC_PLAYLIST_ADD_FILE"
,
"CTRL+A"
);
Add
(
"load_skin"
,
"VLC_LOAD_SKIN"
,
"CTRL+S"
);
}
...
...
modules/gui/skins/src/dialogs.cpp
View file @
b9ea8dc5
...
...
@@ -2,7 +2,7 @@
* dialogs.cpp: Handles all the different dialog boxes we provide.
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: dialogs.cpp,v 1.1
3 2003/08/28 15:59:04 gbazin
Exp $
* $Id: dialogs.cpp,v 1.1
4 2003/09/05 15:55:30 asmax
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -103,6 +103,13 @@ void Dialogs::ShowOpen( bool b_play )
(
int
)
b_play
,
0
);
}
void
Dialogs
::
ShowNet
()
{
if
(
p_provider
&&
p_provider
->
pf_show_dialog
)
p_provider
->
pf_show_dialog
(
p_provider
,
INTF_DIALOG_NET
,
0
,
0
);
}
static
void
ShowOpenSkinCallback
(
intf_dialog_args_t
*
p_arg
)
{
if
(
p_arg
->
i_results
)
...
...
modules/gui/skins/src/dialogs.h
View file @
b9ea8dc5
...
...
@@ -2,7 +2,7 @@
* dialogs.h: Dialogs class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: dialogs.h,v 1.
9 2003/08/28 15:59:04 gbazin
Exp $
* $Id: dialogs.h,v 1.
10 2003/09/05 15:55:30 asmax
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -46,6 +46,7 @@ class Dialogs
virtual
~
Dialogs
();
void
ShowOpen
(
bool
b_play
);
void
ShowNet
();
void
ShowOpenSkin
(
bool
b_block
);
void
ShowMessages
();
void
ShowPrefs
();
...
...
modules/gui/skins/src/event.cpp
View file @
b9ea8dc5
...
...
@@ -2,7 +2,7 @@
* event.cpp: Event class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: event.cpp,v 1.2
0 2003/07/20 20:42:23 ipkiss
Exp $
* $Id: event.cpp,v 1.2
1 2003/09/05 15:55:30 asmax
Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -112,6 +112,8 @@ unsigned int Event::GetMessageType( string Desc )
return
VLC_HIDE
;
else
if
(
Desc
==
"VLC_OPEN"
)
return
VLC_OPEN
;
else
if
(
Desc
==
"VLC_NET"
)
return
VLC_NET
;
else
if
(
Desc
==
"VLC_LOAD_SKIN"
)
return
VLC_LOAD_SKIN
;
else
if
(
Desc
==
"VLC_CHANGE_TRAY"
)
...
...
modules/gui/skins/src/event.h
View file @
b9ea8dc5
...
...
@@ -2,7 +2,7 @@
* event.h: Event class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: event.h,v 1.1
3 2003/07/20 20:42:23 ipkiss
Exp $
* $Id: event.h,v 1.1
4 2003/09/05 15:55:30 asmax
Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -59,6 +59,7 @@ using namespace std;
#define VLC_OPEN (VLC_MESSAGE + 5)
#define VLC_LOAD_SKIN (VLC_MESSAGE + 6)
#define VLC_DROP (VLC_MESSAGE + 7)
#define VLC_NET (VLC_MESSAGE + 8)
#define VLC_LOG_SHOW (VLC_MESSAGE + 20)
#define VLC_PREFS_SHOW (VLC_MESSAGE + 23)
...
...
modules/gui/skins/src/vlcproc.cpp
View file @
b9ea8dc5
...
...
@@ -2,7 +2,7 @@
* vlcproc.cpp: VlcProc class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: vlcproc.cpp,v 1.4
3 2003/07/23 01:13:47 gbazin
Exp $
* $Id: vlcproc.cpp,v 1.4
4 2003/09/05 15:55:30 asmax
Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -117,6 +117,11 @@ bool VlcProc::EventProc( Event *evt )
InterfaceRefresh
();
return
true
;
case
VLC_NET
:
p_intf
->
p_sys
->
p_dialogs
->
ShowNet
();
InterfaceRefresh
();
return
true
;
case
VLC_LOAD_SKIN
:
LoadSkin
();
return
true
;
...
...
Write
Preview
Markdown
is supported
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