26#ifndef BITMAP_TYPES_H_
27#define BITMAP_TYPES_H_
38enum class BITMAPS :
unsigned int;
79 bool aQuantized =
false );
87wxBitmap
KiScaledBitmap(
const wxBitmap& aBitmap, wxWindow* aWindow );
wxBitmap * KiBitmapNew(BITMAPS aBitmap)
Allocate a wxBitmap on heap from a memory record, held in a BITMAPS.
wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap)
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.
void ClearScaledBitmapCache()
Wipes out the scaled bitmap cache so that the icon theme can be changed.
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...
int KiIconScale(wxWindow *aWindow)
Return the automatic scale factor that would be used for a given window by KiScaledBitmap and KiScale...
BITMAP_STORE * GetBitmapStore()
wxBitmapBundle KiDisabledBitmapBundle(BITMAPS aBitmap)
BITMAPS
A list of all bitmap identifiers.
Helper to retrieve bitmaps while handling icon themes and scaling.