Cleanup config, update readme

This commit is contained in:
Tyler Perkins 2021-12-19 20:34:58 -05:00
parent 13fc769641
commit 47450574a8
2 changed files with 2 additions and 9 deletions

View File

@ -7,8 +7,8 @@ direct SDL2 calls.
Features/TODO Features/TODO
============= =============
- Write straight to framebuffer (sdl2) - Write straight to framebuffer (sdl2) (DONE)
- Display Weather rss feed - Display Weather rss feed (DONE)
- Display camera feed - Display camera feed
- Display who is home - Display who is home
- Display network speed - Display network speed

View File

@ -17,9 +17,6 @@ size_t PANELS_LENGTH = sizeof(PANELS)/sizeof(PANELS[0]);
// Locations of all static images used // Locations of all static images used
const char* IMAGE_LOCATIONS[] = { const char* IMAGE_LOCATIONS[] = {
"bmp_24.png", "bmp_24.png",
//Weather
"sunny.png",
"rainy.png",
}; };
size_t IMAGE_LOCATIONS_LENGTH = sizeof(IMAGE_LOCATIONS)/sizeof(IMAGE_LOCATIONS[0]); 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 size_t _size;
//}; //};
const FONT_SIZE FONT_LOCATIONS[] = { const FONT_SIZE FONT_LOCATIONS[] = {
{ "Roboto_Mono/RobotoMono-Medium.ttf", 24 },
{ "Roboto_Mono/RobotoMono-Medium.ttf", 36 },
{ "Roboto_Mono/RobotoMono-Medium.ttf", 50 }, { "Roboto_Mono/RobotoMono-Medium.ttf", 50 },
}; };
size_t FONT_LOCATIONS_LENGTH = sizeof(FONT_LOCATIONS)/sizeof(FONT_LOCATIONS[0]); 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[] = { const FONT_SIZE_STRING CONST_STRINGS[] = {
//Weather strings //Weather strings
{ "Today's Weather", { "Roboto_Mono/RobotoMono-Medium.ttf", 36 } }, { "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]); size_t CONST_STRINGS_LENGTH = sizeof(CONST_STRINGS)/sizeof(CONST_STRINGS[0]);