mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Starting GUI render refactor to be more immediate mode
Update TemperatureAdjust.cpp . Cleanup Soldering Sleep SolderingProfiles Soldering Rework Rough pass GUI Temp Adjust Cleanup old OperatingMode Debug Menu
This commit is contained in:
18
source/Core/Threads/GUIRendering.md
Normal file
18
source/Core/Threads/GUIRendering.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# GUI Rendering
|
||||
|
||||
The GUI aims to be somewhat similar to immediate mode rendering, where the screen is re-rendered each sweep.
|
||||
This is due to a few aims:
|
||||
|
||||
1. Functions should try and contain their state to the context struct (helps keep state usage flatter)
|
||||
2. Allows external events to change the state
|
||||
3. Means state can be read/write over BLE or other external control interfaces
|
||||
|
||||
## TODO notes
|
||||
|
||||
On settings menu exit:
|
||||
|
||||
```
|
||||
OLED::useSecondaryFramebuffer(true);
|
||||
showExitMenuTransition = true;
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user