Open max-ishere opened 7 months ago
It seems not all components should support nested components, only the container types:
Containers:
- canvas
- hbox
- vbox
The other components should not allow such declarations.
Components (non-container):
- label
- image
- progress_bar
- circular_progress
- list (currently hard coded to be a boot menu list)
It would be nice to slightly adjust the implementation of the parser and have 2 stages (the first one already exists and the second one is currently in development, I haven't pushed it yet and it will likely be in a separate branch for now)
parser::theme_txt::Document
.
Relevant GRUB documentation
https://www.gnu.org/software/grub/manual/grub-dev/grub-dev.html#GUI-Components
TODO
Related source files in this repo
lib: parser/theme_txt.rs examples: theme_txt.rs