home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff386.lzh
/
XLispStat
/
src3.lzh
/
Mac
/
macgraphwindow.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-07-30
|
2KB
|
54 lines
/**************************************************************************/
/** **/
/** General Definitions **/
/** **/
/**************************************************************************/
#ifdef MPWC
# define gray qd.gray
# define black qd.black
# define thePort qd.thePort
# define screenBits qd.screenBits
# define arrow qd.arrow
# define MBarHeight GetMBarHeight()
# define TRUE 1
# define FALSE 0
# undef extend
#endif MPWC
#define InitialTop (20 + MBarHeight)
#define InitialLeft 10
#define MOUSE_TOLERANCE 0
typedef struct {
long Object; /* elements of window_data */
int idleOn, frontOnly; /* elements of window_data */
int mouse_x, mouse_y; /* elements of window_data */
WindowPtr window;
int (*FreeMem)();
ColorCode backColor, drawColor;
int canvasWidth, canvasHeight;
int lineType, drawMode, lineWidth;
long RefCon;
int use_color;
int hasHscroll, hasVscroll, view_h, view_v;
int v_scroll_inc[2], h_scroll_inc[2];
ControlHandle hscroll, vscroll;
int initialized;
int symbolMode;
int cursor;
Rect clip_rect;
int clipped;
} StGWWinInfo;
extern Rect scroll_bar_bounds();
#define GetWRefCon(w) (((WindowPeek)(w))->refCon)
#define BAG_RES 1800
#define GLASS_RES 1801
#define CAN_RES 1802
#define BRUSH_RES 1803
#define HAND_RES 1804
#define FINGER_RES 1805