Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXBitmapView Class Reference

#include <FXBitmapView.h>

Inheritance diagram for FX::FXBitmapView:
FX::FXScrollArea FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject

List of all members.

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)
FXBitmapgetBitmap () 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 ()

Detailed Description

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:


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Return the width of the contents.

Reimplemented from FX::FXScrollArea.

Return the height of the contents.

Reimplemented from FX::FXScrollArea.

Change image.

Return image.

Set on color.

Get on color.

Set off color.

Get off color.

Set the current alignment.

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.

Copyright © 1997-2005 Jeroen van der Zijp