|
|
@ -1,11 +1,11 @@ |
|
|
|
#include "menu.h"
|
|
|
|
#include "icon_search.h"
|
|
|
|
#include "icon_wifi.h"
|
|
|
|
#i
|
|
|
|
#include "icon_settings.h"
|
|
|
|
|
|
|
|
namespace Menu { |
|
|
|
uint8_t menu_position = 0; |
|
|
|
uint8_t MAX_MENU_ITEMS = 2; |
|
|
|
uint8_t MAX_MENU_ITEMS = 3; |
|
|
|
|
|
|
|
void begin() { |
|
|
|
// Wait for the next frame to minimize chance of visible tearing
|
|
|
@ -30,6 +30,14 @@ namespace Menu { |
|
|
|
Video::video.setCursor(60,180); |
|
|
|
Video::video.setTextColor(0xC); |
|
|
|
Video::video.print("WiFi"); |
|
|
|
break; |
|
|
|
|
|
|
|
case 2: |
|
|
|
Video::drawBitmap(60, 50, icon_settings, 100, 100, 0xFF); |
|
|
|
Video::video.setFont(&FreeSansBold18pt7b); |
|
|
|
Video::video.setCursor(60,180); |
|
|
|
Video::video.setTextColor(0xC); |
|
|
|
Video::video.print("WiFi"); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|