summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-06 22:18:41 -0400
committerpommicket <pommicket@gmail.com>2023-08-06 22:18:41 -0400
commit419d5b17f27b8d3dda1e59c6193f1ad9c3d218f8 (patch)
tree518b4b39f1cf9657becb44b401b64fc1fdc517d0 /ted.h
parent35ce572bf4333c12a6a578f72d7839042e6e273f (diff)
fix doxygen errors
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 2afe7e4..1b9338a 100644
--- a/ted.h
+++ b/ted.h
@@ -804,8 +804,11 @@ void macro_execute(Ted *ted, u32 index);
// === menu.c ===
/// register a new menu
void menu_register(Ted *ted, const MenuInfo *infop);
+/// close the currently opened menu.
void menu_close(Ted *ted);
+/// open menu by name (with `NULL` context pointer).
void menu_open(Ted *ted, const char *menu_name);
+/// open menu with context pointer which will be passed to the menu callback.
void menu_open_with_context(Ted *ted, const char *menu_name, void *context);
/// get the `context` value passed to the last \ref menu_open_with_context,
/// or `NULL` if no menu is open.