1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

Change some magic numbers whose original use was no longer, and get rid of some no-longer-correct comments, for clarity.

This commit is contained in:
v.audacity 2010-07-26 22:37:15 +00:00
parent 0e4aa1c6e5
commit 981366b2b6
2 changed files with 5 additions and 5 deletions

View File

@ -97,13 +97,14 @@ void SplashDialog::Populate( ShuttleGui & S )
new wxStaticBitmap(S.GetParent(), -1,
//*m_pLogo, //vvv theTheme.Bitmap(bmpAudacityLogoWithName),
RescaledBitmap,
wxDefaultPosition, wxSize(int(LOGOWITHNAME_WIDTH*fScale), int(LOGOWITHNAME_HEIGHT*fScale)));
wxDefaultPosition,
wxSize(int(LOGOWITHNAME_WIDTH*fScale), int(LOGOWITHNAME_HEIGHT*fScale)));
S.Prop(0).AddWindow( m_pIcon );
mpHtml = new LinkingHtmlWindow(S.GetParent(), -1,
wxDefaultPosition,
wxSize(LOGOWITHNAME_WIDTH, 280),
wxSize(506, 280),
wxHW_SCROLLBAR_AUTO | wxSUNKEN_BORDER );
mpHtml->SetPage(HelpText( wxT("welcome") ));
S.Prop(1).AddWindow( mpHtml, wxEXPAND );

View File

@ -532,9 +532,8 @@ SourceOutputStream::~SourceOutputStream()
}
// Must be wide enough for AudacityLogoWithName. Use double width + 10.
//vvv const int ImageCacheWidth = (2 * LOGOWITHNAME_WIDTH) + 10;
const int ImageCacheWidth = 440;// Must be wide enough for AudacityLogo which is 215, use double width.
// Must be wide enough for bmpAudacityLogo. Use double width + 10.
const int ImageCacheWidth = 440;
const int ImageCacheHeight = 836;