Commit graph

9 commits

Author SHA1 Message Date
MatthewColvin
a19e84ee80 convert single LvglMutex into a Lvgl resource manager that will allow for easy multi threaded use of Lvgl through program. 2023-10-03 20:40:17 -05:00
MatthewColvin
94d75fa4d5 Make Key press sim use SDL event watcher for key event grabbing.
Create a mutex for UI that will help make it possible to run handlers that update UI elements on seprate threads.

its far from perfect but should hold up for now.
2023-10-02 20:41:42 -05:00
MatthewColvin
a44e92ea5d Add boiler plate Key Handling Into the UI code for UI elements 2023-09-29 16:03:51 -05:00
MatthewColvin
f5b7b7bc5f Merge remote-tracking branch 'upstream/abstraction' into UIRefactor 2023-09-17 19:45:03 -05:00
MatthewColvin
52cb2e7ce2 Add background color setter in UIElement
Use main to spawn refacoredBasic UI
Start using new screen manager and
screen concepts
2023-09-16 16:44:15 -05:00
MatthewColvin
1458aa7992 clang format code 2023-09-16 15:34:16 -05:00
MatthewColvin
91d7c9fffc put old UI in UI::Basic namespace 2023-09-16 15:24:48 -05:00
MatthewColvin
64a868a907 rename UIAbstract to UIBase and extend basic UI from it 2023-09-16 14:19:12 -05:00
MatthewColvin
5c6008c491 Add UI abstract and move some files into a basic folder 2023-09-16 12:45:12 -05:00