Fix a few problems.

This commit is contained in:
StackZ
2019-12-24 03:53:02 +01:00
parent 1ef274988e
commit f3d5706159
14 changed files with 86 additions and 35 deletions
+1 -1
View File
@@ -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);
+3 -3
View File
@@ -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.
};
};
+1 -1
View File
@@ -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
};
};
+1
View File
@@ -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;
+2 -2
View File
@@ -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.
};
};