1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/bmpmotif.h
3 // Purpose: Motif-specific bitmap routines
4 // Author: Julian Smart, originally in bitmap.h
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_BMPMOTIF_H_
13 #define _WX_BMPMOTIF_H_
16 #include "wx/bitmap.h"
18 class WXDLLIMPEXP_CORE wxBitmapCache
23 m_labelPixmap
= (WXPixmap
)NULL
;
24 m_armPixmap
= (WXPixmap
)NULL
;
25 m_insensPixmap
= (WXPixmap
)NULL
;
26 m_image
= (WXImage
)NULL
;
33 void SetColoursChanged();
34 void SetBitmap( const wxBitmap
& bitmap
);
36 WXPixmap
GetLabelPixmap( WXWidget w
);
37 WXPixmap
GetInsensPixmap( WXWidget w
= (WXWidget
)NULL
);
38 WXPixmap
GetArmPixmap( WXWidget w
);
40 void InvalidateCache();
41 void CreateImageIfNeeded( WXWidget w
);
43 WXPixmap
GetPixmapFromCache(WXWidget w
);
53 WXPixmap m_labelPixmap
, m_armPixmap
, m_insensPixmap
;
57 #endif // _WX_BMPMOTIF_H_