mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-08 22:52:27 -04: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:
parent
a09c0e4c2d
commit
60de625c37
3 changed files with 54 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue