From d246063ae6567e74d48426ce5c7b1c54f32235bf Mon Sep 17 00:00:00 2001 From: Gildas Bazin Date: Sat, 30 Aug 2003 13:59:15 +0000 Subject: [PATCH] * include/vlc_config.h: removed unused config stuff. * include/vlc_interface.h, modules/gui/wxwindows/interface.cpp: new common INTF_ABOUT_MSG message shared by interfaces. --- include/vlc_config.h | 4 ---- include/vlc_interface.h | 13 ++++++++++++- modules/gui/wxwindows/interface.cpp | 8 +++----- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/include/vlc_config.h b/include/vlc_config.h index 693d4b3bb9..ba1c2e4c1c 100644 --- a/include/vlc_config.h +++ b/include/vlc_config.h @@ -202,10 +202,6 @@ * joined. */ #define VOUT_MAX_AREAS 5 -/* Default fonts */ -#define VOUT_DEFAULT_FONT "default8x9.psf" -#define VOUT_LARGE_FONT "default8x16.psf" - /* Statistics are displayed every n loops (=~ pictures) */ #define VOUT_STATS_NB_LOOPS 100 diff --git a/include/vlc_interface.h b/include/vlc_interface.h index 9b7c256245..90b69fbf19 100644 --- a/include/vlc_interface.h +++ b/include/vlc_interface.h @@ -4,7 +4,7 @@ * interface, such as message output. ***************************************************************************** * Copyright (C) 1999, 2000 VideoLAN - * $Id: vlc_interface.h,v 1.4 2003/07/20 10:38:49 gbazin Exp $ + * $Id: vlc_interface.h,v 1.5 2003/08/30 13:59:15 gbazin Exp $ * * Authors: Vincent Seguin * @@ -127,3 +127,14 @@ VLC_EXPORT( void, intf_Destroy, ( intf_thread_t * ) ); #define INTF_DIALOG_FILE_GENERIC 30 #define INTF_DIALOG_EXIT 99 + +/* Useful text messages shared by interfaces */ +#define INTF_ABOUT_MSG \ + _( "VLC is an open-source and cross-platform multimedia " \ + "player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, " \ + "DivX, mp3, Ogg, ...) as well as DVDs, VCDs, CD audio, and various " \ + "streaming protocols.\n\n" \ + "VLC is also a streaming server with transcoding capabilities " \ + "(UDP unicast and multicast, HTTP, ...) mainly designed for " \ + "high-bandwidth networks.\n\n"\ + "For more information, have a look at the web site." ) diff --git a/modules/gui/wxwindows/interface.cpp b/modules/gui/wxwindows/interface.cpp index 3eeb816a8d..a2c23fd537 100644 --- a/modules/gui/wxwindows/interface.cpp +++ b/modules/gui/wxwindows/interface.cpp @@ -2,7 +2,7 @@ * interface.cpp : wxWindows plugin for vlc ***************************************************************************** * Copyright (C) 2000-2001 VideoLAN - * $Id: interface.cpp,v 1.58 2003/08/28 15:59:04 gbazin Exp $ + * $Id: interface.cpp,v 1.59 2003/08/30 13:59:15 gbazin Exp $ * * Authors: Gildas Bazin * @@ -606,11 +606,9 @@ void Interface::OnAbout( wxCommandEvent& WXUNUSED(event) ) msg.Printf( wxString(wxT("VLC media player " VERSION)) + wxU(_(" (wxWindows interface)\n\n")) + wxU(_("(C) 1996-2003 - the VideoLAN Team\n\n")) + + wxU( INTF_ABOUT_MSG ) + wxT("\n\n") + wxU(_("The VideoLAN team \n" - "http://www.videolan.org/\n\n")) + - wxU(_("This is the VideoLAN Client, a DVD, MPEG and DivX player." - "\nIt can play MPEG and MPEG2 files from a file or from a " - "network source.")) ); + "http://www.videolan.org/\n\n")) ); wxMessageBox( msg, wxString::Format(wxU(_("About %s")), wxT("VLC media player")), wxOK | wxICON_INFORMATION, this ); -- 2.39.2