summaryrefslogtreecommitdiffstats
path: root/include/widgets/textbox.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-05-30 16:23:19 +0200
committerDave Davenport <qball@gmpclient.org>2017-05-30 16:23:19 +0200
commit9a6fd1c6c3d54c4a6db6ba7d15f317927f4036ec (patch)
treef87ad134ca304112591051fa9dee98a464080557 /include/widgets/textbox.h
parent7aef96d391a166e9768e1ed58de72c4bbe3740ba (diff)
parent4e6af2eab84157794684c485d15fb9624ec0f306 (diff)
Merge in master
Diffstat (limited to 'include/widgets/textbox.h')
-rw-r--r--include/widgets/textbox.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h
index 8b4c5386..904882bd 100644
--- a/include/widgets/textbox.h
+++ b/include/widgets/textbox.h
@@ -112,6 +112,7 @@ typedef enum
} TextBoxFontType;
/**
+ * @param type The type of the to be created widget.
* @param name The name of the to be created widget.
* @param flags #TextboxFlags indicating the type of textbox.
* @param tbft #TextBoxFontType current state of textbox.
@@ -122,9 +123,10 @@ typedef enum
* free with #widget_free
* @returns a new #textbox
*/
-textbox* textbox_create ( const char *name, TextboxFlags flags,
- TextBoxFontType tbft,
- const char *text );
+textbox* textbox_create_full ( WidgetType type, const char *name, TextboxFlags flags,
+ TextBoxFontType tbft,
+ const char *text );
+#define textbox_create( n, f, tbft, t ) textbox_create_full ( WIDGET_TYPE_UNKNOWN, n, f, tbft, t )
/**
* @param tb Handle to the textbox
* @param tbft The style of font to render.