1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/bmpmotif.h
3 // Purpose: Motif-specific bitmap routines
4 // Author: Julian Smart, originally in bitmap.h
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_BMPMOTIF_H_
12 #define _WX_BMPMOTIF_H_
15 #include "wx/bitmap.h"
17 class WXDLLIMPEXP_CORE wxBitmapCache
22 m_labelPixmap
= (WXPixmap
)NULL
;
23 m_armPixmap
= (WXPixmap
)NULL
;
24 m_insensPixmap
= (WXPixmap
)NULL
;
25 m_image
= (WXImage
)NULL
;
32 void SetColoursChanged();
33 void SetBitmap( const wxBitmap
& bitmap
);
35 WXPixmap
GetLabelPixmap( WXWidget w
);
36 WXPixmap
GetInsensPixmap( WXWidget w
= (WXWidget
)NULL
);
37 WXPixmap
GetArmPixmap( WXWidget w
);
39 void InvalidateCache();
40 void CreateImageIfNeeded( WXWidget w
);
42 WXPixmap
GetPixmapFromCache(WXWidget w
);
52 WXPixmap m_labelPixmap
, m_armPixmap
, m_insensPixmap
;
56 #endif // _WX_BMPMOTIF_H_