#include <CUIBitmap.h>
Inheritance diagram for CUIBitmap:
Public Types | |
typedef unsigned int | EBitmapOptions |
enum | EBitmapOption { KFreeBitmap = 0x01, KCenterBitmapX = 0x02, KCenterBitmapY = 0x04, KDefaultOptions = KFreeBitmap | KCenterBitmapX } |
Public Member Functions | |
CUIBitmap (const CUIRect &aRectangle, const char *aTitle, MImage *aImage) | |
Creates CUIBitmap object. | |
virtual void | Draw () |
Draws this widget on the virtual screen. | |
Public Attributes | |
MImage * | iImage |
EBitmapOptions | iOptions |
The image transparency depends from the image and the title is always drawn as CUILabel does.
Normally, CUIBitmap deletes its iImage unless KFreeBitmap flag is reset in its iOptions.
|
Drawing options set |
|
|
|
Creates CUIBitmap object.
|
|
Draws this widget on the virtual screen. The library does not provide any clipping mechanism, so the widget is completely responsible for drawing in its iRectangle. If the widget should be drawn fully or partially transparently over its iParent, it should call iParent->RestoreBackground() for every transparent region Reimplemented from CUILabel. |
|
Pointer to image to draw |
|
Drawing options |