mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 08:39:05 +00:00
Fix a few problems.
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ namespace Gui
|
||||
// Draw a Sprite from the sheet.
|
||||
void sprite(int key, int x, int y, float ScaleX = 1, float ScaleY = 1);
|
||||
void spriteBlend(int key, int x, int y, float ScaleX = 1, float ScaleY = 1);
|
||||
void DrawArrow(int x, int y, float rotation = 0);
|
||||
void DrawArrow(int x, int y, float rotation = 0, int arrowSprite = 0);
|
||||
|
||||
// Misc.
|
||||
bool Draw_Rect(float x, float y, float w, float h, u32 color);
|
||||
|
||||
@@ -52,9 +52,9 @@ private:
|
||||
{295, 0, 25, 25, -1}, // Arrow Up.
|
||||
{295, 215, 25, 25, -1}, // Arrow Down.
|
||||
{0, 215, 25, 25, -1}, // Back Arrow.
|
||||
{0, 0, 25, 25, -1}, // Download All.
|
||||
{40, 0, 25, 25, -1}, // ViewMode Change.
|
||||
{75, 0, 25, 25, -1}, // Search.
|
||||
{5, 0, 25, 25, -1}, // Download All.
|
||||
{45, 0, 25, 25, -1}, // ViewMode Change.
|
||||
{80, 0, 25, 25, -1}, // Search.
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ private:
|
||||
{295, 0, 25, 25, -1}, // Arrow Up.
|
||||
{295, 215, 25, 25, -1}, // Arrow Down.
|
||||
{0, 215, 25, 25, -1}, // Back Arrow.
|
||||
{0, 0, 25, 25, -1}, // viewMode Change
|
||||
{5, 0, 25, 25, -1}, // viewMode Change
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ class Settings : public screen
|
||||
public:
|
||||
void Draw(void) const override;
|
||||
void Logic(u32 hDown, u32 hHeld, touchPosition touch) override;
|
||||
Settings();
|
||||
private:
|
||||
// Credits stuff.
|
||||
int DisplayMode = 1;
|
||||
|
||||
@@ -50,8 +50,8 @@ private:
|
||||
{295, 0, 25, 25, -1}, // Arrow Up.
|
||||
{295, 215, 25, 25, -1}, // Arrow Down.
|
||||
{0, 215, 25, 25, -1}, // Back Arrow.
|
||||
{0, 0, 25, 25, -1}, // ViewMode Change.
|
||||
{40, 0, 25, 25, -1}, // Search.
|
||||
{5, 0, 25, 25, -1}, // ViewMode Change.
|
||||
{45, 0, 25, 25, -1}, // Search.
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user