*** empty log message ***

This commit is contained in:
Paul Tucker
1999-08-07 21:36:24 +00:00
parent c9e0d474b5
commit af57f99303
3 changed files with 31 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
19990808-17:25 EDT Paul Tucker <ptucker@sympatico.ca>
* tests/working/Makefile
-debugger
+cursrtst
+ tests/working\cursrtst.prg
19990808-15:00 EDT Paul Tucker <ptucker@sympatico.ca>
* makefile.vc
+ source/rtl/tbrowse.prg

View File

@@ -42,11 +42,11 @@ PRG_SOURCES=\
comments.prg \
copyfile.prg \
curdirt.prg \
cursrtst.prg \
dates.prg \
dates2.prg \
dates3.prg \
dates4.prg \
debugger.prg \
debugtst.prg \
descend.prg \
dirtest.prg \

View File

@@ -0,0 +1,24 @@
/*
* $Id$
*/
proc main
Local x
? "This lists the cursor modes, along with the expected shape"
? "Press a key after each example"
?
for x := 0 to 4
CursTest( x )
next
? "Note: In Windows Console mode, Special2 can not be emulated (it is 2/3 size)"
SetCursor(1)
Proc CursTest( nCurs )
Local aTypes := { "None", "Underline", "HalfBlock", "FullBlock", "Upper Half"}
Local aNames := { "SC_NONE", "SC_NORMAL", "SC_INSERT", "SC_SPECIAL1", "SC_SPECIAL2"}
SetCursor( nCurs )
++nCurs
? Padr(aNames[nCurs],11), PadR(aTypes[nCurs],11), Str(SetCursor(),3)
Inkey(0)