home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boldly Go Collection
/
version40.iso
/
TS
/
15D
/
TW150D.ZIP
/
WINDEMO.CH
< prev
next >
Wrap
Text File
|
1992-04-12
|
5KB
|
122 lines
//------------------------------------------------------------------------
//
// WINDEMO.CH
//
// Header File FOR WINDEMO.PRG Demonstration Program
// Clipper 5.01 Window Library
//
// Copyright (C) 1992 Trilateral Systems Development Ltd.
// All Rights Reserved * Version 1.50 * Release Date: 01-25-92
//
// 18 Bond St. South
// Dundas, ON, Canada
// L9H 3H1
// 416-628-5086
//
//------------------------------------------------------------------------
#define YC ( .024 * xc * xc ) - ( 1.44 * xc ) + 24.6
#define FULLSCREEN 0, 0, MAXROW(), MAXCOL()
#define MAINBLU IIF( ! lMono, "w/b,gr+/r,,,n/w", "w+/n,n/w,,,w/n")
#define MAINRED IIF( ! lMono, "w+/r,gr+/r,,,n/w", "w+/n,n/w,,,w/n")
#define MAINBRN IIF( ! lMono, "gr+/gr,gr+/b,,,n/w", "w+/n,n/w,,,w/n")
#define MAINCYN IIF( ! lMono, "n/bg,w+/b,,,n/w", "w+/n,n/w,,,w/n")
#define MAINCLC IIF( ! lMono, "gr+/gr,g+/n,,,r+/n","w+/n,n/w,,,w/n")
#define WHI_BLA "w/n"
#define WHH_BLA "w+/n"
#define GRH_BAH IIF( ! lMono, "g+/*n", "w+/n")
#define YEL_BLU IIF( ! lMono, "gr+/b", "w+/n")
#define CYH_BLU IIF( ! lMono, "bg+/b", "w+/n")
#define WHH_BLU IIF( ! lMono, "w+ /b", "w+/n")
#define GNH_BLU IIF( ! lMono, "g+ /b", "w+/n")
#define RDH_BLU IIF( ! lMono, "r+ /b", "w/n")
#define WHH_BLH IIF( ! lMono, "w+ /*b", "w+/n")
#define RED_BLH IIF( ! lMono, "r /*b", "w+/n")
#define REH_BLH IIF( ! lMono, "r+ /*b", "w+/n")
#define BLA_BLH IIF( ! lMono, "n /*b", "w+/n")
#define BLU_WHI IIF( ! lMono, "b /w", "n/w")
#define BLA_WHI "n/w"
#define BLU_WHH IIF( ! lMono, "b /*w", "w+/n")
#define BLH_WHH IIF( ! lMono, "b+ /*w", "w+/n")
#define GRN_WHH IIF( ! lMono, "g /*w", "w/n")
#define YEL_WHH IIF( ! lMono, "gr+/*w", "w+/n")
#define BLA_WHH IIF( ! lMono, "n /*w", "n/w")
#define YEL_CYN IIF( ! lMono, "gr+/bg", "w+/n")
#define RED_CYN IIF( ! lMono, "r /bg", "n/w")
#define BLU_CYN IIF( ! lMono, "b /bg", "w+/n")
#define RDH_CYN IIF( ! lMono, "r+ /bg", "w+/n")
#define WHI_CYN IIF( ! lMono, "w /bg", "w+/n")
#define WHH_CYN IIF( ! lMono, "w+ /bg", "w+/n")
#define BLA_CYN IIF( ! lMono, "n /bg", "w/n")
#define BLH_CYN IIF( ! lMono, "b+ /bg", "w+/n")
#define GNH_CYN IIF( ! lMono, "g+ /bg", "w+/n")
#define RDH_CYH IIF( ! lMono, "r+ /*bg", "w/n")
#define BLU_CYH IIF( ! lMono, "b /*bg", "w+/n")
#define BLA_CYH IIF( ! lMono, "n /*bg", "w+/n")
#define YEL_CYH IIF( ! lMono, "gr+/*bg", "w+/n")
#define WHI_CYH IIF( ! lMono, "w /*bg", "w+/n")
#define YEL_RED IIF( ! lMono, "gr+/r", "n/w")
#define CYH_RED IIF( ! lMono, "bg+/r", "w+/n")
#define WHI_RED IIF( ! lMono, "w/r", "w/n")
#define WHH_RED IIF( ! lMono, "w+/r", "w+/n")
#define BLH_RED IIF( ! lMono, "b+/r", "w+/n")
#define YEL_RDH IIF( ! lMono, "gr+/*r", "w+/n")
#define CYH_RDH IIF( ! lMono, "bg+/*r", "w/n")
#define WHH_RDH IIF( ! lMono, "w+ /*r", "w/n")
#define WHH_GRN IIF( ! lMono, "w+ /g", "w+/n")
#define YEL_GRN IIF( ! lMono, "gr+/g", "w+/n")
#define CYH_GRN IIF( ! lMono, "bg+/g" , "w/n")
#define BLA_GNH IIF( ! lMono, "n /*g", "w/n")
#define RDH_GNH IIF( ! lMono, "r+ /*g", "w+/n")
#define VIO_GNH IIF( ! lMono, "br+/*g", "w+/n")
#define GNH_VIO IIF( ! lMono, "g+ /rb", "w/n")
#define WHI_VIO IIF( ! lMono, "w /rb", "w/n")
#define WHH_VIO IIF( ! lMono, "w+ /rb", "w/n")
#define YEL_VIO IIF( ! lMono, "gr+/rb", "w/n")
#define WHH_VIH IIF( ! lMono, "w+ /*rb", "n/w")
#define WHI_BRN IIF( ! lMono, "w /gr", "n/w")
#define RDH_YLH IIF( ! lMono, "r+ /*gr", "w+/n")
#define RED_YLH IIF( ! lMono, "r /*gr", "w+/n")
#define BLA_YLH IIF( ! lMono, "n /*gr", "w+/n")
#define BLU_YLH IIF( ! lMono, "b /*gr", "w+/n")
#define BLH_YLH IIF( ! lMono, "b+ /*gr", "w+/n")
#define GRN_YLH IIF( ! lMono, "rb /*gr", "w+/n")
// Area Message Colours
#define AINFOCLR IIF( ISCOLOR(), "n/bg,gr+/bg,,,w/bg", "w+/n,n/w,,,w/n" )
#define AWARNCLR IIF( ISCOLOR(), "gr+/rb,n/w,,,w/rb", "w+/n,n/w,,,w/n" )
// Message Area Colours
#define INFOCLR IIF( ISCOLOR(), "n/bg,bg+/n,,,w/bg", "w+/n,n/w,,,w/n" )
#define INQUCLR IIF( ISCOLOR(), "w+/rb,n/w,,,w/rb", "w+/n,n/w,,,w/n" )
#define WARNCLR IIF( ISCOLOR(), "gr+/r,n/w,,,w+/r", "w+/n,n/w,,,w/n" )
#define TEXTCLR IIF( ISCOLOR(), "w+/gr,n/w,,,w/b", "w+/n,n/w,,,w/n" )
#define PMENCLR IIF( ISCOLOR(), "n/bg,bg+/n,,,w/bg", "w+/n,n/w,,,w/n" )
// Alert Box Colours
#define BUTCLR IIF( ISCOLOR(), "w+/b,gr+/r,,,n/w", "w+/n,n/w,,,w/n" )
#define RADCLR IIF( ISCOLOR(), "bg+/r,n/bg,,,gr+/r", "w+/n,n/w,,,w/n" )
#define CHKCLR IIF( ISCOLOR(), "gr+/gr,n/w,,,w+/gr", "w+/n,n/w,,,w/n" )
#translate BEEPER => TONE( 350, 0 )
#translate STRINT(<x>) => LTRIM(STR(<x>))
#translate CLRCHK(<x>,<y>) => IIF(! lMono,<x>,<y>)
#command CBLINK => SETBLINK(IIF( ! lMono, .F., .T. ))