mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-11-16 00:34:33 +00:00
Added fonts viewer (debug) app (#1251)
* Added fonts viewer (debug) app * Added fonts viewer (debug) app * Clang * Use degree symbol vs asterisk for latitude/longitude degrees * Save a few bytes by not overriding on_key * Save a few bytes by not overriding on_key * Clang
This commit is contained in:
@@ -310,6 +310,17 @@ class DebugPmemView : public View {
|
||||
uint32_t registers_widget_feed(const size_t register_number);
|
||||
};
|
||||
|
||||
class DebugFontsView : public View {
|
||||
public:
|
||||
DebugFontsView(NavigationView& nav);
|
||||
void paint(Painter& painter) override;
|
||||
std::string title() const override { return "Fonts"; };
|
||||
|
||||
private:
|
||||
uint16_t display_font(Painter& painter, uint16_t y_offset, const Style* font_style, std::string_view font_name);
|
||||
NavigationView& nav_;
|
||||
};
|
||||
|
||||
/*class DebugLCRView : public View {
|
||||
public:
|
||||
DebugLCRView(NavigationView& nav, std::string lcrstring);
|
||||
|
||||
Reference in New Issue
Block a user