Wed, 10 Apr 2024 19:35:14 +0200
add convenience function to add nodes to the UI of the active window
--- a/src/ascension/ui.h Wed Apr 10 19:31:26 2024 +0200 +++ b/src/ascension/ui.h Wed Apr 10 19:35:14 2024 +0200 @@ -30,5 +30,8 @@ #include "ui/text.h" +#define asc_add_ui_node(node) \ + asc_scene_node_link(asc_context.active_window->ui, node) + #endif /* ASCENSION_UI_H */