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
e19c47d2
Commit
e19c47d2
authored
Nov 12, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply online help patch from Vincent Dimar.
parent
8810db47
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
THANKS
THANKS
+1
-0
modules/gui/wxwidgets/interface.cpp
modules/gui/wxwidgets/interface.cpp
+19
-0
No files found.
THANKS
View file @
e19c47d2
...
@@ -160,6 +160,7 @@ Tong Ka Man <kmtong at cwbase dot com> - playlist_Clear addition
...
@@ -160,6 +160,7 @@ Tong Ka Man <kmtong at cwbase dot com> - playlist_Clear addition
Udo Richter <udo underscore richter at gmx dot de> - Trancode padding / cropping
Udo Richter <udo underscore richter at gmx dot de> - Trancode padding / cropping
Valek Filippov <frob at df.ru> - Russian translation
Valek Filippov <frob at df.ru> - Russian translation
Vicente Jimenez Aguilar <vice at v1ce.net> - Spanish translation
Vicente Jimenez Aguilar <vice at v1ce.net> - Spanish translation
Vincent Dimar - WxWidgets online help patch
Vincent van den Heuvel <heuvel@mac.com> - OSX about window artwork (v0.8.4)
Vincent van den Heuvel <heuvel@mac.com> - OSX about window artwork (v0.8.4)
Vitalijus Slavinskas <Vitalijus.Slavinskas at stud.ktu dot lt> - nsv patches
Vitalijus Slavinskas <Vitalijus.Slavinskas at stud.ktu dot lt> - nsv patches
Vitaly V. Bursov <vitalyvb at ukr dot net>
Vitaly V. Bursov <vitalyvb at ukr dot net>
...
...
modules/gui/wxwidgets/interface.cpp
View file @
e19c47d2
...
@@ -40,6 +40,8 @@
...
@@ -40,6 +40,8 @@
#include <wx/splitter.h>
#include <wx/splitter.h>
#include <wx/utils.h>
/* wxLaunchDefaultBrowser() */
/* include the toolbar graphics */
/* include the toolbar graphics */
#include "bitmaps/play.xpm"
#include "bitmaps/play.xpm"
#include "bitmaps/pause.xpm"
#include "bitmaps/pause.xpm"
...
@@ -296,6 +298,8 @@ enum
...
@@ -296,6 +298,8 @@ enum
* this standard value as otherwise it won't be handled properly under Mac
* this standard value as otherwise it won't be handled properly under Mac
* (where it is special and put into the "Apple" menu) */
* (where it is special and put into the "Apple" menu) */
About_Event
=
wxID_ABOUT
,
About_Event
=
wxID_ABOUT
,
OnWebLink_Event
,
OnWebHelp_Event
,
UpdateVLC_Event
,
UpdateVLC_Event
,
VLM_Event
,
VLM_Event
,
...
@@ -308,6 +312,8 @@ BEGIN_EVENT_TABLE(Interface, wxFrame)
...
@@ -308,6 +312,8 @@ BEGIN_EVENT_TABLE(Interface, wxFrame)
/* Menu events */
/* Menu events */
EVT_MENU
(
Exit_Event
,
Interface
::
OnExit
)
EVT_MENU
(
Exit_Event
,
Interface
::
OnExit
)
EVT_MENU
(
About_Event
,
Interface
::
OnAbout
)
EVT_MENU
(
About_Event
,
Interface
::
OnAbout
)
EVT_MENU
(
OnWebLink_Event
,
Interface
::
OnWebLink
)
EVT_MENU
(
OnWebHelp_Event
,
Interface
::
OnWebHelp
)
EVT_MENU
(
UpdateVLC_Event
,
Interface
::
OnShowDialog
)
EVT_MENU
(
UpdateVLC_Event
,
Interface
::
OnShowDialog
)
EVT_MENU
(
VLM_Event
,
Interface
::
OnShowDialog
)
EVT_MENU
(
VLM_Event
,
Interface
::
OnShowDialog
)
...
@@ -605,6 +611,9 @@ void Interface::CreateOurMenuBar()
...
@@ -605,6 +611,9 @@ void Interface::CreateOurMenuBar()
/* Create the "Help" menu */
/* Create the "Help" menu */
wxMenu
*
help_menu
=
new
wxMenu
;
wxMenu
*
help_menu
=
new
wxMenu
;
help_menu
->
Append
(
OnWebLink_Event
,
wxU
(
_
(
"VideoLAN's Website"
))
);
help_menu
->
Append
(
OnWebHelp_Event
,
wxU
(
_
(
"Online Help"
))
);
help_menu
->
AppendSeparator
();
help_menu
->
Append
(
About_Event
,
wxU
(
_
(
"About..."
))
);
help_menu
->
Append
(
About_Event
,
wxU
(
_
(
"About..."
))
);
help_menu
->
AppendSeparator
();
help_menu
->
AppendSeparator
();
help_menu
->
Append
(
UpdateVLC_Event
,
wxU
(
_
(
"Check for Updates..."
))
);
help_menu
->
Append
(
UpdateVLC_Event
,
wxU
(
_
(
"Check for Updates..."
))
);
...
@@ -955,6 +964,16 @@ void Interface::OnAbout( wxCommandEvent& WXUNUSED(event) )
...
@@ -955,6 +964,16 @@ void Interface::OnAbout( wxCommandEvent& WXUNUSED(event) )
wxT
(
"VLC media player"
)),
wxOK
|
wxICON_INFORMATION
,
this
);
wxT
(
"VLC media player"
)),
wxOK
|
wxICON_INFORMATION
,
this
);
}
}
void
Interface
::
OnWebLink
(
wxCommandEvent
&
WXUNUSED
(
event
)
)
{
wxLaunchDefaultBrowser
(
wxU
(
"http://videolan.org/"
)
);
}
void
Interface
::
OnWebHelp
(
wxCommandEvent
&
WXUNUSED
(
event
)
)
{
wxLaunchDefaultBrowser
(
wxU
(
"http://videolan.org/doc/"
)
);
}
void
Interface
::
OnShowDialog
(
wxCommandEvent
&
event
)
void
Interface
::
OnShowDialog
(
wxCommandEvent
&
event
)
{
{
if
(
p_intf
->
p_sys
->
pf_show_dialog
)
if
(
p_intf
->
p_sys
->
pf_show_dialog
)
...
...
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