summaryrefslogtreecommitdiff
path: root/include/gui/textview.h
blob: 91106c009fd5dfe069dd738363e1daceb348b734 (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
#ifndef UPEM_MORPHING_TEXTVIEW
#define UPEM_MORPHING_TEXTVIEW

/**
 * File: textview.h
 *
 * Author:
 *   Adam NAILI
 */
#include "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