Wed, 10 Apr 2024 19:35:14 +0200
add convenience function to add nodes to the UI of the active window
src/ascension/ui.h | file | annotate | diff | comparison | revisions |
1.1 --- a/src/ascension/ui.h Wed Apr 10 19:31:26 2024 +0200 1.2 +++ b/src/ascension/ui.h Wed Apr 10 19:35:14 2024 +0200 1.3 @@ -30,5 +30,8 @@ 1.4 1.5 #include "ui/text.h" 1.6 1.7 +#define asc_add_ui_node(node) \ 1.8 + asc_scene_node_link(asc_context.active_window->ui, node) 1.9 + 1.10 #endif /* ASCENSION_UI_H */ 1.11