26#ifndef BITMAP_TYPES_H_ 
   27#define BITMAP_TYPES_H_ 
   40enum class BITMAPS : 
unsigned int;
 
   81                                      bool aQuantized = 
false );
 
KICOMMON_API wxBitmapBundle KiDisabledBitmapBundle(BITMAPS aBitmap)
 
KICOMMON_API void ClearScaledBitmapCache()
Wipes out the scaled bitmap cache so that the icon theme can be changed.
 
KICOMMON_API int KiIconScale(wxWindow *aWindow)
Return the automatic scale factor that would be used for a given window by KiScaledBitmap and KiScale...
 
KICOMMON_API BITMAP_STORE * GetBitmapStore()
 
KICOMMON_API wxBitmap KiScaledBitmap(BITMAPS aBitmap, wxWindow *aWindow, int aHeight=-1, bool aQuantized=false)
Construct a wxBitmap from a memory record, scaling it if device DPI demands it.
 
KICOMMON_API wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap, int aMinHeight=-1)
 
KICOMMON_API wxBitmap KiBitmap(BITMAPS aBitmap, int aHeightTag=-1)
Construct a wxBitmap from an image identifier Returns the image from the active theme if the image ha...
 
KICOMMON_API wxBitmap * KiBitmapNew(BITMAPS aBitmap)
Allocate a wxBitmap on heap from a memory record, held in a BITMAPS.
 
BITMAPS
A list of all bitmap identifiers.
 
Helper to retrieve bitmaps while handling icon themes and scaling.