14 #include "../graphic/IPolygon.hpp"
15 #include "../graphic/ISprite.hpp"
16 #include "../graphic/IText.hpp"
Polygon interface.
Definition IPolygon.hpp:34
Sprite interface.
Definition ISprite.hpp:22
Text interface.
Definition IText.hpp:26
A window that can draw 2D. Adds only the 2D drawing surface on top of IWindow's lifecycle/input.
Definition IWindow2.hpp:25
virtual ~IWindow2()=default
virtual void drawSprite(ISprite *sprite)=0
draw a sprite
virtual void beginDraw()=0
allowing to draw 2D on the window
virtual void endDraw()=0
end the 2D drawing
virtual void drawPoly(IPolygon *polygon)=0
draw a polygon
virtual void drawText(IText *text)=0
draw a text
Window lifecycle. No drawing here : every window, 2D-capable or not, has to open, close and pump its ...
Definition IWindow.hpp:27
Definition IGamepad.hpp:14