CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/drawing.h
Go to the documentation of this file.
1
/*
2
* General drawing routines
3
*/
4
5
#ifndef _CTWM_DRAWING_H
6
#define _CTWM_DRAWING_H
7
8
typedef
enum
{
on
,
off
}
ButtonState
;
9
10
11
void
Draw3DBorder
(
Window
w,
int
x
,
int
y
,
int
width,
int
height,
int
bw
,
12
ColorPair
cp,
ButtonState
state,
bool
fill
,
bool
forcebw
);
13
14
15
typedef
enum
{
16
WSPCWINDOW
,
17
OCCUPYWINDOW
,
18
OCCUPYBUTTON
,
19
}
PWBType
;
20
21
void
PaintWsButton
(
PWBType
which
,
VirtualScreen
*vs,
Window
w,
22
char
*label,
ColorPair
cp,
ButtonState
state);
23
24
25
#endif
// _CTWM_DRAWING_H
PlaceX
static int PlaceX
Definition
add_window.c:82
Draw3DBorder
void Draw3DBorder(Window w, int x, int y, int width, int height, int bw, ColorPair cp, ButtonState state, bool fill, bool forcebw)
Definition
drawing.c:34
ButtonState
ButtonState
Definition
drawing.h:8
off
@ off
Definition
drawing.h:8
on
@ on
Definition
drawing.h:8
PaintWsButton
void PaintWsButton(PWBType which, VirtualScreen *vs, Window w, char *label, ColorPair cp, ButtonState state)
Definition
drawing.c:153
PWBType
PWBType
Definition
drawing.h:15
WSPCWINDOW
@ WSPCWINDOW
Definition
drawing.h:16
OCCUPYBUTTON
@ OCCUPYBUTTON
Definition
drawing.h:18
OCCUPYWINDOW
@ OCCUPYWINDOW
Definition
drawing.h:17
y
int y
Definition
menus.c:70
x
int x
Definition
menus.c:69
ColorPair
Definition
ctwm.h:140
VirtualScreen
Definition
vscreen.h:7
Generated by
1.10.0