|
FIFE
|
#include <gui_image.h>
Inherits Image.
Collaboration diagram for FIFE::GuiImage:Public Member Functions | |
| GuiImage () | |
| GuiImage (ImagePtr img) | |
| ~GuiImage () | |
| void | free () |
| int32_t | getWidth () const |
| int32_t | getHeight () const |
| fcn::Color | getPixel (int32_t x, int32_t y) |
| void | putPixel (int32_t x, int32_t y, const fcn::Color &color) |
| void | convertToDisplayFormat () |
| ImagePtr | getFIFEImage () const |
Protected Attributes | |
| ImagePtr | m_imgPtr |
Definition at line 41 of file gui_image.h.
| FIFE::GuiImage::GuiImage | ( | ) |
Definition at line 39 of file gui_image.cpp.
| FIFE::GuiImage::GuiImage | ( | ImagePtr | img | ) |
Definition at line 42 of file gui_image.cpp.
| FIFE::GuiImage::~GuiImage | ( | ) |
Definition at line 46 of file gui_image.cpp.
| void FIFE::GuiImage::convertToDisplayFormat | ( | ) |
Definition at line 74 of file gui_image.cpp.
| void FIFE::GuiImage::free | ( | ) |
Definition at line 49 of file gui_image.cpp.
References FIFE::ImageManager::free(), FIFE::IResource::getHandle(), FIFE::DynamicSingleton< ImageManager >::instance(), and m_imgPtr.
|
inline |
Definition at line 52 of file gui_image.h.
References m_imgPtr.
Referenced by FIFE::SdlGuiGraphics::drawImage(), and FIFE::OpenGLGuiGraphics::drawImage().
Here is the caller graph for this function:| int32_t FIFE::GuiImage::getHeight | ( | ) | const |
Definition at line 59 of file gui_image.cpp.
References FIFE::Image::getHeight(), and m_imgPtr.
| fcn::Color FIFE::GuiImage::getPixel | ( | int32_t | x, |
| int32_t | y | ||
| ) |
Definition at line 65 of file gui_image.cpp.
References FIFE::_log, and FL_PANIC.
| int32_t FIFE::GuiImage::getWidth | ( | ) | const |
Definition at line 53 of file gui_image.cpp.
References FIFE::Image::getWidth(), and m_imgPtr.
| void FIFE::GuiImage::putPixel | ( | int32_t | x, |
| int32_t | y, | ||
| const fcn::Color & | color | ||
| ) |
Definition at line 70 of file gui_image.cpp.
References FIFE::_log, and FL_PANIC.
|
protected |
Definition at line 54 of file gui_image.h.
Referenced by free(), getFIFEImage(), getHeight(), and getWidth().