summaryrefslogtreecommitdiff
path: root/marquee.h
blob: 94f32886d2c163801808990837d749fa7b91c525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef MARQUEE
#define MARQUEE
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Marquee {
	char* text;
	int textLength;
	int scrolledBy;
	int scrollMax;
	char doesScroll;
} marquee_t;
marquee_t make_marquee(char* str);
void scroll_marquee(marquee_t* marquee, int increment);
#ifdef __cplusplus
}
#endif
#endif