From 47450574a808b078fb5cc907ae3276ae4947605a Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sun, 19 Dec 2021 20:34:58 -0500 Subject: [PATCH] Cleanup config, update readme --- README.md | 4 ++-- src/config.cpp | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 952f9cd..bb7e468 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ direct SDL2 calls. Features/TODO ============= -- Write straight to framebuffer (sdl2) -- Display Weather rss feed +- Write straight to framebuffer (sdl2) (DONE) +- Display Weather rss feed (DONE) - Display camera feed - Display who is home - Display network speed diff --git a/src/config.cpp b/src/config.cpp index adacbfd..dd72a10 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -17,9 +17,6 @@ size_t PANELS_LENGTH = sizeof(PANELS)/sizeof(PANELS[0]); // Locations of all static images used const char* IMAGE_LOCATIONS[] = { "bmp_24.png", - //Weather - "sunny.png", - "rainy.png", }; size_t IMAGE_LOCATIONS_LENGTH = sizeof(IMAGE_LOCATIONS)/sizeof(IMAGE_LOCATIONS[0]); @@ -30,8 +27,6 @@ size_t IMAGE_LOCATIONS_LENGTH = sizeof(IMAGE_LOCATIONS)/sizeof(IMAGE_LOCATIONS[0 // const size_t _size; //}; const FONT_SIZE FONT_LOCATIONS[] = { - { "Roboto_Mono/RobotoMono-Medium.ttf", 24 }, - { "Roboto_Mono/RobotoMono-Medium.ttf", 36 }, { "Roboto_Mono/RobotoMono-Medium.ttf", 50 }, }; size_t FONT_LOCATIONS_LENGTH = sizeof(FONT_LOCATIONS)/sizeof(FONT_LOCATIONS[0]); @@ -45,7 +40,5 @@ size_t FONT_LOCATIONS_LENGTH = sizeof(FONT_LOCATIONS)/sizeof(FONT_LOCATIONS[0]); const FONT_SIZE_STRING CONST_STRINGS[] = { //Weather strings { "Today's Weather", { "Roboto_Mono/RobotoMono-Medium.ttf", 36 } }, - //{ "Sunny" , { "Roboto_Mono/RobotoMono-Medium.ttf", 24 } }, - //{ "Rainy" , { "Roboto_Mono/RobotoMono-Medium.ttf", 24 } }, }; size_t CONST_STRINGS_LENGTH = sizeof(CONST_STRINGS)/sizeof(CONST_STRINGS[0]);