14 #include <SDL2/SDL_image.h> 51 void draw(uint32_t time)
override;
52 int getX()
const override;
53 int getY()
const override;
59 SDL_Renderer *renderer =
nullptr;
60 Rect geometry = {0, 0, 0, 0}, imgPosition;
61 Color fillColor = {0, 0, 0, 0xFF};
62 SDL_Texture *imgTexture =
nullptr;
63 std::string imageFile;
64 int imgW = -1, imgH = -1;
The main application class header.
An abstract class implementing both the GraphicsObject and the TouchEnabledObject, which gives an interactive graphic object as result.
Definition: InteractiveGraphicsObject.h:20