21 #ifndef FXBITMAPVIEW_H 22 #define FXBITMAPVIEW_H 24 #ifndef FXSCROLLAREA_H 25 #include "FXScrollArea.h" 35 BITMAPVIEW_NORMAL = 0,
36 BITMAPVIEW_CENTER_X = 0,
37 BITMAPVIEW_LEFT = 0x00100000,
38 BITMAPVIEW_RIGHT = 0x00200000,
39 BITMAPVIEW_CENTER_Y = 0,
40 BITMAPVIEW_TOP = 0x00400000,
41 BITMAPVIEW_BOTTOM = 0x00800000
64 long onPaint(
FXObject*,FXSelector,
void*);
65 long onMotion(
FXObject*,FXSelector,
void*);
66 long onRightBtnPress(
FXObject*,FXSelector,
void*);
67 long onRightBtnRelease(
FXObject*,FXSelector,
void*);
70 ID_XYZ=FXScrollArea::ID_LAST,
79 virtual void create();
82 virtual void detach();
85 virtual void layout();
88 virtual FXbool canFocus()
const;
91 virtual FXint getContentWidth();
94 virtual FXint getContentHeight();
103 void setOnColor(FXColor clr);
109 void setOffColor(FXColor clr);
115 void setAlignment(FXuint mode);
118 FXuint getAlignment()
const;
121 virtual void save(
FXStream& store)
const;
FXColor getOffColor() const
Get off color.
Definition: FXBitmapView.h:112
A Bitmap is a rectangular array of pixels.
Definition: FXBitmap.h:55
Base composite.
Definition: FXComposite.h:32
The Bitmap View widget display a scrollable view of a monochrome bitmap image; the bitmap is not owne...
Definition: FXBitmapView.h:50
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
FXColor getOnColor() const
Get on color.
Definition: FXBitmapView.h:106
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
FXBitmap * getBitmap() const
Return image.
Definition: FXBitmapView.h:100