mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 08:59:28 +02:00
Only include Audacity Logo xpms where they're actually needed; this cuts
~14MB from the Audacity binary.
This commit is contained in:
parent
a55c20be66
commit
2f4b9d2df6
@ -49,7 +49,7 @@ WX_DEFINE_LIST(AboutDialogCreditItemsList);
|
||||
#include "Theme.h"
|
||||
#include "AllThemeResources.h"
|
||||
|
||||
//#include "../images/AudacityLogo.xpm"
|
||||
#include "../images/AudacityLogoWithName.xpm"
|
||||
|
||||
void AboutDialog::CreateCreditsList()
|
||||
{
|
||||
|
@ -206,13 +206,16 @@ from there. Audacity will look for a file called "Pause.png".
|
||||
#define LOGOWITHNAME_HEIGHT 200
|
||||
//vvv For now, do the new image the old-fashioned way, not via Theme.
|
||||
// DEFINE_IMAGE(bmpAudacityLogoWithName, wxImage(LOGOWITHNAME_WIDTH, LOGOWITHNAME_HEIGHT), wxT("AudacityLogoWithName"));
|
||||
#ifndef HAVE_AUDACITYLOGOWITHNAME
|
||||
#define HAVE_AUDACITYLOGOWITHNAME
|
||||
#include "../images/AudacityLogoWithName.xpm"
|
||||
#ifdef __WXGTK__
|
||||
#include "../images/AudacityLogoAlpha.xpm"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// AWD: no sense in statically building the XPM into every file that includes
|
||||
// this one; the few that need it should include it themselves.
|
||||
//#ifndef HAVE_AUDACITYLOGOWITHNAME
|
||||
// #define HAVE_AUDACITYLOGOWITHNAME
|
||||
// #include "../images/AudacityLogoWithName.xpm"
|
||||
//#ifdef __WXGTK__
|
||||
// #include "../images/AudacityLogoAlpha.xpm"
|
||||
//#endif
|
||||
//#endif
|
||||
|
||||
DEFINE_IMAGE( bmpAudacityLogo, wxImage( 215, 190 ), wxT("AudacityLogo")); //vvv
|
||||
DEFINE_IMAGE( bmpAudacityLogo48x48, wxImage( 48, 48 ), wxT("AudacityLogo48x48"));
|
||||
|
@ -159,6 +159,8 @@ scroll information. It also has some status flags.
|
||||
|
||||
#include "CaptureEvents.h"
|
||||
|
||||
#include "../images/AudacityLogoAlpha.xpm"
|
||||
|
||||
TrackList *AudacityProject::msClipboard = new TrackList();
|
||||
double AudacityProject::msClipLen = 0.0;
|
||||
AudacityProject *AudacityProject::msClipProject = NULL;
|
||||
|
@ -42,6 +42,8 @@ most commonly asked questions about Audacity.
|
||||
#include "Prefs.h"
|
||||
#include "HelpText.h"
|
||||
|
||||
#include "../images/AudacityLogoWithName.xpm"
|
||||
|
||||
SplashDialog * SplashDialog::pSelf=NULL;
|
||||
|
||||
enum
|
||||
|
Loading…
x
Reference in New Issue
Block a user