Moved icon.h into esp-gui-lib

This commit is contained in:
2021-08-18 16:53:32 +02:00
parent 1d2c5d3b67
commit 879f4d5767
4 changed files with 5 additions and 16 deletions

3
.gitmodules vendored
View File

@@ -55,3 +55,6 @@
[submodule "components/FastLED-idf"]
path = components/FastLED-idf
url = git@github.com:0xFEEDC0DE64/FastLED-idf.git
[submodule "components/esp-gui-lib"]
path = components/esp-gui-lib
url = git@github.com:0xFEEDC0DE64/esp-gui-lib.git

View File

@@ -101,7 +101,6 @@ set(headers
esp_websocket_client.h
fontinterface.h
htmltag.h
icon.h
iconinterface.h
icons/alert.h
icons/back.h
@@ -188,7 +187,7 @@ set(dependencies
libsodium freertos nvs_flash esp_http_server esp_https_ota mdns app_update esp_system esp_websocket_client driver
arduino-esp32 ArduinoJson esp-nimble-cpp FastLED-idf TFT_eSPI
bobbycar-protocol cpputils cxx-ring-buffer date
espasynchttpreq espasyncota espchrono espcpputils esphttpdutils espwifistack expected fmt
espasynchttpreq espasyncota espchrono espcpputils esp-gui-lib esphttpdutils espwifistack expected fmt
)
idf_component_register(

View File

@@ -1,14 +0,0 @@
#pragma once
#include <cstdint>
namespace {
template<uint16_t width, uint16_t height>
struct Icon
{
static constexpr auto WIDTH=width;
static constexpr auto HEIGHT=height;
const unsigned short buffer[width*height];
};
}