ADDED: Icon scaling for toolbars only
Unlike the old "icon scale" (that actually scaled all bitmaps) this one actually changes the toolbar size while making use of the new bitmap bundle functionality Add more resolutions for all tool icon bitmaps Wouldn't want Mark's eyes to bleed
This commit is contained in:
@@ -146,8 +146,9 @@ wxBitmapBundle BITMAP_STORE::GetDisabledBitmapBundle( BITMAPS aBitmapId )
|
||||
if( info.theme != m_theme )
|
||||
continue;
|
||||
|
||||
bmps.push_back( wxBitmap( getImage( info.id, info.height ) )
|
||||
.ConvertToDisabled( KIPLATFORM::UI::IsDarkTheme() ? 70 : 255 ) );
|
||||
wxBitmap bmp( getImage( info.id, info.height )
|
||||
.ConvertToDisabled( KIPLATFORM::UI::IsDarkTheme() ? 70 : 255 ) );
|
||||
bmps.push_back( bmp );
|
||||
}
|
||||
|
||||
return wxBitmapBundle::FromBitmaps( bmps );
|
||||
|
||||
Reference in New Issue
Block a user