Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The PR adds a new component based UI system to Indigo, allowing you to build UI's that automatically flow the layout. You can use it in two ways:
WindowManager
subsystem to get window-like functionality. (Nice demos in the Roguelike-starterkit)This work has been a long time coming. I think I've been looking at it off and on for nine months now, and I'm confident that it will still have a lot of sharp edges and areas that could be improved. That said, it feels like a decent foundation to build on and is surely useful as-is, even if imperfect. Also I'm very pleased to see the back of it!
This work started life in the roguelike-starterkit, but has been made generic and backported to Indigo.
For now, the outstanding work is that we're going to need demos and docs, but that should live in indigo-docs. I have tested all this in the Roguelike-starterkit, and will do so again before merging this PR.
This PR also moves the existing Indigo UI components from
indigoextras.ui.*
toindigoextras.ui.simple.*
.The new work can be imported with:
switches_and_radios.mov
switches_and_radios_terminal.mov