![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
The Image View widget display a scrollable view of an image. More...
#include <FXImageView.h>
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. | |
| FXImage * | getImage () 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 | |
| FXImage * | image |
| FXint | grabx |
| FXint | graby |
The Image View widget display a scrollable view of an image.
|
|