7 Commits

Author SHA1 Message Date
Pk11 4e141e6452 Fix structs.hpp missing 3ds/types.h include 2021-09-06 19:37:09 -05:00
Pk11 2d75edbc92 WIP: Add keyboard 2021-08-28 20:54:18 -05:00
StackZ 0b0f88eb59 Update Copyright year to 2020-2021. 2021-01-17 22:29:49 +01:00
StackZ d47ce8842b Change to 2020 Universal-Team. 2020-07-01 08:44:06 +02:00
StackZ a5f7134d1c Major Screen changes. (If using the screen class, read the description!!)
Changes which are needed when using the screen class:

- Add `void callConstructor() override { }` to your screen's public header.
- Call `Gui::DrawScreen();` to draw the screen.
- Call `Gui::ScreenLogic(u32 hDown, u32 hHeld, touchPosition touch);` to call the Logic.
- Call `Gui::CallConstructor();` to call the used screen's constructor.
- call `Gui::setScreen(std::make_unique<ScreenName>(), <true/ false, depends if you like to transfer the screen to the usedScreen directly.>);` to set the screen.
- Call `Gui::transferScreen();` in case you like to set the tempScreen to the used one.
- Get rid of the `Gui::screenBack();` calls and use `Gui::setScreen(...)` directly for it.
2020-05-26 05:25:33 +02:00
StackZ 4dc2426fa5 Some more checks to avoid possible crashes. 2020-05-21 05:49:21 +02:00
StackZ c82ad8d6e1 Whoops, forgot to push structs.hpp. :P
Could be useful for touch stuff.
2020-02-06 06:26:05 +01:00