home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
500-599
/
ff502.lzh
/
CELLS
/
CELLSSource.lzh
/
cError.h
< prev
next >
Wrap
Text File
|
1991-04-20
|
1KB
|
62 lines
/*
* CELLS An Implementation of the WireWorld cellular automata
* as described in Scientific American, Jan 1990.
*
* Copyright 1990 by Davide P. Cervone.
* You may use this code, provided this copyright notice is kept intact.
* See the CELLS.HELP file for complete information on distribution conditions.
*/
/*
* File: cError.h Defines for Error requester
*/
/*
* Gadget IDs
*/
#define ER_OK 100
#define ER_YES 101
#define ER_NO 102
/*
* Array positions
*/
#define ERB_PANEL 0
#define ERB_FRAME 2
#define ERB_BUTTON 4
#define ERT_OK 0
#define ERT_TITLE 1
#define ERT_MESS1 2
#define ERT_MESS2 3
#define ERT_YES 4
#define ERT_NO 5
/*
* Sizes and positions
*/
#define ER_PANELW 196
#define ER_PANELH 58
#define ER_FRAMEX 3
#define ER_FRAMEY 11
#define ER_FRAMEW (ER_PANELW-6)
#define ER_FRAMEH (ER_PANELH-14)
#define ER_MESS1Y (ER_FRAMEY+7)
#define ER_MESS2Y (ER_MESS1Y+11)
#define ER_MESSY (ER_FRAMEY+10)
#define ER_TITLEX 9
#define ER_TITLEY 2
#define ERRORPEN HIGHLIGHT
#define ER_BUTTONX (ER_PANELW-ER_BUTTONW-6)
#define ER_BUTTONY (ER_PANELH-ER_BUTTONH-6)
#define ER_BUTTONW 25
#define ER_BUTTONH (TEXTH+2)