24 #ifndef FXBITMAPVIEW_H
25 #define FXBITMAPVIEW_H
27 #ifndef FXSCROLLAREA_H
82 virtual void create();
85 virtual void detach();
88 virtual void layout();
91 virtual bool canFocus()
const;
94 virtual FXint getContentWidth();
97 virtual FXint getContentHeight();
103 FXBitmap* getBitmap()
const {
return bitmap; }
109 FXColor getOnColor()
const {
return onColor; }
115 FXColor getOffColor()
const {
return offColor; }
118 void setAlignment(
FXuint mode);
121 FXuint getAlignment()
const;
124 virtual void save(FXStream& store)
const;
127 virtual void load(FXStream& store);
130 virtual ~FXBitmapView();
A Bitmap is a rectangular array of pixels.
Definition: FXBitmap.h:64
Definition: FXWindow.h:241
unsigned int FXuint
Definition: fxdefs.h:389
FXuint FXSelector
Association key.
Definition: FXObject.h:53
Normal mode is centered.
Definition: FXBitmapView.h:41
#define FXAPI
Definition: fxdefs.h:122
Base composite.
Definition: FXComposite.h:35
#define NULL
Definition: fxdefs.h:41
FXuint FXColor
Definition: fxdefs.h:447
Top-aligned.
Definition: FXBitmapView.h:46
The Bitmap View widget display a scrollable view of a monochrome bitmap image; the bitmap is not owne...
Definition: FXBitmapView.h:60
Centered horizontally.
Definition: FXBitmapView.h:42
Bottom-aligned.
Definition: FXBitmapView.h:47
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:390
Centered vertically.
Definition: FXBitmapView.h:45
Left-aligned.
Definition: FXBitmapView.h:43
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
Right-aligned.
Definition: FXBitmapView.h:44
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92