![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXBitmapFrame.h>
Public Member Functions | |
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) | |
virtual void | create () |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
void | setBitmap (FXBitmap *bmp) |
FXBitmap * | getBitmap () const |
void | setOnColor (FXColor clr) |
FXColor | getOnColor () const |
void | setOffColor (FXColor clr) |
FXColor | getOffColor () const |
void | setJustify (FXuint mode) |
FXuint | getJustify () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXBitmapFrame () |
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.
FX::FXBitmapFrame::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 FX::FXBitmapFrame::~FXBitmapFrame | ( | ) | [virtual] |
Destroy the widget, but do not destroy the image.
virtual void FX::FXBitmapFrame::create | ( | ) | [virtual] |
Create window.
Reimplemented from FX::FXWindow.
virtual FXint FX::FXBitmapFrame::getDefaultWidth | ( | ) | [virtual] |
Get default width.
Reimplemented from FX::FXFrame.
virtual FXint FX::FXBitmapFrame::getDefaultHeight | ( | ) | [virtual] |
Get default height.
Reimplemented from FX::FXFrame.
void FX::FXBitmapFrame::setBitmap | ( | FXBitmap * | bmp | ) |
Change the image being displayed.
FXBitmap* FX::FXBitmapFrame::getBitmap | ( | ) | const [inline] |
Return the current image.
void FX::FXBitmapFrame::setOnColor | ( | FXColor | clr | ) |
Set on color.
FXColor FX::FXBitmapFrame::getOnColor | ( | ) | const [inline] |
Get on color.
void FX::FXBitmapFrame::setOffColor | ( | FXColor | clr | ) |
Set off color.
FXColor FX::FXBitmapFrame::getOffColor | ( | ) | const [inline] |
Get off color.
void FX::FXBitmapFrame::setJustify | ( | FXuint | mode | ) |
Set the current justification mode.
FXuint FX::FXBitmapFrame::getJustify | ( | ) | const |
Get the current justification mode.
virtual void FX::FXBitmapFrame::save | ( | FXStream & | store | ) | const [virtual] |
Save to stream.
Reimplemented from FX::FXFrame.
virtual void FX::FXBitmapFrame::load | ( | FXStream & | store | ) | [virtual] |
Load from stream.
Reimplemented from FX::FXFrame.
![]() |