Add Overlays Engine

This commit is contained in:
2022-04-10 00:59:30 +02:00
parent d0e4d2296c
commit edb634b79d
2 changed files with 41 additions and 26 deletions

View File

@ -6,6 +6,7 @@
#include <stack>
#include <string>
#include <functional>
#include <map>
#include <vector>
#include <dirent.h>
#include <unistd.h>
@ -133,6 +134,12 @@ namespace RenderD7
//static void HandleOvl();
};
class Ovl {
public:
virtual ~Ovl(){}
virtual void Draw() const = 0;
};
void AddOvl(Ovl overlay);
namespace Color
{
struct rgba