summaryrefslogtreecommitdiffstats
path: root/apps/home_menu.cpp
Commit message (Collapse)AuthorAge
* Add delta to app_btnpress argumentsConfuSomu2021-04-28
| | | | This allows add to implement double clicking, for instance.
* Remove heap allocations from home_menuConfuSomu2021-04-14
| | | | | This allows to "debloat" the space for others apps, which are not always loaded in memory, unlike home_menu.
* Add spaces to avoid displaying leftover charactersConfuSomu2021-04-14
|
* Remove button testing from home_menu appConfuSomu2021-04-08
|
* Use bool in bgrefreshConfuSomu2021-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.
* Use header and footer methods in appsConfuSomu2021-03-01
|
* Remove popup tests from home_menuConfuSomu2021-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.
* Refactor API function namesConfuSomu2021-02-27
|
* Implement getDatetime function in APIConfuSomu2021-02-27
|
* Remove unnecessary includesConfuSomu2021-02-27
|
* Init selected_app in home_menu to a default valueConfuSomu2021-02-27
| | | | | When the value references an out of bounds memory address, line 47 in same file may cause hardfault/segmentation fault.
* 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.
* Use dynamic allocation of app variables/dataConfuSomu2021-02-20
| | | | | | | Stop using APPS_DATA. Dynamic allocation allows to avoid having memory used by unloaded apps, thus giving more memory to running apps. Make sure to correctly deallocate with `delete` to avoid memory leaks! Exceptions to allocate memory will have to be handled...
* Adopt C++ConfuSomu2021-02-20
A large number of changes had to be made to use C++. "extern C" had to be added for a few headers not adapted to C++. See https://github.com/raspberrypi/pico-sdk/pull/106 for fix in affected files. They will be removed when the pull request is merged in pico-sdk's master branch.