aboutsummaryrefslogtreecommitdiff
path: root/ui_ani.h
blob: 20a4b5aa65d856528abfe26d087c084135328a22 (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 UI_ANIC_H
#define UI_ANIC_H 1

#include <ncurses.h>

struct anic {
  unsigned int x;
  unsigned int y;
  char state;
};

struct anic *
init_anic(unsigned int x, unsigned int y);

void
free_anic(struct anic *a);

int
anic_cb(WINDOW *win, void *data, bool needs_update);

void
register_anic(struct anic *a, chtype attr);

#endif