Update renderd7.hpp

This commit is contained in:
tobid7 2021-08-08 11:22:42 +02:00 committed by GitHub
parent 0d4cc6f30f
commit e73ee7c6db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,11 +122,14 @@ namespace RenderD7
virtual ~Scene() {} virtual ~Scene() {}
virtual void Logic(u32 hDown, u32 hHeld, u32 hUp, touchPosition touch) = 0; virtual void Logic(u32 hDown, u32 hHeld, u32 hUp, touchPosition touch) = 0;
virtual void Draw() const = 0; virtual void Draw() const = 0;
virtual void Ovl() const = 0;
static void Load(std::unique_ptr<Scene> scene); static void Load(std::unique_ptr<Scene> scene);
static void Back(); static void Back();
static void doDraw(); static void doDraw();
static void doLogic(u32 hDown, u32 hHeld, u32 hUp, touchPosition touch); static void doLogic(u32 hDown, u32 hHeld, u32 hUp, touchPosition touch);
static void HandleOvl();
}; };
namespace Color namespace Color
{ {
u32 Hex(const std::string color, u8 a = 255); u32 Hex(const std::string color, u8 a = 255);