Add FOntRestore and Make Settings use default font
This commit is contained in:
@ -49,6 +49,7 @@ std::string TextShort(const std::string& in, int max_len);
|
||||
void TextMaxBox(R7Vec2 size);
|
||||
void TextDefaultBox();
|
||||
void TextFont(Font::Ref fnt);
|
||||
void TextFontRestore();
|
||||
void TextDefaultFont();
|
||||
namespace Draw2 {
|
||||
void Rect(R7Vec2 pos, R7Vec2 size, unsigned int color, int t = 1);
|
||||
|
@ -21,6 +21,14 @@
|
||||
#include <renderd7/external/json.hpp>
|
||||
#include <renderd7/renderd7.hpp>
|
||||
|
||||
namespace RenderD7 {
|
||||
namespace IDB {
|
||||
void Start();
|
||||
void Stop();
|
||||
void Restart();
|
||||
} // namespace IDB
|
||||
} // namespace RenderD7
|
||||
|
||||
// Outdated HidApi (HidV2Patched)
|
||||
extern u32 d7_hDown;
|
||||
extern u32 d7_hHeld;
|
||||
|
@ -97,13 +97,13 @@ class RSettings : public RenderD7::Scene {
|
||||
private:
|
||||
/// @brief State (Define for Menus)
|
||||
enum RState {
|
||||
RSETTINGS,
|
||||
RSETTINGS, // Main Settings Menu
|
||||
RINFO,
|
||||
RSERVICES,
|
||||
RMCONFIG,
|
||||
RFTRACE,
|
||||
RUI7,
|
||||
RCREDITS
|
||||
RIDB, // Internal Debugger
|
||||
ROVERLAYS,
|
||||
RFTRACE, // FTRace Menu
|
||||
RUI7, // UI7 Menu
|
||||
RCREDITS // Unused?
|
||||
};
|
||||
|
||||
/// @param shared_request Defines requests from Draw to Logic
|
||||
|
Reference in New Issue
Block a user