mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 17:09:26 +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 "Theme.h"
|
||||||
#include "AllThemeResources.h"
|
#include "AllThemeResources.h"
|
||||||
|
|
||||||
//#include "../images/AudacityLogo.xpm"
|
#include "../images/AudacityLogoWithName.xpm"
|
||||||
|
|
||||||
void AboutDialog::CreateCreditsList()
|
void AboutDialog::CreateCreditsList()
|
||||||
{
|
{
|
||||||
|
@ -206,13 +206,16 @@ from there. Audacity will look for a file called "Pause.png".
|
|||||||
#define LOGOWITHNAME_HEIGHT 200
|
#define LOGOWITHNAME_HEIGHT 200
|
||||||
//vvv For now, do the new image the old-fashioned way, not via Theme.
|
//vvv For now, do the new image the old-fashioned way, not via Theme.
|
||||||
// DEFINE_IMAGE(bmpAudacityLogoWithName, wxImage(LOGOWITHNAME_WIDTH, LOGOWITHNAME_HEIGHT), wxT("AudacityLogoWithName"));
|
// DEFINE_IMAGE(bmpAudacityLogoWithName, wxImage(LOGOWITHNAME_WIDTH, LOGOWITHNAME_HEIGHT), wxT("AudacityLogoWithName"));
|
||||||
#ifndef HAVE_AUDACITYLOGOWITHNAME
|
|
||||||
#define HAVE_AUDACITYLOGOWITHNAME
|
// AWD: no sense in statically building the XPM into every file that includes
|
||||||
#include "../images/AudacityLogoWithName.xpm"
|
// this one; the few that need it should include it themselves.
|
||||||
#ifdef __WXGTK__
|
//#ifndef HAVE_AUDACITYLOGOWITHNAME
|
||||||
#include "../images/AudacityLogoAlpha.xpm"
|
// #define HAVE_AUDACITYLOGOWITHNAME
|
||||||
#endif
|
// #include "../images/AudacityLogoWithName.xpm"
|
||||||
#endif
|
//#ifdef __WXGTK__
|
||||||
|
// #include "../images/AudacityLogoAlpha.xpm"
|
||||||
|
//#endif
|
||||||
|
//#endif
|
||||||
|
|
||||||
DEFINE_IMAGE( bmpAudacityLogo, wxImage( 215, 190 ), wxT("AudacityLogo")); //vvv
|
DEFINE_IMAGE( bmpAudacityLogo, wxImage( 215, 190 ), wxT("AudacityLogo")); //vvv
|
||||||
DEFINE_IMAGE( bmpAudacityLogo48x48, wxImage( 48, 48 ), wxT("AudacityLogo48x48"));
|
DEFINE_IMAGE( bmpAudacityLogo48x48, wxImage( 48, 48 ), wxT("AudacityLogo48x48"));
|
||||||
|
@ -159,6 +159,8 @@ scroll information. It also has some status flags.
|
|||||||
|
|
||||||
#include "CaptureEvents.h"
|
#include "CaptureEvents.h"
|
||||||
|
|
||||||
|
#include "../images/AudacityLogoAlpha.xpm"
|
||||||
|
|
||||||
TrackList *AudacityProject::msClipboard = new TrackList();
|
TrackList *AudacityProject::msClipboard = new TrackList();
|
||||||
double AudacityProject::msClipLen = 0.0;
|
double AudacityProject::msClipLen = 0.0;
|
||||||
AudacityProject *AudacityProject::msClipProject = NULL;
|
AudacityProject *AudacityProject::msClipProject = NULL;
|
||||||
|
@ -42,6 +42,8 @@ most commonly asked questions about Audacity.
|
|||||||
#include "Prefs.h"
|
#include "Prefs.h"
|
||||||
#include "HelpText.h"
|
#include "HelpText.h"
|
||||||
|
|
||||||
|
#include "../images/AudacityLogoWithName.xpm"
|
||||||
|
|
||||||
SplashDialog * SplashDialog::pSelf=NULL;
|
SplashDialog * SplashDialog::pSelf=NULL;
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
Loading…
x
Reference in New Issue
Block a user