Commit Graph

17 Commits (a353fdbc1c34008e5dede0c88ab6122d9885a57f)

Author SHA1 Message Date
thyttan a353fdbc1c SliderInput: add rectangle object to slider object 2023-10-17 22:49:31 +02:00
thyttan 4ca116aaba SliderInput: track active drag handler in variable 2023-10-17 22:49:31 +02:00
thyttan b69274f364 SliderInput: vim auto-format + format tweak 2023-10-17 22:49:31 +02:00
thyttan 7e906ede25 SliderInput:refactor to return obj w funcs & vars
... making it possible to interact with the slider reachable in the scope
where the slider was initiated from.
2023-10-17 22:49:31 +02:00
thyttan 53242e8aaf SliderInput: contain config in an object 2023-10-17 22:49:31 +02:00
thyttan 87a8593b04 SliderInput: add function to auto progress
making it possible to track progress in e.g. a song.
2023-10-17 22:49:31 +02:00
thyttan 644d23a511 SliderInput: default graphics depend on appRect 2023-10-17 22:49:31 +02:00
thyttan a7787abba9 SliderInput: tweaks for showing multiple sliders 2023-10-17 22:49:31 +02:00
thyttan abfca68abb SliderInput: fix slider graphics
that was a little off after changing from using LCD overlay.
2023-10-17 22:49:31 +02:00
thyttan c86fd3458b SliderInput: load test app on load from Web IDE 2023-10-17 22:49:31 +02:00
thyttan afa7fd91ec SliderInput: precalculate static rectangles
also remove unneeded variable 'levelHeight'
2023-10-17 22:49:31 +02:00
thyttan ead101bb90 SliderInput: (WIP) fix rotation after refactor 2023-10-17 22:49:31 +02:00
thyttan 604350e328 SliderInput: refactor to not use LCD overlay 2023-10-17 22:49:31 +02:00
thyttan ffab963837 SliderInput: add horizontal configuration 2023-10-17 22:49:31 +02:00
thyttan 49d8346098 SliderInput: default prevLevel to middle of range. 2023-10-17 22:49:31 +02:00
thyttan 32903324ae SliderInput: be lazy about running callback funct
only run if the sliders level was changed.
2023-10-17 22:49:31 +02:00
thyttan 3c21342a7d libslider: split and move to modules and test app 2023-10-17 22:49:31 +02:00