#include <caimageview.h>
Inheritance diagram for CAImageView:

Public Types | |
| enum | Direction { Vertical, Horizontal } |
Public Member Functions | |
| CAImageView () | |
| Constructor for an empty image view. | |
| CAImageView (const char *upperText, const char *lowerText, CL_Surface *image, bool autoResize=true) | |
| Constructor for an image view with already one image. | |
| ~CAImageView () | |
| Destructor. | |
| virtual void | setImageSize (int w, int h) |
| Sets the size of the image view (without top/bottom button). | |
| virtual void | display (bool active=true) |
| Displays the image view with its current image/ texts. | |
| virtual void | displayArrows (bool active=true) |
| Displays the arrows for selectors (used for base classes). | |
| virtual void | displayTextButtons (bool active=true) |
| Displays the buttons on top/ button with their texts. | |
| virtual void | handleKey (const CL_Key &key) |
| Handles key events for this view (no action). | |
Protected Attributes | |
| CAImageData | image |
| Image data (surface, texts). | |
| Direction | direction |
| 'Vertiacl' or 'Horizontal' selector (used for child classes) | |
| int | barHeight |
| Height of top/ bottom bar. | |
This class is also used as basis class for image selectors.
|
||||||||||||||||||||
|
Constructor for an image view with already one image.
|
|
||||||||||||
|
Sets the size of the image view (without top/bottom button). Bigger images get cropped (top left part shown).
Reimplemented in CAImageHueSelector, and CAImageSelector. |
1.4.6