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:
jLynx 2023-05-19 08:16:05 +12:00 committed by GitHub
parent 7aca7ce74d
commit 033c4e9a5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
599 changed files with 70746 additions and 66896 deletions

View file

@ -27,38 +27,36 @@
namespace ui {
class RemoteView : public View {
public:
RemoteView(NavigationView& nav);
~RemoteView();
void focus() override;
std::string title() const override { return "Custom remote"; };
public:
RemoteView(NavigationView& nav);
~RemoteView();
private:
/*enum tx_modes {
IDLE = 0,
SINGLE,
SCAN
};
tx_modes tx_mode = IDLE;
void focus() override;
struct remote_layout_t {
Point position;
std::string text;
};
const std::array<remote_layout_t, 32> remote_layout { };*/
Labels labels {
{ { 1 * 8, 0 }, "Work in progress...", Color::light_grey() }
};
Button button {
{ 60, 64, 120, 32 },
"Exit"
};
std::string title() const override { return "Custom remote"; };
private:
/*enum tx_modes {
IDLE = 0,
SINGLE,
SCAN
};
tx_modes tx_mode = IDLE;
struct remote_layout_t {
Point position;
std::string text;
};
const std::array<remote_layout_t, 32> remote_layout { };*/
Labels labels{
{{1 * 8, 0}, "Work in progress...", Color::light_grey()}};
Button button{
{60, 64, 120, 32},
"Exit"};
};
} /* namespace ui */