![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXBitmapView.h>
Public Member Functions | |
| FXBitmapView (FXComposite *p, FXBitmap *bmp=NULL, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
| virtual void | create () |
| virtual void | detach () |
| virtual void | layout () |
| virtual bool | canFocus () const |
| virtual FXint | getContentWidth () |
| virtual FXint | getContentHeight () |
| void | setBitmap (FXBitmap *bmp) |
| FXBitmap * | getBitmap () const |
| void | setOnColor (FXColor clr) |
| FXColor | getOnColor () const |
| void | setOffColor (FXColor clr) |
| FXColor | getOffColor () const |
| void | setAlignment (FXuint mode) |
| FXuint | getAlignment () const |
| virtual void | save (FXStream &store) const |
| virtual void | load (FXStream &store) |
| virtual | ~FXBitmapView () |
The Bitmap View widget display a scrollable view of a monochrome bitmap image; the bitmap is not owned by the bitmap frame so it must be explicitly deleted elsewhere.
Thus, a single bitmap image can be displayed inside multiple bitmap view widgets.
See also:
| FX::FXBitmapView::FXBitmapView | ( | FXComposite * | p, |
| FXBitmap * | bmp = NULL, |
||
| FXObject * | tgt = NULL, |
||
| FXSelector | sel = 0, |
||
| FXuint | opts = 0, |
||
| FXint | x = 0, |
||
| FXint | y = 0, |
||
| FXint | w = 0, |
||
| FXint | h = 0 |
||
| ) |
Construct a scroll window.
| virtual FX::FXBitmapView::~FXBitmapView | ( | ) | [virtual] |
Destroy.
| virtual void FX::FXBitmapView::create | ( | ) | [virtual] |
Create server-side resources.
Reimplemented from FX::FXComposite.
| virtual void FX::FXBitmapView::detach | ( | ) | [virtual] |
Detach server-side resources.
Reimplemented from FX::FXComposite.
| virtual void FX::FXBitmapView::layout | ( | ) | [virtual] |
Perform layout immediately.
Reimplemented from FX::FXScrollArea.
| virtual bool FX::FXBitmapView::canFocus | ( | ) | const [virtual] |
Image view widget can receive focus.
Reimplemented from FX::FXWindow.
| virtual FXint FX::FXBitmapView::getContentWidth | ( | ) | [virtual] |
Return the width of the contents.
Reimplemented from FX::FXScrollArea.
| virtual FXint FX::FXBitmapView::getContentHeight | ( | ) | [virtual] |
Return the height of the contents.
Reimplemented from FX::FXScrollArea.
| void FX::FXBitmapView::setBitmap | ( | FXBitmap * | bmp | ) |
Change image.
| FXBitmap* FX::FXBitmapView::getBitmap | ( | ) | const [inline] |
Return image.
| void FX::FXBitmapView::setOnColor | ( | FXColor | clr | ) |
Set on color.
| FXColor FX::FXBitmapView::getOnColor | ( | ) | const [inline] |
Get on color.
| void FX::FXBitmapView::setOffColor | ( | FXColor | clr | ) |
Set off color.
| FXColor FX::FXBitmapView::getOffColor | ( | ) | const [inline] |
Get off color.
| void FX::FXBitmapView::setAlignment | ( | FXuint | mode | ) |
Set the current alignment.
| FXuint FX::FXBitmapView::getAlignment | ( | ) | const |
Get the current alignment.
| virtual void FX::FXBitmapView::save | ( | FXStream & | store | ) | const [virtual] |
Save list to a stream.
Reimplemented from FX::FXWindow.
| virtual void FX::FXBitmapView::load | ( | FXStream & | store | ) | [virtual] |
Load list from a stream.
Reimplemented from FX::FXWindow.
|
|