GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — Remove unused pointer to DisplayApp member variables by NeroBurner · Pull Request #2125 · InfiniTimeOrg/InfiniTime Conversation
|
|
Build size and comparison to main:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
e61860b to
d1a0377
Compare
|
build error because of unused variable, removing |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
In the screens that use `DisplayApp *app` and pass it to a child item, or use the reference just in the constructor. Afterwards the `app` member is not used. So remove it from the private member variables. Completely remove `app` parameter from `SettingDisplay` constructor as it is unused.
d1a0377 to
a202a3f
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* Remove unused pointer to DisplayApp member variables (InfiniTimeOrg#2125) In the screens that use `DisplayApp *app` and pass it to a child item, or use the reference just in the constructor. Afterwards the `app` member is not used. So remove it from the private member variables. Completely remove `app` parameter from `SettingDisplay` constructor as it is unused. * MusicService: add missing includes for TickType_t and xTaskGetTickCount (InfiniTimeOrg#2130) Add `FreeRTOS.h` include for the directly used data type `TickType_t` in the header and the function `xTaskGetTickCount` from FreeRTOS's `task.h` * settings: Add global widget selection Instead of each watch face implementing their own settings for which widgets to display, we can have a global selection of widgets. All watch faces can then determine whether it is enabled and so display it in whichever way makes sense for that face. Current widgets supported are heart rate, step counter, and weather. * WatchFaceAnalog: Add configurable widgets * WatchFaceAnalog: Add weather widget --------- Co-authored-by: NeroBurner <[email protected]> Co-authored-by: Victor Kareh <[email protected]>
* Remove unused pointer to DisplayApp member variables (InfiniTimeOrg#2125) In the screens that use `DisplayApp *app` and pass it to a child item, or use the reference just in the constructor. Afterwards the `app` member is not used. So remove it from the private member variables. Completely remove `app` parameter from `SettingDisplay` constructor as it is unused. * MusicService: add missing includes for TickType_t and xTaskGetTickCount (InfiniTimeOrg#2130) Add `FreeRTOS.h` include for the directly used data type `TickType_t` in the header and the function `xTaskGetTickCount` from FreeRTOS's `task.h` * BatteryIcon: Change color with charge percentage --------- Co-authored-by: NeroBurner <[email protected]> Co-authored-by: Victor Kareh <[email protected]>
* Remove unused pointer to DisplayApp member variables (InfiniTimeOrg#2125) In the screens that use `DisplayApp *app` and pass it to a child item, or use the reference just in the constructor. Afterwards the `app` member is not used. So remove it from the private member variables. Completely remove `app` parameter from `SettingDisplay` constructor as it is unused. * MusicService: add missing includes for TickType_t and xTaskGetTickCount (InfiniTimeOrg#2130) Add `FreeRTOS.h` include for the directly used data type `TickType_t` in the header and the function `xTaskGetTickCount` from FreeRTOS's `task.h` * Improved the Terminal Watchfaces UI + Reorder code to match the widgets order in the UI. + Use InfintimeTheme Colors instead of hardcoded hex values + Added a new InfinitimeTheme color: gray, using it to turn certain values gray when they contain no data + Implement @vkareh's [variable battery icon](InfiniTimeOrg#1964) color to the battery percentage text. + Replaced the 'You have mail.' notification message with the message '[1]+ Notify' to better fit the terminal lore. --------- Co-authored-by: NeroBurner <[email protected]> Co-authored-by: JustScott <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.