Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
11bfb464
Commit
11bfb464
authored
Apr 18, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add separate audio and video popup menus
parent
9f750249
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
295 additions
and
276 deletions
+295
-276
bindings/java/org/videolan/jvlc/VideoIntf.java
bindings/java/org/videolan/jvlc/VideoIntf.java
+1
-1
include/vlc_interface.h
include/vlc_interface.h
+3
-0
modules/gui/wxwidgets/dialogs.cpp
modules/gui/wxwidgets/dialogs.cpp
+27
-0
modules/gui/wxwidgets/interface.hpp
modules/gui/wxwidgets/interface.hpp
+3
-0
modules/gui/wxwidgets/menus.cpp
modules/gui/wxwidgets/menus.cpp
+261
-275
No files found.
bindings/java/org/videolan/jvlc/VideoIntf.java
View file @
11bfb464
/*
/*
* Created on 28-feb-2006
* Created on 28-feb-2006
*
*
* $Id
: VideoIntf.java 8 2006-02-28 12:03:47Z little
$
* $Id$
*
*
* This program is free software; you can redistribute it
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* and/or modify it under the terms of the GNU General Public License
...
...
include/vlc_interface.h
View file @
11bfb464
...
@@ -162,6 +162,9 @@ VLC_EXPORT( void, intf_Destroy, ( intf_thread_t * ) );
...
@@ -162,6 +162,9 @@ VLC_EXPORT( void, intf_Destroy, ( intf_thread_t * ) );
#define INTF_DIALOG_BOOKMARKS 14
#define INTF_DIALOG_BOOKMARKS 14
#define INTF_DIALOG_POPUPMENU 20
#define INTF_DIALOG_POPUPMENU 20
#define INTF_DIALOG_AUDIOPOPUPMENU 21
#define INTF_DIALOG_VIDEOPOPUPMENU 22
#define INTF_DIALOG_MISCPOPUPMENU 23
#define INTF_DIALOG_FILE_GENERIC 30
#define INTF_DIALOG_FILE_GENERIC 30
#define INTF_DIALOG_INTERACTION 50
#define INTF_DIALOG_INTERACTION 50
...
...
modules/gui/wxwidgets/dialogs.cpp
View file @
11bfb464
...
@@ -84,6 +84,9 @@ private:
...
@@ -84,6 +84,9 @@ private:
void
OnOpenSat
(
wxCommandEvent
&
event
);
void
OnOpenSat
(
wxCommandEvent
&
event
);
void
OnPopupMenu
(
wxCommandEvent
&
event
);
void
OnPopupMenu
(
wxCommandEvent
&
event
);
void
OnAudioPopupMenu
(
wxCommandEvent
&
event
);
void
OnVideoPopupMenu
(
wxCommandEvent
&
event
);
void
OnMiscPopupMenu
(
wxCommandEvent
&
event
);
void
OnIdle
(
wxIdleEvent
&
event
);
void
OnIdle
(
wxIdleEvent
&
event
);
...
@@ -140,8 +143,16 @@ BEGIN_EVENT_TABLE(DialogsProvider, wxFrame)
...
@@ -140,8 +143,16 @@ BEGIN_EVENT_TABLE(DialogsProvider, wxFrame)
DialogsProvider
::
OnFileInfo
)
DialogsProvider
::
OnFileInfo
)
EVT_COMMAND
(
INTF_DIALOG_BOOKMARKS
,
wxEVT_DIALOG
,
EVT_COMMAND
(
INTF_DIALOG_BOOKMARKS
,
wxEVT_DIALOG
,
DialogsProvider
::
OnBookmarks
)
DialogsProvider
::
OnBookmarks
)
EVT_COMMAND
(
INTF_DIALOG_POPUPMENU
,
wxEVT_DIALOG
,
EVT_COMMAND
(
INTF_DIALOG_POPUPMENU
,
wxEVT_DIALOG
,
DialogsProvider
::
OnPopupMenu
)
DialogsProvider
::
OnPopupMenu
)
EVT_COMMAND
(
INTF_DIALOG_AUDIOPOPUPMENU
,
wxEVT_DIALOG
,
DialogsProvider
::
OnAudioPopupMenu
)
EVT_COMMAND
(
INTF_DIALOG_VIDEOPOPUPMENU
,
wxEVT_DIALOG
,
DialogsProvider
::
OnVideoPopupMenu
)
EVT_COMMAND
(
INTF_DIALOG_MISCPOPUPMENU
,
wxEVT_DIALOG
,
DialogsProvider
::
OnMiscPopupMenu
)
EVT_COMMAND
(
INTF_DIALOG_EXIT
,
wxEVT_DIALOG
,
EVT_COMMAND
(
INTF_DIALOG_EXIT
,
wxEVT_DIALOG
,
DialogsProvider
::
OnExitThread
)
DialogsProvider
::
OnExitThread
)
EVT_COMMAND
(
INTF_DIALOG_UPDATEVLC
,
wxEVT_DIALOG
,
EVT_COMMAND
(
INTF_DIALOG_UPDATEVLC
,
wxEVT_DIALOG
,
...
@@ -508,6 +519,22 @@ void DialogsProvider::OnPopupMenu( wxCommandEvent& event )
...
@@ -508,6 +519,22 @@ void DialogsProvider::OnPopupMenu( wxCommandEvent& event )
::
PopupMenu
(
p_intf
,
this
,
mousepos
);
::
PopupMenu
(
p_intf
,
this
,
mousepos
);
}
}
void
DialogsProvider
::
OnAudioPopupMenu
(
wxCommandEvent
&
event
)
{
wxPoint
mousepos
=
ScreenToClient
(
wxGetMousePosition
()
);
::
AudioPopupMenu
(
p_intf
,
this
,
mousepos
);
}
void
DialogsProvider
::
OnVideoPopupMenu
(
wxCommandEvent
&
event
)
{
wxPoint
mousepos
=
ScreenToClient
(
wxGetMousePosition
()
);
::
VideoPopupMenu
(
p_intf
,
this
,
mousepos
);
}
void
DialogsProvider
::
OnMiscPopupMenu
(
wxCommandEvent
&
event
)
{
wxPoint
mousepos
=
ScreenToClient
(
wxGetMousePosition
()
);
::
MiscPopupMenu
(
p_intf
,
this
,
mousepos
);
}
void
DialogsProvider
::
OnExitThread
(
wxCommandEvent
&
WXUNUSED
(
event
)
)
void
DialogsProvider
::
OnExitThread
(
wxCommandEvent
&
WXUNUSED
(
event
)
)
{
{
wxTheApp
->
ExitMainLoop
();
wxTheApp
->
ExitMainLoop
();
...
...
modules/gui/wxwidgets/interface.hpp
View file @
11bfb464
...
@@ -239,6 +239,9 @@ namespace wxvlc
...
@@ -239,6 +239,9 @@ namespace wxvlc
};
};
void
PopupMenu
(
intf_thread_t
*
,
wxWindow
*
,
const
wxPoint
&
);
void
PopupMenu
(
intf_thread_t
*
,
wxWindow
*
,
const
wxPoint
&
);
void
AudioPopupMenu
(
intf_thread_t
*
,
wxWindow
*
,
const
wxPoint
&
);
void
VideoPopupMenu
(
intf_thread_t
*
,
wxWindow
*
,
const
wxPoint
&
);
void
MiscPopupMenu
(
intf_thread_t
*
,
wxWindow
*
,
const
wxPoint
&
);
wxMenu
*
SettingsMenu
(
intf_thread_t
*
,
wxWindow
*
,
wxMenu
*
=
NULL
);
wxMenu
*
SettingsMenu
(
intf_thread_t
*
,
wxWindow
*
,
wxMenu
*
=
NULL
);
wxMenu
*
AudioMenu
(
intf_thread_t
*
,
wxWindow
*
,
wxMenu
*
=
NULL
);
wxMenu
*
AudioMenu
(
intf_thread_t
*
,
wxWindow
*
,
wxMenu
*
=
NULL
);
wxMenu
*
VideoMenu
(
intf_thread_t
*
,
wxWindow
*
,
wxMenu
*
=
NULL
);
wxMenu
*
VideoMenu
(
intf_thread_t
*
,
wxWindow
*
,
wxMenu
*
=
NULL
);
...
...
modules/gui/wxwidgets/menus.cpp
View file @
11bfb464
This diff is collapsed.
Click to expand it.
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