Files
harbour-core/tests/wvt_fs.prg
vszakats 9687850865 2013-03-16 02:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* (all files)
    * stripped svn header
    * minor cleanups
    ; use following command to find out the history of files:
       git log
       git log --follow
       git blame
       git annotate
2013-03-16 02:11:42 +01:00

33 lines
752 B
Plaintext

#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