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:
Jon Evans
2023-10-22 14:02:06 -04:00
parent 06a4bdbf4c
commit 47e25d617e
2481 changed files with 2899 additions and 106 deletions
+3 -2
View File
@@ -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 );