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

FX::FXBitmapView Class Reference

The Bitmap View widget display a scrollable view of a bitmap. More...

#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 FXbool 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 bitmap.

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 FXbool 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.

Copyright © 1997-2004 Jeroen van der Zijp