Browse Source

add handle back to app

master
Odilitime 4 years ago
parent
commit
3d30975055
  1. 6
      src/interfaces/graphical/renderers/renderer.h

6
src/interfaces/graphical/renderers/renderer.h

@ -6,6 +6,8 @@ @@ -6,6 +6,8 @@
#include <string>
#include <functional>
class App;
#ifdef FLOATCOORDS
typedef double coordinates;
typedef double sizes;
@ -37,6 +39,10 @@ public: @@ -37,6 +39,10 @@ public:
virtual Sprite* createSpriteFromColor(const unsigned int hexColor) { return nullptr; }
virtual void drawSpriteBox(Sprite *texture, Rect *position) {}
virtual void drawSpriteText(Sprite *texture, unsigned int hexColor, Rect *position) {}
// handle back to app
App *app;
//
size_t width;
size_t height;

Loading…
Cancel
Save