![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
The bitmap frame is a simple frame widget displaying an monochrome bitmap image; the bitmap is not owned by the bitmap frame so it must be explicitly deleted elsewhere. More...
#include <FXBitmapFrame.h>
Public Member Functions | |
| long | onPaint (FXObject *, FXSelector, void *ptr) |
| FXBitmapFrame (FXComposite *p, FXBitmap *bmp, FXuint opts=FRAME_SUNKEN|FRAME_THICK, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=0, FXint pr=0, FXint pt=0, FXint pb=0) | |
| Construct image frame and pass it an image. | |
| virtual void | create () |
| Create window. | |
| virtual FXint | getDefaultWidth () |
| Get default width. | |
| virtual FXint | getDefaultHeight () |
| Get default height. | |
| void | setBitmap (FXBitmap *bmp) |
| Change the image being displayed. | |
| FXBitmap * | getBitmap () const |
| Return the current image. | |
| void | setOnColor (FXColor clr) |
| Set on color. | |
| FXColor | getOnColor () const |
| Get on color. | |
| void | setOffColor (FXColor clr) |
| Set off color. | |
| FXColor | getOffColor () const |
| Get off color. | |
| void | setJustify (FXuint mode) |
| Set the current justification mode. | |
| FXuint | getJustify () const |
| Get the current justification mode. | |
| virtual void | save (FXStream &store) const |
| Save to stream. | |
| virtual void | load (FXStream &store) |
| Load from stream. | |
| virtual | ~FXBitmapFrame () |
| Destroy the widget, but do not destroy the image. | |
Protected Attributes | |
| FXBitmap * | bitmap |
| FXColor | onColor |
| FXColor | offColor |
The bitmap frame is a simple frame widget displaying an monochrome bitmap image; the bitmap is not owned by the bitmap frame so it must be explicitly deleted elsewhere.
|
|