From 981366b2b6451819b3d3ebbde0d2eaa828674bbc Mon Sep 17 00:00:00 2001 From: "v.audacity" Date: Mon, 26 Jul 2010 22:37:15 +0000 Subject: [PATCH] Change some magic numbers whose original use was no longer, and get rid of some no-longer-correct comments, for clarity. --- src/SplashDialog.cpp | 5 +++-- src/Theme.cpp | 5 ++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/SplashDialog.cpp b/src/SplashDialog.cpp index 08ced23c3..771f99e50 100644 --- a/src/SplashDialog.cpp +++ b/src/SplashDialog.cpp @@ -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 ); diff --git a/src/Theme.cpp b/src/Theme.cpp index 45dedd0c9..7b815ae97 100644 --- a/src/Theme.cpp +++ b/src/Theme.cpp @@ -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;