Add: Widget layer container widget type, NWID_LAYER.

This widget allows child widgets to be overlaid on top of each other.

Very similar to NWID_SELECTION except all layers are always visible.
This commit is contained in:
2024-11-30 00:04:18 +00:00
committed by Peter Nelson
parent 1885bd7166
commit 60f1618cc7
2 changed files with 67 additions and 1 deletions

View File

@@ -78,6 +78,7 @@ enum WidgetType {
NWID_MATRIX, ///< Matrix container.
NWID_SPACER, ///< Invisible widget that takes some space.
NWID_SELECTION, ///< Stacked widgets, only one visible at a time (eg in a panel with tabs).
NWID_LAYER, ///< Layered widgets, all visible together.
NWID_VIEWPORT, ///< Nested widget containing a viewport.
NWID_BUTTON_DROPDOWN, ///< Button with a drop-down.
NWID_HSCROLLBAR, ///< Horizontal scrollbar