-
Notifications
You must be signed in to change notification settings - Fork 0
/
status.h
37 lines (32 loc) · 1.07 KB
/
status.h
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
26
27
28
29
30
31
32
33
34
35
36
37
/*
* status.h
*
* CAVE WALL - Colored Ascii Visual Editor Without Any Loathsome Limitations
* Status line routines - header file
*
* Copyright (C) 2002 Michal Miszewski <fixer@irc.pl>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef STATUS_H
#define STATUS_H
#define status_normal wbkgdset(statusw, ' ' | COLOR_PAIR(spair) | A_NORMAL)
#define status_bold wbkgdset(statusw, ' ' | COLOR_PAIR(spair) | A_BOLD)
extern WINDOW *statusw;
extern int actx, acty, xsize;
extern int leftline, topline;
extern short color, background, mode;
extern chtype attribute;
extern chtype oldchar;
extern int avals[];
extern bool blockmode;
void zero(int number, char out[4]);
void update_status(void);
void clear_status(void);
void status_input(char fname[], char def[], char text[], int max);
int status_question(char fname[], char answers[], short def);
void status_message(char message[]);
void status_error(void);
#endif /* STATUS_H */