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

#include "component.h"

/**
 * 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