summaryrefslogtreecommitdiff
path: root/include/gui/textview.h
diff options
context:
space:
mode:
authorpacien2017-12-04 16:21:26 +0100
committerpacien2017-12-04 16:21:26 +0100
commitcc1f6d08e843a2d80e7d536ff71535aaca15f318 (patch)
tree5291adbec612109da3a3641050dd9dc492093bb1 /include/gui/textview.h
parentc202e46b001238de48b500c55f7392c53655d140 (diff)
downloadmorpher-cc1f6d08e843a2d80e7d536ff71535aaca15f318.tar.gz
Add GUI spec draft
Signed-off-by: pacien <pacien.trangirard@pacien.net>
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