An image.
More...
#include <image.hpp>
List of all members.
Detailed Description
An image.
Definition at line 24 of file image.hpp.
Member Enumeration Documentation
Possible states of the widget.
Note the order of the states must be the same as defined in settings.hpp.
- Enumerator:
-
Definition at line 87 of file image.hpp.
Constructor & Destructor Documentation
| gui2::timage::timage |
( |
|
) |
[inline] |
Member Function Documentation
| tpoint gui2::timage::calculate_best_size |
( |
|
) |
const [private] |
| bool gui2::timage::disable_click_dismiss |
( |
|
) |
const [inline] |
Inherited from tcontrol.
Definition at line 78 of file image.hpp.
| bool gui2::timage::get_active |
( |
|
) |
const [inline] |
Inherited from tcontrol.
Definition at line 72 of file image.hpp.
| const std::string& gui2::timage::get_control_type |
( |
|
) |
const [private] |
| t_string gui2::timage::get_image |
( |
|
) |
const [inline] |
Wrapper for label.
Some people considered this function missing and confusing so added this forward version.
- Returns:
- The filename of the image shown.
Definition at line 54 of file image.hpp.
| unsigned gui2::timage::get_state |
( |
|
) |
const [inline] |
Inherited from tcontrol.
Definition at line 75 of file image.hpp.
| void gui2::timage::set_active |
( |
const |
bool |
) |
[inline] |
Inherited from tcontrol.
Definition at line 69 of file image.hpp.
| void gui2::timage::set_image |
( |
const t_string & |
label |
) |
[inline] |
Wrapper for set_label.
Some people considered this function missing and confusing so added this forward version.
- Parameters:
-
| label | The filename image to show. |
Definition at line 41 of file image.hpp.
References set_image(), and gui2::set_label().
Referenced by set_image().
The documentation for this class was generated from the following file: