Udo Richter <udo underscore richter at gmx dot de> - Trancode padding / cropping
Valek Filippov <frob at df.ru> - Russian 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)
Vitalijus Slavinskas <Vitalijus.Slavinskas at stud.ktu dot lt> - nsv patches
Vitaly V. Bursov <vitalyvb at ukr dot net>
#include <wx/splitter.h>
+#include <wx/utils.h> /* wxLaunchDefaultBrowser() */
+
/* include the toolbar graphics */
#include "bitmaps/play.xpm"
#include "bitmaps/pause.xpm"
* this standard value as otherwise it won't be handled properly under Mac
* (where it is special and put into the "Apple" menu) */
About_Event = wxID_ABOUT,
+ OnWebLink_Event,
+ OnWebHelp_Event,
UpdateVLC_Event,
VLM_Event,
/* Menu events */
EVT_MENU(Exit_Event, Interface::OnExit)
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(VLM_Event, Interface::OnShowDialog)
/* Create the "Help" menu */
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->AppendSeparator();
help_menu->Append( UpdateVLC_Event, wxU(_("Check for Updates...")) );
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 )
{
if( p_intf->p_sys->pf_show_dialog )