//////////////////////////// // // Clip-4-Win @ ... SAY definitions // // Copyright (C) 1993 Skelton Software, Kendal Cottage, Hillam, Leeds, UK. // All Rights Reserved. // // These #command's produce output that is automatically re-drawn // whenever necessary, as well as allowing you to specify exact // width/height in pixels, exact position, font to use, etc. // // NOTE: You need an empty array called SayList (rather like GetList), // // e.g. LOCAL SayList := {} // // @ 10,10 say "Using row,col positioning" color "b/g" // #define BLUE RGB(0,0,255) // #define GREEN RGB(0,255,0) // @ pixel 50,10 say "Using x,y positioning" ; // textcolor BLUE bkcolor GREEN // // // NOTE: You can choose a font either using something like: // // SET DEFAULT SAY FONT TO GetStockObject(ANSI_VAR_FONT) // // which uses one of the pre-defined fonts, or use a font from // CreateFont() or ChooseFont(). // // You probably won't want to do this, but: you can define // SAY_IN_WINDOW if you want to keep Clipper's @ ... SAY as well. // //////////////////////////// #ifndef C4W_SAY_CH #define C4W_SAY_CH #command CLEAR SAYS ; => _ClearSays( SayList ) ; ; SayList := {} #command SET DEFAULT SAY FONT TO ; => SetSayFont( ) #ifdef SAY_IN_WINDOW #command @ , SAY ; [PICTURE ] ; [COLOR ] ; [TEXTCOLOR ] ; [BKCOLOR ] ; [STYLE