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

/**
 * File: textview.h
 *
 * Author:
 *   Adam NAILI
 */

#include "gui/component.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