From 670252dd0d070daa2b63c6846f4705157a620b94 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 1 Dec 2017 09:22:43 -0800 Subject: Somewhat fleshed out video settings view --HG-- branch : nuklear_ui --- tern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tern.h') diff --git a/tern.h b/tern.h index 57c62ff..6b239e9 100644 --- a/tern.h +++ b/tern.h @@ -47,6 +47,7 @@ tern_val tern_find_path_default(tern_node *head, char const *key, tern_val def, tern_val tern_find_path(tern_node *head, char const *key, uint8_t valtype); tern_node * tern_insert_ptr(tern_node * head, char const * key, void * value); tern_node * tern_insert_node(tern_node *head, char const *key, tern_node *value); +tern_node *tern_insert_path(tern_node *head, char const *key, tern_val val, uint8_t valtype); uint32_t tern_count(tern_node *head); void tern_foreach(tern_node *head, iter_fun fun, void *data); char * tern_int_key(uint32_t key, char * buf); -- cgit v1.2.3 From d728432b713702b6a564e3532930e380dd5d3f28 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 6 Feb 2018 22:42:16 -0800 Subject: Key binding menu is now functional --HG-- branch : nuklear_ui --- tern.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tern.h') diff --git a/tern.h b/tern.h index 6b239e9..adae44c 100644 --- a/tern.h +++ b/tern.h @@ -43,8 +43,10 @@ tern_node * tern_insert_int(tern_node * head, char const * key, intptr_t value); void * tern_find_ptr_default(tern_node * head, char const * key, void * def); void * tern_find_ptr(tern_node * head, char const * key); tern_node *tern_find_node(tern_node *head, char const *key); +uint8_t tern_delete(tern_node **head, char const *key, tern_val *out); tern_val tern_find_path_default(tern_node *head, char const *key, tern_val def, uint8_t req_valtype); tern_val tern_find_path(tern_node *head, char const *key, uint8_t valtype); +uint8_t tern_delete_path(tern_node **head, char const *key, tern_val *out); tern_node * tern_insert_ptr(tern_node * head, char const * key, void * value); tern_node * tern_insert_node(tern_node *head, char const *key, tern_node *value); tern_node *tern_insert_path(tern_node *head, char const *key, tern_val val, uint8_t valtype); -- cgit v1.2.3