1
0
forked from me/IronOS
Commit Graph

39 Commits

Author SHA1 Message Date
Alvin Wong
d9b0e7cf6b Draw menu icon even during a transition 2021-05-04 18:14:39 +08:00
Alvin Wong
9e40449c64 Add menu exit transition animation
Part of which was removed in commit 04d72cb.
2021-05-04 18:14:39 +08:00
Alvin Wong
a27db526af Remove the scroll indicator when scrolling menu 2021-05-03 16:53:45 +08:00
Alvin Wong
82c985d785 Impl. menu item scroll down animation 2021-05-02 21:57:45 +08:00
alvinhochun
969cadc3eb Change description scroll message behaviour (#950)
* Refactor: Extract common scroll message code

* Change desc. scrolling to stop at the start and end

* Extract `ScrollMessage` to its own file
2021-05-02 18:12:41 +10:00
alvinhochun
1a0b542ae6 [RFC] Multi-language firmware (second try) (#941)
* Impl. sectioned font table in firmware

* make_translation.py: Extract build_symbol_conversion_table function

* Put translation indices and strings in a struct

* Move translation objcopy step to Python

* Impl. multi-language firmware demo

* Impl. strings-compressed multi-lang firmware demo

* Add font compression to multi-lang demo

* Refactor Makefile a bit

* Fix rules for make < 4.3

* Add more multi-lang groups

* Add Pinecil multi-lang CI build

* Add lzfx compression license text

* Remote multi-language demo group

* Fix build after merge

* Import code from BriefLZ

* Change brieflz for our use case

* Change compression to use brieflz

* Remove lzfx code

* Update license file for brieflz

* Exclude brieflz files from format check

* Add BriefLZ test
2021-04-30 18:51:13 +10:00
Ben V. Brown
3e7dd3b150 Merge branch 'master' into messing_with_pd 2021-04-10 11:40:31 +10:00
Alvin Wong
7d6d7d11c0 Put translation str indices into a struct 2021-04-09 17:20:24 +08:00
Alvin Wong
82620c685d Change translation strs to be stored in one block 2021-04-09 14:45:33 +08:00
Alvin Wong
09a58f6f48 Use settings desc by indexing instead of direct pointer 2021-04-09 03:01:14 +08:00
Ben V. Brown
d56332d06b Merge branch 'master' into messing_with_pd 2021-04-05 20:01:40 +10:00
Alvin Wong
ab1b48a0f2 Change ResetOKMessage to use warnUser 2021-04-05 16:40:36 +08:00
Alvin Wong
53c02dca33 Refactor printing CJK menu with large font into OLED.cpp 2021-04-05 15:48:12 +08:00
Alvin Wong
55fa5c95e4 Change SettingsShortNames to use one string
This unifies its behaviour with SettingsMenuEntries.
2021-04-05 15:48:06 +08:00
Ben V. Brown
77fd9f6a2d Move configuration into inc 2021-04-04 22:48:41 +10:00
Alvin Wong
80b86ea083 Remove unused menu strings 2021-03-29 03:26:39 +08:00
Alvin Wong
c549c77aaf Refactor: Use enum to index settings descriptions 2021-03-24 23:58:45 +08:00
Alvin Wong
b2f9eab7fb Refactor font style to be set when printing
Removes the font setting as a global state.
2021-03-21 21:46:12 +08:00
Alvin Wong
17824fb376 Fix scrolling text using incorrect length 2021-03-20 15:45:40 +08:00
Ben V. Brown
04d72cbcd8 Allow menu items to be skipped automatically | skip power pulse settings if its turned off 2021-03-18 22:01:02 +11:00
Ben V. Brown
ecf4651f6d Fix animation speed 2021-03-16 21:42:30 +11:00
Ben V. Brown
bb379e4ac0 Create Settings Off char 2021-03-16 21:42:11 +11:00
Ben V. Brown
41f0a1f347 Formatting pass 2021-03-16 20:29:28 +11:00
Ben V. Brown
17f76b8c36 Merge pull request #882 from devydd/fix_no_hold_on_last_value
Fix: no hold time on the last value when incrementing
2021-03-16 20:25:55 +11:00
Devydd
c13991cd25 Add user-adjustable "time between Power Pulses" and "Power Pulse duration" 2021-03-16 01:15:05 +01:00
Devydd
e831e83e27 Fix: no hold time on the last value when incrementing 2021-03-16 01:11:41 +01:00
alvinhochun
603d9d0ac2 Fix userConfirmation scroll speed (#878) 2021-03-15 22:37:12 +11:00
Ben V. Brown
337c932b23 Cleanup (#877)
* Clean translation

* Create enum for off/slow/med/fast

* Update configuration.h

* Default loop on

* Create Medium speed symbol slot

* True/False are no longer defined, move to off string + slightly smoother lerp animations
2021-03-15 21:43:01 +11:00
Ben V. Brown
7fbfde7b33 Correct a few missed time values from the tick rate change (#874)
* Pass over all refs to xTaskGetTickCount()

* That wasn't a second 😓

* Update FreeRTOSConfig.h

* Fix warning in usb code; style; fix slow description
2021-03-15 21:01:09 +11:00
PlayDay
2796f095af Animated icons (#866)
* Add animation Icons

* 2D dimensional array

* Added animation to GUI

* Added Adnimation Speed setting

* Added loop

* Added Loop switch

* Use Checkbox instead of +/-

* Animations can now be turned off

* Optimize animation code

* Move animation options to UI settings
2021-03-15 18:01:12 +11:00
PlayDay
7540684865 Fix scroll blink 2021-03-08 13:19:25 +01:00
PlayDay
ca6122d3be N/A now translatable 2021-03-08 06:43:20 +01:00
PlayDay
def2aa89fd Add more voltage settings 2021-03-07 11:34:04 +01:00
Ben V. Brown
3e56826e04 Run formatter 2021-02-24 20:30:36 +11:00
Richard Körber
1d8f83b5e9 Change temperature steps for long step config
Added two new steps in the long step config: short step (=1) and half long step (=5). This allows swapping of short and long press behavior.
2021-02-15 12:07:43 +01:00
Alvin Wong
47692024c5 Impl. CJK support with zh-TW and yue-HK translations
Also add support for generating font table using the WenQuanYi Bitmap
Song font.
2021-02-07 00:10:38 +08:00
Thomas Weißschuh
15e51f9faa Generate per-language translation sources (#806)
This generates dedicates Translation.cpp files for translation language
and derives all language-specific data from them.

The Makefile is extended to also take care of generating these source
files.
This allows reuse of nearly all object files between builds of different
languages for the same model and regenerating the translation sources if
necessary.
This speeds up the release builds and the normal write-compile-cycle
considerably.
It also eliminates miscompilations when manually building different
languages.
2021-02-02 19:44:34 +11:00
Ben V. Brown
f786901da0 Formatting the C/C++ files 2021-01-17 10:48:52 +11:00
Ben V. Brown
184b2c909f ./workspace/TS100 -> ./source/ 2021-01-17 09:43:55 +11:00