1 /////////////////////////////////////////////////////////////////////////////
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_
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "bmpmotif.h"
20 #include "wx/bitmap.h"
22 class WXDLLEXPORT wxBitmapCache
27 m_labelPixmap
= (WXPixmap
)NULL
;
28 m_armPixmap
= (WXPixmap
)NULL
;
29 m_insensPixmap
= (WXPixmap
)NULL
;
30 m_image
= (WXImage
)NULL
;
31 m_display
= (WXDisplay
*)NULL
;
37 void SetColoursChanged();
38 void SetBitmap( const wxBitmap
& bitmap
);
40 WXPixmap
GetLabelPixmap( WXWidget w
);
41 WXPixmap
GetInsensPixmap( WXWidget w
= (WXWidget
)NULL
);
42 WXPixmap
GetArmPixmap( WXWidget w
);
44 void InvalidateCache();
45 void CreateImageIfNeeded( WXWidget w
);
47 WXPixmap
GetPixmapFromCache(WXWidget w
);
57 WXPixmap m_labelPixmap
, m_armPixmap
, m_insensPixmap
;
61 #endif // _WX_BMPMOTIF_H_