forked from amagnasco/xwpe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXwpe.h
26 lines (19 loc) · 803 Bytes
/
Xwpe.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
#ifndef __XWPE_H
#define __XWPE_H
/*-------------------------------------------------------------------------*\
<Xwpe.h> -- Header file for core Xwpe functions
Date Programmer Description
04/27/97 Dennis Created for xwpe reorganization.
\*-------------------------------------------------------------------------*/
typedef enum wpeMouseShape {
WpeEditingShape, WpeDebuggingShape, WpeWorkingShape, WpeErrorShape,
WpeSelectionShape, WpeLastShape
} WpeMouseShape;
/* Checks if programming editor is running (old variable currently used) */
#define WpeIsProg() (e_we_sw & 2)
/* Checks if x windows is running (old variable currently used) */
#define WpeIsXwin() (e_we_sw & 1)
#define WpeMalloc(x) malloc(x)
#define WpeRealloc(x, y) realloc(x, y)
#define WpeFree(x) free(x)
#endif