MCPcopy Create free account
hub / github.com/audacity/audacity / ReplaceImage

Method ReplaceImage

libraries/lib-theme/Theme.cpp:1268–1272  ·  view source on GitHub ↗

Replaces both the image and the bitmap.

Source from the content-addressed store, hash-verified

1266
1267/// Replaces both the image and the bitmap.
1268void ThemeBase::ReplaceImage( int iIndex, wxImage * pImage )
1269{
1270 Image( iIndex ) = *pImage;
1271 Bitmap( iIndex ) = wxBitmap( *pImage );
1272}
1273
1274void ThemeBase::RotateImageInto( int iTo, int iFrom, bool bClockwise )
1275{

Callers 1

MakeMacRecoloredImageMethod · 0.80

Calls 1

wxBitmapClass · 0.70

Tested by

no test coverage detected