![]() |
Contur 2
Educational OS kernel simulator
|
Configuration for FtxuiApp behaviour. More...
#include <ftxui_app.h>
Public Attributes | |
| std::uint32_t | defaultIntervalMs = 300 |
| Autoplay interval used when [Space] is pressed to start play. | |
| std::size_t | defaultStep = 1 |
| Kernel ticks advanced per autoplay step. | |
| std::uint32_t | frameIntervalMs = 33 |
| UI frame refresh rate in milliseconds (~30 fps). | |
| std::uint32_t | minIntervalMs = 50 |
| Minimum autoplay interval (fastest speed). | |
| std::uint32_t | maxIntervalMs = 2000 |
| Maximum autoplay interval (slowest speed). | |
| std::function< std::vector< std::string >()> | logProvider |
| Optional callback returning formatted kernel log lines. | |
Configuration for FtxuiApp behaviour.
Definition at line 37 of file ftxui_app.h.
| std::uint32_t contur::FtxuiAppConfig::defaultIntervalMs = 300 |
Autoplay interval used when [Space] is pressed to start play.
Definition at line 40 of file ftxui_app.h.
| std::size_t contur::FtxuiAppConfig::defaultStep = 1 |
Kernel ticks advanced per autoplay step.
Definition at line 43 of file ftxui_app.h.
| std::uint32_t contur::FtxuiAppConfig::frameIntervalMs = 33 |
UI frame refresh rate in milliseconds (~30 fps).
Definition at line 46 of file ftxui_app.h.
| std::function<std::vector<std::string>()> contur::FtxuiAppConfig::logProvider |
Optional callback returning formatted kernel log lines.
Definition at line 55 of file ftxui_app.h.
| std::uint32_t contur::FtxuiAppConfig::maxIntervalMs = 2000 |
Maximum autoplay interval (slowest speed).
Definition at line 52 of file ftxui_app.h.
| std::uint32_t contur::FtxuiAppConfig::minIntervalMs = 50 |
Minimum autoplay interval (fastest speed).
Definition at line 49 of file ftxui_app.h.