1/* 2 * General drawing routines 3 */ 4 5#ifndef _CTWM_DRAWING_H 6#define _CTWM_DRAWING_H 7 8typedef enum {on, off} ButtonState; 9 10 11void Draw3DBorder(Window w, int x, int y, int width, int height, int bw, 12 ColorPair cp, ButtonState state, bool fill, bool forcebw); 13 14 15typedef enum { 16 WSPCWINDOW, 17 OCCUPYWINDOW, 18 OCCUPYBUTTON, 19} PWBType; 20 21void PaintWsButton(PWBType which, VirtualScreen *vs, Window w, 22 char *label, ColorPair cp, ButtonState state); 23 24 25#endif // _CTWM_DRAWING_H 26