mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Fully rewrite config.
This commit is contained in:
+3
-1
@@ -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
|
||||
Reference in New Issue
Block a user