-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Awful first implementation of in app configuration
- Loading branch information
Showing
18 changed files
with
219 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ menu_radio.png | |
menu_globe.png | ||
menu_document.png | ||
menu_copyright.png | ||
menu_copyright_colored.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#include "AboutMenu.hpp" | ||
#include "gui.hpp" | ||
|
||
#include "SelectFileMenu.hpp" | ||
#include "app.hpp" | ||
|
||
AboutMenu::AboutMenu() | ||
{ | ||
|
||
} | ||
|
||
void AboutMenu::drawTop() const | ||
{ | ||
std::string currentversion = "LimePlayer3DS version "; | ||
currentversion.append(STRINGIFY(LIMEPLAYER_VERSION)); | ||
Gui::Print("About:", 20.0f, 20.0f, 0.5f, 0.5f); | ||
Gui::Print(currentversion, 40.0f, 40.0f, 0.5f, 0.5f); | ||
Gui::Print("This application is licensed under GPL3.0-or-later.", 40.0f, 60.0f, 0.5f, 0.5f); | ||
} | ||
|
||
void AboutMenu::drawBottom() const | ||
{ | ||
|
||
} | ||
|
||
void AboutMenu::update(touchPosition* touch) | ||
{ | ||
u32 kDown = hidKeysDown(); | ||
|
||
if (kDown & KEY_B) | ||
{ | ||
Gui::BackMenu(); | ||
return; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef __LP_ABOUTMENU_HPP__ | ||
#define __LP_ABOUTMENU_HPP__ | ||
|
||
#include "menu.hpp" | ||
#include <memory> | ||
#include <vector> | ||
|
||
class AboutMenu : public Menu | ||
{ | ||
public: | ||
AboutMenu(); | ||
void drawTop() const override; | ||
void drawBottom() const override; | ||
void update(touchPosition* touch) override; | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.