~rcr/rirc

ref: 3e478875afa86a8af3832419bddbd019ed7d91dd rirc/src/draw.h -rw-r--r-- 477 bytes
3e478875 — Richard Robbins refactor namespacing of includes 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef RIRC_DRAW_H
#define RIRC_DRAW_H

enum draw_bit
{
	DRAW_INVALID,
	DRAW_FLUSH,  /* immediately draw all set bits */
	DRAW_BELL,   /* set bit to print terminal bell */
	DRAW_BUFFER, /* set bit to draw buffer */
	DRAW_INPUT,  /* set bit to draw input */
	DRAW_NAV,    /* set bit to draw nav */
	DRAW_STATUS, /* set bit to draw status */
	DRAW_ALL,    /* set all draw bits aside from bell */
};

void draw(enum draw_bit);
void draw_init(void);
void draw_term(void);

#endif