Fully rewrite config.

This commit is contained in:
StackZ
2020-06-20 15:22:50 +02:00
parent 7972fd483a
commit 50e4aa99e0
22 changed files with 1372 additions and 1274 deletions
+3 -1
View File
@@ -31,6 +31,8 @@
#include "gui.hpp"
#include "sprites.h"
extern std::unique_ptr<Config> config;
namespace GFX {
// Basic GUI.
void DrawTop(void);
@@ -41,7 +43,7 @@ namespace GFX {
void DrawSprite(int img, int x, int y, float ScaleX = 1, float ScaleY = 1);
void DrawSpriteBlend(int img, int x, int y, float ScaleX = 1, float ScaleY = 1);
void DrawButton(int x, int y, std::string ButtonText = "", u32 color = Config::Button);
void DrawButton(int x, int y, std::string ButtonText = "", u32 color = config->buttonColor());
}
#endif