mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Regularize casts as (int), so they are easier to find and review
This commit is contained in:
@@ -91,14 +91,14 @@ void SplashDialog::Populate( ShuttleGui & S )
|
||||
const float fScale=0.5f;// smaller size.
|
||||
wxImage RescaledImage( m_pLogo->ConvertToImage() );
|
||||
// wxIMAGE_QUALITY_HIGH not supported by wxWidgets 2.6.1, or we would use it here.
|
||||
RescaledImage.Rescale( int(LOGOWITHNAME_WIDTH * fScale), int(LOGOWITHNAME_HEIGHT *fScale) );
|
||||
RescaledImage.Rescale( (int)(LOGOWITHNAME_WIDTH * fScale), (int)(LOGOWITHNAME_HEIGHT *fScale) );
|
||||
wxBitmap RescaledBitmap( RescaledImage );
|
||||
wxStaticBitmap *const icon =
|
||||
safenew wxStaticBitmap(S.GetParent(), -1,
|
||||
//*m_pLogo, //v theTheme.Bitmap(bmpAudacityLogoWithName),
|
||||
RescaledBitmap,
|
||||
wxDefaultPosition,
|
||||
wxSize(int(LOGOWITHNAME_WIDTH*fScale), int(LOGOWITHNAME_HEIGHT*fScale)));
|
||||
wxSize((int)(LOGOWITHNAME_WIDTH*fScale), (int)(LOGOWITHNAME_HEIGHT*fScale)));
|
||||
|
||||
S.Prop(0).AddWindow( icon );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user