summaryrefslogtreecommitdiff
path: root/textscreen/txt_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/txt_button.h')
-rw-r--r--textscreen/txt_button.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/textscreen/txt_button.h b/textscreen/txt_button.h
index 330782f7..11040f2f 100644
--- a/textscreen/txt_button.h
+++ b/textscreen/txt_button.h
@@ -33,6 +33,8 @@ struct txt_button_s
};
txt_button_t *TXT_NewButton(char *label);
+txt_button_t *TXT_NewButton2(char *label, TxtWidgetSignalFunc func,
+ void *user_data);
void TXT_SetButtonLabel(txt_button_t *button, char *label);
#endif /* #ifndef TXT_BUTTON_H */