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

FX::FXImageView Class Reference

The Image View widget display a scrollable view of an image. More...

#include <FXImageView.h>

Inheritance diagram for FX::FXImageView:

FX::FXScrollArea FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Member Functions

 FXImageView (FXComposite *p, FXImage *img=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 setImage (FXImage *img)
FXImagegetImage () const
void setAlignment (FXuint mode)
FXuint getAlignment () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXImageView ()

Detailed Description

The Image View widget display a scrollable view of an image.

See also:


Constructor & Destructor Documentation

FX::FXImageView::FXImageView FXComposite p,
FXImage img = 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::FXImageView::~FXImageView  )  [virtual]
 

Destroy.


Member Function Documentation

virtual void FX::FXImageView::create  )  [virtual]
 

Create server-side resources.

Reimplemented from FX::FXComposite.

virtual void FX::FXImageView::detach  )  [virtual]
 

Detach server-side resources.

Reimplemented from FX::FXComposite.

virtual void FX::FXImageView::layout  )  [virtual]
 

Perform layout.

Reimplemented from FX::FXScrollArea.

virtual bool FX::FXImageView::canFocus  )  const [virtual]
 

Image view widget can receive focus.

Reimplemented from FX::FXWindow.

virtual FXint FX::FXImageView::getContentWidth  )  [virtual]
 

Return the width of the contents.

Reimplemented from FX::FXScrollArea.

virtual FXint FX::FXImageView::getContentHeight  )  [virtual]
 

Return the height of the contents.

Reimplemented from FX::FXScrollArea.

void FX::FXImageView::setImage FXImage img  ) 
 

Change image.

FXImage* FX::FXImageView::getImage  )  const [inline]
 

Return image.

void FX::FXImageView::setAlignment FXuint  mode  ) 
 

Set the current alignment.

FXuint FX::FXImageView::getAlignment  )  const
 

Get the current alignment.

virtual void FX::FXImageView::save FXStream store  )  const [virtual]
 

Save list to a stream.

Reimplemented from FX::FXWindow.

virtual void FX::FXImageView::load FXStream store  )  [virtual]
 

Load list from a stream.

Reimplemented from FX::FXWindow.

Copyright © 1997-2005 Jeroen van der Zijp