mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-30 09:37:53 -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
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue