mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 22:40:25 +00:00
d3b58f732f
* settings power: introduce power settings app * power: move power API to separate file * settings power: implement reboot scene * settings power: add power off scene * assets: add crying dolphin, fix Subghz assets names * settings power: fix power off scene GUI * settings power: add battery info scene * power: add cli to application on start hook * power: remove power from main menu * power: move to power service folder * power service: rework power off logic * power: add pubsub events * bt: subscribe to battery level change, update characteristic * application: change order of Settings applications * gui: add bubble element * power: gui improvements * application: rename Notification -> LCD and notifications * Applications: menu order according to documentation and add missing power cli init * settings power: add disconnect USB scene * power cli: notify user to disconnect USB after poweroff * Power: update poweroff message in cli Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com> |
||
---|---|---|
.. | ||
compiled | ||
icons | ||
resources | ||
.gitignore | ||
assets.mk | ||
Makefile | ||
ReadMe.md |
Requirements
- Python3
- ImageMagic
- Make
Compiling
make all
Asset naming rules
Images and Animations
NAME_VARIANT_SIZE
NAME
- mandatory - Asset name in CamelCase. [A-Za-z0-9], special symbols not allowedVARIANT
- optional - icon variant: can relate to state or rendering conditions. Examples: active, inactive, inverted.SIZE
- mandatory - size in px. Example squere 10, 20, 24, etc. Example rectangular: 10x8, 19x5, etc.
Image names will be automatically prefixed with I_
, animation names with A_
.
Icons and Animations will be gathered into icon.h
and icon.c
.
Important notes
Don't include assets that you are not using, compiller is not going to strip unusued assets.