Files
harbour-core/tests/wvt_fs.prg
vszakats a4a357a18b 2013-03-15 11:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* /harbour/* -> /*
    * moved whole Harbour source tree one level up to
      avoid single 'harbour' top dir
2013-03-15 11:13:30 +01:00

36 lines
767 B
Plaintext

/*
* $Id$
*/
#include "hbgtinfo.ch"
#include "inkey.ch"
PROCEDURE Main()
#if defined( __HBSCRIPT__HBSHELL )
#if defined( __PLATFORM__WINDOWS )
hbshell_gtSelect( "GTWVT" )
#elif defined( __PLATFORM__UNIX )
hbshell_gtSelect( "GTXWC" )
#endif
#endif
IF hb_gtInfo( HB_GTI_ISGRAPHIC )
hb_gtInfo( HB_GTI_FONTNAME, "Lucida Console" )
ELSE
? "launch me under a graphical GT"
QUIT
ENDIF
? "GT" + hb_gtVersion() + " test"
? hb_gtInfo( HB_GTI_ISFULLSCREEN, .T. ), "we should be on full screen"
WAIT
? hb_gtInfo( HB_GTI_ISFULLSCREEN, .F. ), "we should be windowed"
? hb_gtInfo( HB_GTI_ALTENTER, .T. ), "<Alt+Enter> is now enabled, try it"
DO WHILE Inkey( 0 ) != K_ESC
? Row()
ENDDO
RETURN