diff options
author | pacien | 2017-12-04 16:21:26 +0100 |
---|---|---|
committer | pacien | 2017-12-04 16:21:26 +0100 |
commit | cc1f6d08e843a2d80e7d536ff71535aaca15f318 (patch) | |
tree | 5291adbec612109da3a3641050dd9dc492093bb1 /include/gui/textview.h | |
parent | c202e46b001238de48b500c55f7392c53655d140 (diff) | |
download | morpher-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.h | 20 |
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 | |||
8 | typedef struct { | ||
9 | Component component; | ||
10 | int length; | ||
11 | char *text; | ||
12 | } TextView; | ||
13 | |||
14 | void textview_init(TextView *textview, int length); | ||
15 | |||
16 | void textview_free(TextView *textview); | ||
17 | |||
18 | void textview_set_text(TextView *textView, char *text); | ||
19 | |||
20 | #endif | ||