| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|