Removed app floopper-bloopper and font FontGlyph (#549)

* Remove app floopper-bloopper and FontGlyph
* Gui: proper viewport allocator declaration

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
SG
2021-07-01 21:33:43 +10:00
committed by GitHub
parent 8211432685
commit b09f68c43d
7 changed files with 2 additions and 34 deletions

View File

@@ -105,8 +105,6 @@ void canvas_set_font(Canvas* canvas, Font font) {
u8g2_SetFont(&canvas->fb, u8g2_font_helvB08_tf);
} else if(font == FontSecondary) {
u8g2_SetFont(&canvas->fb, u8g2_font_haxrcorp4089_tr);
} else if(font == FontGlyph) {
u8g2_SetFont(&canvas->fb, u8g2_font_unifont_t_symbols);
} else if(font == FontKeyboard) {
u8g2_SetFont(&canvas->fb, u8g2_font_profont11_mf);
} else {

View File

@@ -13,12 +13,7 @@ typedef enum {
ColorBlack = 0x01,
} Color;
typedef enum {
FontPrimary = 0x00,
FontSecondary = 0x01,
FontGlyph = 0x02,
FontKeyboard = 0x03
} Font;
typedef enum { FontPrimary, FontSecondary, FontKeyboard } Font;
typedef enum {
AlignLeft,

View File

@@ -7,7 +7,7 @@
// TODO add mutex to view_port ops
ViewPort* view_port_alloc(ViewPortDrawCallback callback, void* callback_context) {
ViewPort* view_port_alloc() {
ViewPort* view_port = furi_alloc(sizeof(ViewPort));
view_port->orientation = ViewPortOrientationHorizontal;
view_port->is_enabled = true;