mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-12 00:20:03 -04:00
Formatted code (#1007)
* Updated style * Updated files * fixed new line * Updated spacing * File fix WIP * Updated to clang 13 * updated comment style * Removed old comment code
This commit is contained in:
parent
7aca7ce74d
commit
033c4e9a5b
599 changed files with 70746 additions and 66896 deletions
|
@ -35,28 +35,27 @@
|
|||
namespace ui {
|
||||
|
||||
class SdOverUsbView : public View {
|
||||
public:
|
||||
SdOverUsbView(NavigationView& nav);
|
||||
public:
|
||||
SdOverUsbView(NavigationView& nav);
|
||||
|
||||
void focus() override;
|
||||
void focus() override;
|
||||
|
||||
std::string title() const override { return "SD over USB"; };
|
||||
std::string title() const override { return "SD over USB"; };
|
||||
|
||||
private:
|
||||
NavigationView& nav_;
|
||||
|
||||
Labels labels {
|
||||
{ { 3 * 8, 2 * 16 }, "Click Run to start the", Color::white() },
|
||||
{ { 3 * 8, 3 * 16 }, "USB Mass Storage Mode.", Color::white() },
|
||||
{ { 3 * 8, 5 * 16 }, "It can take up to 20s", Color::white() },
|
||||
{ { 3 * 8, 6 * 16 }, "for the drive to be", Color::white() },
|
||||
{ { 3 * 8, 7 * 16 }, "available.", Color::white() },
|
||||
};
|
||||
private:
|
||||
NavigationView& nav_;
|
||||
|
||||
Button button_run {
|
||||
{ 9 * 8, 15 * 16, 12 * 8, 3 * 16 },
|
||||
"Run"
|
||||
};
|
||||
Labels labels{
|
||||
{{3 * 8, 2 * 16}, "Click Run to start the", Color::white()},
|
||||
{{3 * 8, 3 * 16}, "USB Mass Storage Mode.", Color::white()},
|
||||
{{3 * 8, 5 * 16}, "It can take up to 20s", Color::white()},
|
||||
{{3 * 8, 6 * 16}, "for the drive to be", Color::white()},
|
||||
{{3 * 8, 7 * 16}, "available.", Color::white()},
|
||||
};
|
||||
|
||||
Button button_run{
|
||||
{9 * 8, 15 * 16, 12 * 8, 3 * 16},
|
||||
"Run"};
|
||||
};
|
||||
|
||||
} /* namespace ui */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue