| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
This game is a work in progress. It works a little. As I've had problems
with the buttons on my breadboard, I couldn't really work on the
project. The WIP is committed as I have to makes changes in another
branch and then push everything to a remote origin.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
These will be recreated in an app used for testing the Api.
|
|
|
|
|
| |
This helps with consistency (use of snake case) while keeping the method
names short ("btn" is used instead of "button").
|
|
|
|
|
| |
I have done some basic testing using breakpoints. I plan to build a app
used for testing the API and the feature set in the future.
|
| |
|
|
|
|
| |
status_check and cb_status_check.
|
|
|
|
|
| |
The main loop was reordered for a little optimisation as we cannot set
free standingly(?) anymore the render interval to 0.
|
|
|
|
|
|
|
|
|
| |
This simplifies managing the change of foreground app. Use the
performance_render_interval_{set,get} functions would be too cumbersome
to implement. Unfortunately, this might give too much freedom to running
apps, as they can decide to use a very small render interval which can
use more battery as the system cannot sleep while waiting for the next
render cycle.
|
|
|
|
| |
The display was not correctly cleared before.
|
|
|
|
|
|
|
|
|
| |
value when returning from render(), btnpressed() or bgrefresh().
This can help free system ressources when apps do not need to be running
anymore. The AppAttributes::destroy_on_exit is currently ignored to give
apps more freedom.
The main_clock app has had some changes done to test the new features.
|
|
|
|
|
|
|
| |
There is already another check done in app_mgr::app_init(). Checking
also in app_mgr::app_switch() is redundant. I am not sure if the
verification should instead be done in app_switch(). I can move it
later if required.
|
| |
|
|
|
|
|
| |
This is a more descriptive name as there could be multiple apps that are
currently open, or on-screen, such as a system UI or a status bar.
|
|
|
|
| |
This helps with compartmentalisation and organisation.
|
|
|
|
| |
when switching app.
|
|
|
|
|
| |
This change allows app_settings to be used under the new app
architecture.
|
| |
|
| |
|
|
|
|
|
| |
This is done to allow each app to be able to set their own app
attributes without having them be overshadowed by BaseApp's defaults.
|
|
|
|
|
|
|
|
|
| |
and create classes for home_menu and main_clock apps.
This commit has a lot of changes as multiple parts of the project had to be
changed to support running apps that are based on the BaseApp class. It
could not have been done in multiple commits as the progam would not be
able to build and thus I would not be able to test the changes.
|
| |
|
|
|
|
| |
They have been moved to a new file, to provide better encapulation.
|
|
|
|
|
|
|
|
| |
It is derived by each app. This allows finally allocating space for an
app's variable when it is opened.
On the other hand, currently, destruction of apps is not fully
implemented. This commit is also done to save a snapshot of something that
works.
|
|\ |
|
| |
| |
| |
| |
| | |
It is uneeded because of falling to the next case present in switch
statements.
|
| |
| |
| |
| | |
Did a small oversight where I wrote "month" instead of "day".
|
| |
| |
| |
| |
| | |
#pragma once will be used in every header file from now on. Changes will
be made for the other header files.
|
| | |
|
| |
| |
| |
| | |
Set between 24 hour and 12 hour format.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This allows to not save the settings, to avoid time drift, when just
looking at them.
|
| | |
|
| |
| |
| |
| |
| | |
Avoid displaying the first option again when something else has been
selected.
|
| |
| |
| |
| |
| | |
The buttons were very sensitive when moving around in the menus. This
change seems to remedy this problem.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Implement menu option that allows setting the current time.
|
|/ |
|
|
|
|
| |
This allows add to implement double clicking, for instance.
|
|
|
|
|
| |
This allows later updating the code to have the check work correctly
when start time > current time.
|
|
|
|
|
| |
Also commit settings.json updates made by VSCode.
This commit was done to have a clean working tree.
|
| |
|
|
|
|
|
|
|
|
|
| |
This existed because waiting for the app to finish rendering was done in
a blocking manner, meaning that the rendering state would never end.
This would block the microcontroller in a loop.
This was fixed by rewriting the part related to app switching to
correctly do the switching while the app is not rendering.
|
| |
|
|
|
|
|
|
|
| |
This avoids quitting the app when an Api popup is displayed, causing
problems.
The variable resposable for this has been renamed to better reflect its
use.
|