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 Types

enum  { ID_XYZ = FXScrollArea::ID_LAST, ID_LAST }

Public Member Functions

long onPaint (FXObject *, FXSelector, void *)
long onMotion (FXObject *, FXSelector, void *)
long onRightBtnPress (FXObject *, FXSelector, void *)
long onRightBtnRelease (FXObject *, FXSelector, void *)
 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 void layout ()
 Perform layout.
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.
void setAlignment (FXuint mode)
 Set the current alignment.
FXuint getAlignment () const
 Get the current alignment.
virtual void save (FXStream &store) const
 Save list to a stream.
virtual void load (FXStream &store)
 Load list from a stream.
virtual ~FXImageView ()
 Destroy.

Protected Attributes

FXImageimage
FXint grabx
FXint graby

Detailed Description

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


The documentation for this class was generated from the following file:

Copyright © 1997-2011 Jeroen van der Zijp