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

@ -31,44 +31,41 @@
namespace ui {
enum ViewID {
Receiver,
AudioTX,
CloseCall,
Xylos,
EPAR,
LCR,
SoundBoard,
AnalogAudio,
RDS,
Jammer
Receiver,
AudioTX,
CloseCall,
Xylos,
EPAR,
LCR,
SoundBoard,
AnalogAudio,
RDS,
Jammer
};
class LoadModuleView : public View {
public:
LoadModuleView(NavigationView& nav, const char * hash, ViewID viewid);
void loadmodule();
void on_show() override;
void focus() override;
public:
LoadModuleView(NavigationView& nav, const char* hash, ViewID viewid);
void loadmodule();
private:
int load_image(void);
const char * _hash;
bool _mod_loaded = false;
Text text_info {
{ 8, 64, 224, 16 },
"-"
};
Text text_infob {
{ 8, 64+16, 224, 16 },
"-"
};
Button button_ok {
{ 88, 128, 64, 32 },
"OK"
};
void on_show() override;
void focus() override;
private:
int load_image(void);
const char* _hash;
bool _mod_loaded = false;
Text text_info{
{8, 64, 224, 16},
"-"};
Text text_infob{
{8, 64 + 16, 224, 16},
"-"};
Button button_ok{
{88, 128, 64, 32},
"OK"};
};
} /* namespace ui */