22 #ifndef FIFE_GUI_IMAGE_H
23 #define FIFE_GUI_IMAGE_H
28 #include <guichan/color.hpp>
29 #include <guichan/image.hpp>
35 #include "util/base/fife_stdint.h"
36 #include "video/image.h"
37 #include "video/imagemanager.h"
41 class GuiImage :
public gcn::Image {
44 GuiImage(ImagePtr img);
47 int32_t getWidth()
const;
48 int32_t getHeight()
const;
49 gcn::Color getPixel(int32_t x, int32_t y);
50 void putPixel(int32_t x, int32_t y,
const gcn::Color& color);
51 void convertToDisplayFormat();
52 ImagePtr getFIFEImage()
const {
return m_imgPtr; }