mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 23:09:26 -05:00
Merge pull request #1141 from u-foka/pmem-debug-rename
improve P.Memory naming consistency
This commit is contained in:
commit
b1733cbd2a
@ -382,7 +382,7 @@ DebugMenuView::DebugMenuView(NavigationView& nav) {
|
|||||||
{"Peripherals", ui::Color::dark_cyan(), &bitmap_icon_peripherals, [&nav]() { nav.push<DebugPeripheralsMenuView>(); }},
|
{"Peripherals", ui::Color::dark_cyan(), &bitmap_icon_peripherals, [&nav]() { nav.push<DebugPeripheralsMenuView>(); }},
|
||||||
{"Temperature", ui::Color::dark_cyan(), &bitmap_icon_temperature, [&nav]() { nav.push<TemperatureView>(); }},
|
{"Temperature", ui::Color::dark_cyan(), &bitmap_icon_temperature, [&nav]() { nav.push<TemperatureView>(); }},
|
||||||
{"Buttons Test", ui::Color::dark_cyan(), &bitmap_icon_controls, [&nav]() { nav.push<DebugControlsView>(); }},
|
{"Buttons Test", ui::Color::dark_cyan(), &bitmap_icon_controls, [&nav]() { nav.push<DebugControlsView>(); }},
|
||||||
{"p.mem", ui::Color::dark_cyan(), &bitmap_icon_memory, [&nav]() { nav.push<DebugPmemView>(); }},
|
{"P.Memory", ui::Color::dark_cyan(), &bitmap_icon_memory, [&nav]() { nav.push<DebugPmemView>(); }},
|
||||||
});
|
});
|
||||||
set_max_rows(2); // allow wider buttons
|
set_max_rows(2); // allow wider buttons
|
||||||
}
|
}
|
||||||
|
@ -269,7 +269,7 @@ class DebugPmemView : public View {
|
|||||||
DebugPmemView(NavigationView& nav);
|
DebugPmemView(NavigationView& nav);
|
||||||
void focus() override;
|
void focus() override;
|
||||||
bool on_encoder(const EncoderEvent delta) override;
|
bool on_encoder(const EncoderEvent delta) override;
|
||||||
std::string title() const override { return "p.mem"; }
|
std::string title() const override { return "P.Mem Debug"; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct pmem_data {
|
struct pmem_data {
|
||||||
|
@ -470,7 +470,7 @@ class SetPersistentMemoryView : public View {
|
|||||||
private:
|
private:
|
||||||
Text text_pmem_about{
|
Text text_pmem_about{
|
||||||
{0, 1 * 16, 240, 16},
|
{0, 1 * 16, 240, 16},
|
||||||
"PersistentMemory from/to SD"};
|
"Persistent Memory from/to SD"};
|
||||||
|
|
||||||
Text text_pmem_informations{
|
Text text_pmem_informations{
|
||||||
{0, 2 * 16, 240, 16},
|
{0, 2 * 16, 240, 16},
|
||||||
|
Loading…
Reference in New Issue
Block a user