mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 17:35:34 -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,25 +31,24 @@
|
|||
namespace ui {
|
||||
|
||||
class BasebandStatsView : public View {
|
||||
public:
|
||||
BasebandStatsView();
|
||||
public:
|
||||
BasebandStatsView();
|
||||
|
||||
private:
|
||||
Text text_stats {
|
||||
{ 0 * 8, 0, (4 * 4 + 3) * 8, 1 * 16 },
|
||||
"",
|
||||
};
|
||||
private:
|
||||
Text text_stats{
|
||||
{0 * 8, 0, (4 * 4 + 3) * 8, 1 * 16},
|
||||
"",
|
||||
};
|
||||
|
||||
MessageHandlerRegistration message_handler_stats {
|
||||
Message::ID::BasebandStatistics,
|
||||
[this](const Message* const p) {
|
||||
this->on_statistics_update(static_cast<const BasebandStatisticsMessage*>(p)->statistics);
|
||||
}
|
||||
};
|
||||
MessageHandlerRegistration message_handler_stats{
|
||||
Message::ID::BasebandStatistics,
|
||||
[this](const Message* const p) {
|
||||
this->on_statistics_update(static_cast<const BasebandStatisticsMessage*>(p)->statistics);
|
||||
}};
|
||||
|
||||
void on_statistics_update(const BasebandStatistics& statistics);
|
||||
void on_statistics_update(const BasebandStatistics& statistics);
|
||||
};
|
||||
|
||||
} /* namespace ui */
|
||||
|
||||
#endif/*__UI_BASEBAND_STATS_VIEW_H__*/
|
||||
#endif /*__UI_BASEBAND_STATS_VIEW_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue