Move more apps + language module (#1643)

* CoasterP to ext (Burger pager)
* LGE to ext app
* Solve compiler literal removal with centralizing common string literals.
This commit is contained in:
Totoo
2023-12-12 16:55:50 +01:00
committed by GitHub
parent 5b9d898202
commit b58ee761a1
21 changed files with 429 additions and 152 deletions
+2 -2
View File
@@ -85,11 +85,11 @@ BLESpamView::BLESpamView(NavigationView& nav)
if (is_running) {
is_running = false;
stop();
button_startstop.set_text("Start");
button_startstop.set_text(LanguageHelper::currentMessages[LANG_START]);
} else {
is_running = true;
start();
button_startstop.set_text("Stop");
button_startstop.set_text(LanguageHelper::currentMessages[LANG_STOP]);
}
};
chk_randdev.set_value(true);
+2 -1
View File
@@ -28,6 +28,7 @@
#define __UI_BLESPAM_H__
#include "ui.hpp"
#include "ui_language.hpp"
#include "ui_navigation.hpp"
#include "ui_transmitter.hpp"
#include "ui_freq_field.hpp"
@@ -107,7 +108,7 @@ class BLESpamView : public View {
Button button_startstop{
{0, 3 * 16, 96, 24},
"Start"};
LanguageHelper::currentMessages[LANG_START]};
Checkbox chk_randdev{{100, 16}, 10, "Rnd device", true};
Console console{