24 #include "render/graphics.h"
84 FOR_EACH (STD_VECTOR<Image*>::const_iterator, it, images)
86 const Image *
const image = *it;
118 FOR_EACH (STD_VECTOR<Image*>::const_iterator, it, images)
120 const Image *
const image = *it;
121 if (image !=
nullptr)
void safeDraw(Graphics *const graphics)
void mousePressed(MouseEvent &event)
void widgetMoved(const Event &event)
int getIndexFromGrid(const int x, const int y) const
ImageCollection * mVertexes
EmotePage(const Widget2 *const widget)
void widgetResized(const Event &event)
void draw(Graphics *const graphics)
virtual void drawImage(const Image *const image, int dstX, int dstY)=0
virtual void drawTileCollection(const ImageCollection *const vertCol)=0
virtual void calcTileCollection(ImageCollection *const vertCol, const Image *const image, int x, int y)=0
virtual void finalize(ImageCollection *const col)
const std::vector< Image * > & getImages() const
#define FOR_EACH(type, iter, array)
ImageSet * getImageSet(const std::string &imagePath, const int w, const int h)
const unsigned int emoteWidth
const unsigned int emoteHeight
#define BLOCK_START(name)