summaryrefslogtreecommitdiff
path: root/include/gui/textview.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/textview.h')
-rw-r--r--include/gui/textview.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/gui/textview.h b/include/gui/textview.h
new file mode 100644
index 0000000..7a07eb3
--- /dev/null
+++ b/include/gui/textview.h
@@ -0,0 +1,20 @@
1#ifndef UPEM_MORPHING_TEXTVIEW
2#define UPEM_MORPHING_TEXTVIEW
3
4/**
5 * File: textview.h
6 */
7
8typedef struct {
9 Component component;
10 int length;
11 char *text;
12} TextView;
13
14void textview_init(TextView *textview, int length);
15
16void textview_free(TextView *textview);
17
18void textview_set_text(TextView *textView, char *text);
19
20#endif