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:
		| @@ -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 { | ||||
|   | ||||
| @@ -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, | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user