home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
fgl
/
fglight
/
expas.arj
/
TEMP
/
14-09.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-01-20
|
583b
|
38 lines
program main;
uses fgmain, fgbitmap, fgmisc;
var
old_mode : integer;
row : integer;
begin
fg_initpm;
old_mode := fg_getmode;
fg_setmode(3);
if (fg_mouseini < 0) then
begin
fg_setmode(old_mode);
fg_reset;
exit;
end;
fg_setattr(7,0,0);
fg_rect(0,fg_getmaxx,0,fg_getmaxy);
fg_setattr(12,7,0);
for row := 0 to 24 do
begin
fg_locate(row,34);
fg_text('example 14-9',12);
end;
fg_mousevis(1);
fg_waitkey;
fg_mousecur($7FFF,$7F00);
fg_waitkey;
fg_setmode(old_mode);
fg_reset;
end.