mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-08 09:45:11 -04:00
Extract baseband stats into separate widget
Also removed baseband saturation indication on red (TX) LED. A saturation indicator needs to live somewhere else, and be thought out a bit more...
This commit is contained in:
parent
7c9fc62f5e
commit
154b40d3c9
4 changed files with 56 additions and 38 deletions
|
@ -32,6 +32,27 @@
|
|||
|
||||
namespace ui {
|
||||
|
||||
class BasebandStatsView : public View {
|
||||
public:
|
||||
BasebandStatsView();
|
||||
|
||||
void on_show() override;
|
||||
void on_hide() override;
|
||||
|
||||
private:
|
||||
Text text_used {
|
||||
{ 0, 0, 7 * 8, 1 * 16 },
|
||||
"",
|
||||
};
|
||||
|
||||
Text text_idle {
|
||||
{ 8 * 8, 0, 7 * 8, 1 * 16 },
|
||||
"",
|
||||
};
|
||||
|
||||
void on_statistics_update(const BasebandStatistics& statistics);
|
||||
};
|
||||
|
||||
class DebugMemoryView : public View {
|
||||
public:
|
||||
DebugMemoryView(NavigationView& nav);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue