summaryrefslogtreecommitdiff
path: root/include/gui/textview.h
blob: 7a07eb38509d2241c5090a1908c27c1a02de1ffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef UPEM_MORPHING_TEXTVIEW
#define UPEM_MORPHING_TEXTVIEW

/**
 * File: textview.h
 */

typedef struct {
  Component component;
  int length;
  char *text;
} TextView;

void textview_init(TextView *textview, int length);

void textview_free(TextView *textview);

void textview_set_text(TextView *textView, char *text);

#endif