Browse Source

Initial

master
Englebert 3 years ago
parent
commit
b12d52a3c8
  1. 0
      icon_search.h
  2. 0
      icon_wifi.h
  3. BIN
      icons/search.jpg
  4. 12
      menu.cpp

0
search.h → icon_search.h

0
wifi.h → icon_wifi.h

BIN
icons/search.jpg

After

Width: 136  |  Height: 140  |  Size: 14 KiB

12
menu.cpp

@ -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;
}
}

Loading…
Cancel
Save