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
|
/*
* General drawing routines
*/
#ifndef _CTWM_DRAWING_H
#define _CTWM_DRAWING_H
typedef enum {on, off} ButtonState;
void Draw3DBorder(Window w, int x, int y, int width, int height, int bw,
ColorPair cp, ButtonState state, bool fill, bool forcebw);
typedef enum {
WSPCWINDOW,
OCCUPYWINDOW,
OCCUPYBUTTON,
} PWBType;
void PaintWsButton(PWBType which, VirtualScreen *vs, Window w,
char *label, ColorPair cp, ButtonState state);
#endif // _CTWM_DRAWING_H
|