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

FXImageView Class Reference

#include <FXImageView.h>

Inheritance diagram for FXImageView:

FXScrollArea FXComposite FXWindow FXDrawable FXId FXObject List of all members.

Public Types

enum  {
  ID_XYZ = FXScrollArea::ID_LAST,
  ID_LAST
}

Public Methods

 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 void create ()
 Create server-side resources.

virtual void detach ()
 Detach server-side resources.

virtual FXbool canFocus () const
 Image view widget can receive focus.

virtual FXint getContentWidth ()
 Return the width of the contents.

virtual FXint getContentHeight ()
 Return the height of the contents.

void setImage (FXImage *img)
 Change image.

FXImagegetImage () const
 Return image.

virtual void save (FXStream &store) const
 Save list to a stream.

virtual void load (FXStream &store)
 Load list from a stream.

virtual ~FXImageView ()
 Destroy.


Detailed Description

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