Some changes & additions. (#2)

* Initial HID implementation.

Not everything may be right. I have to figure out some stuff tho.

* Add a tint param to `Gui::DrawSprite()`.

Also add Universal-Core logo.
This commit is contained in:
StackZ
2020-03-05 04:25:52 +01:00
committed by GitHub
parent c82ad8d6e1
commit eceb6b884d
6 changed files with 147 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ namespace Gui
void clearTextBufs(void);
// Draw a sprite from a sheet.
void DrawSprite(C2D_SpriteSheet sheet, size_t imgindex, int x, int y, float ScaleX = 1, float ScaleY = 1);
void DrawSprite(C2D_SpriteSheet sheet, size_t imgindex, int x, int y, float ScaleX = 1, float ScaleY = 1, u32 tintColor = C2D_Color32(0, 0, 0, 0));
// Initialize the GUI with Citro2D & Citro3D and initialize the Textbuffer.
Result init(void);