summaryrefslogtreecommitdiffstats
path: root/api.cpp
Commit message (Collapse)AuthorAge
* Implement API method for setting current datetimeapi-classConfuSomu2021-03-28
|
* Implement API method for choosing between stringsConfuSomu2021-03-28
| | | | This allows creating a menu with more ease.
* Implement API method for popup forConfuSomu2021-03-16
| | | | choosing number
* Implement API method to ask user for yes/no choiceConfuSomu2021-03-16
|
* Move display of popup in API to generic functionConfuSomu2021-03-16
| | | | | | | | This allows implementing different popup types with more ease. This new function made me notice that the application's heap (and maybe stack) usage is high. When testing the updated gui_popup_text method, I noticed that sometimes, the std::string cannot be allocated. There are more details in the updated api header file.
* Dump display backbuffer only onceConfuSomu2021-03-04
| | | | | This reduces display flickering and might help in having a longer battery life.
* Fix footer and header background drawingConfuSomu2021-03-04
|
* Enter shallow sleep when there are no interactionsConfuSomu2021-03-02
| | | | Current app stops getting refreshed and display is turned off.
* Implement API to set/get render intervalConfuSomu2021-03-01
|
* Implement API method for setting performanceConfuSomu2021-03-01
| | | | | This is to lower power consumption by having the apps set the lowest performance they need.
* Implement API method for display header textConfuSomu2021-03-01
|
* Implement API method for displaying footer textConfuSomu2021-03-01
|
* Wait for button press then hide popupConfuSomu2021-03-01
|
* Implement method in API for drawing a popupConfuSomu2021-03-01
| | | | I had to modify the OLED library to correctly work with newlines.
* Expose features from the OLED library in the APIConfuSomu2021-02-28
|
* Refactor API function namesConfuSomu2021-02-27
|
* Implement getDatetime function in APIConfuSomu2021-02-27
|
* Use an Api class for abstractionConfuSomu2021-02-27
It is currently very basic as functions will be added to it when the time comes. The idea is to have a method to, for example, show notifications (and store them in a list with metadata) to the user or also to easily show a message box overlaying the current display. Private class members will permit encapsulations of variables related to these features and limit the privilage that each app has on the device.