Implement the new Settings Screen

This commit is contained in:
tobid7 2022-04-10 09:55:05 +02:00
parent f7bd625610
commit 6fd37ffd3d
2 changed files with 39 additions and 0 deletions

View File

@ -872,6 +872,32 @@ void RenderD7::FrameEnd()
C3D_FrameEnd(0);
}
RenderD7::RSettings::RSettings()
{
}
RenderD7::RSettings::RSettings()
{
}
void RenderD7::RSettings::Draw(void) const
{
RenderD7::DrawRect(0, 0, 400, 30, RenderD7::Color::Hex("#111111"));
}
void RenderD7::RSettins::Logic(u32 hDown, u32 hHeld, u32 hUp, touchPosition touch)
{
if (d7_hDown & KEY_B)
{
RenderD7::Scene::Back();
}
}
/*void RenderD7::AddOvl(RenderD7::Ovl overlay)
{
overlays.push_back(overlay);

View File

@ -134,6 +134,19 @@ namespace RenderD7
//static void HandleOvl();
};
class RSettings : public RenderD7::Scene
{
private:
/* data */
public:
RSettings();
void Draw(void) const override;
~RSettings();
void Logic(u32 hDown, u32 hHeld, u32 hUp, touchPosition touch) override;
};
void LoadSettings();
/*class Ovl {
public:
virtual ~Ovl(){}