Entire Class Index | Main Class Index | Cross Index | Global Index

# Class CL_Image

Image component
Contained in: global
Derived from: CL_Component
Derived by: none
Group: GUI (Controls)

#include <ClanLib/gui.h>

### public function member index:
### Construction:
`` | `CL_Image` | `(`CL_Component`* `parent`, `CL_StyleManager`* `style` = NULL)`;
`` | `CL_Image` | `(`CL_Surface`* `surface`, `CL_Component`* `parent`, `CL_StyleManager`* `style` = NULL)`;
`` | `CL_Image` | `(`const` `CL_Rect`& `pos`, `CL_Component`* `parent`, `CL_StyleManager`* `style` = NULL)`;
`` | `CL_Image` | `(`const` `CL_Rect`& `pos`, `CL_Surface`* `surface`, `CL_Component`* `parent`, `CL_StyleManager`* `style` = NULL)`;
``virtual`` | `~CL_Image` | `()`;
### Attributes:
``CL_Surface`*` | `get_surface` | `() `const``;
``Mode`` | `get_mode` | `() `const``;
### Operations:
``void`` | `set_surface` | `(`CL_Surface`* `surface`)`;
``void`` | `set_mode` | `(`Mode` `mode`)`;
### private function member index:
### Implementation:
`` | `CL_Image` | `(`const` `CL_Image`& `copy`)`;

## Description:

## Function Member Descriptions:

CL_Image::CL_Image - Image Constructor
`` `CL_Image``(`CL_Component`* `parent`, `CL_StyleManager`* `style` = NULL)`;

CL_Image::CL_Image - Image Constructor
`` `CL_Image``(`CL_Surface`* `surface`, `CL_Component`* `parent`, `CL_StyleManager`* `style` = NULL)`;

CL_Image::CL_Image - Image Constructor
`` `CL_Image``(`const` `CL_Rect`& `pos`, `CL_Component`* `parent`, `CL_StyleManager`* `style` = NULL)`;

CL_Image::CL_Image - Image Constructor
`` `CL_Image``(`const` `CL_Rect`& `pos`, `CL_Surface`* `surface`, `CL_Component`* `parent`, `CL_StyleManager`* `style` = NULL)`;

CL_Image::get_mode - Returns the current display mode.
``Mode`` `get_mode``() `const``;

CL_Image::get_surface - Returns the surface.
``CL_Surface`*` `get_surface``() `const``;

CL_Image::set_mode - Sets the display mode.
``void`` `set_mode``(`Mode` `mode`)`;

CL_Image::set_surface - Sets the surface.
``void`` `set_surface``(`CL_Surface`* `surface`)`;

CL_Image::~CL_Image - Image Destructor
``virtual`` `~CL_Image``()`;

## Variable Member Descriptions: