Moved icon.h into esp-gui-lib
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -55,3 +55,6 @@
|
|||||||
[submodule "components/FastLED-idf"]
|
[submodule "components/FastLED-idf"]
|
||||||
path = components/FastLED-idf
|
path = components/FastLED-idf
|
||||||
url = git@github.com:0xFEEDC0DE64/FastLED-idf.git
|
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
|
||||||
|
1
components/esp-gui-lib
Submodule
1
components/esp-gui-lib
Submodule
Submodule components/esp-gui-lib added at f4b568f055
@@ -101,7 +101,6 @@ set(headers
|
|||||||
esp_websocket_client.h
|
esp_websocket_client.h
|
||||||
fontinterface.h
|
fontinterface.h
|
||||||
htmltag.h
|
htmltag.h
|
||||||
icon.h
|
|
||||||
iconinterface.h
|
iconinterface.h
|
||||||
icons/alert.h
|
icons/alert.h
|
||||||
icons/back.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
|
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
|
arduino-esp32 ArduinoJson esp-nimble-cpp FastLED-idf TFT_eSPI
|
||||||
bobbycar-protocol cpputils cxx-ring-buffer date
|
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(
|
idf_component_register(
|
||||||
|
14
main/icon.h
14
main/icon.h
@@ -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];
|
|
||||||
};
|
|
||||||
}
|
|
Reference in New Issue
Block a user