Files
harbour-core/contrib/gtqtc/gtqtc.hbx
Przemysław Czerpak f22713469b 2013-04-24 12:22 UTC+0200 Przemysław Czerpak (druzus/at/poczta.onet.pl)
+ contrib/gtqtc/gtqtc.cpp
  + contrib/gtqtc/gtqtc.h
  + contrib/gtqtc/gtqtc.hbc
  + contrib/gtqtc/gtqtc.hbp
  + contrib/gtqtc/gtqtc.hbx
  + contrib/gtqtc/hbmk2_qtmoc.hb
  * contrib/hbplist.txt
    + added new QT based GT driver: GTQTC.
      This implementation is slightly based on GTQTC created by
      Pritpal Bedi - many thanks.
      Now GTQTC supports nearly all GT features existing in all other GTs,
      i.e.
         fullscreen mode:
               hb_gtInfo( HB_GTI_ISFULLSCREEN, <lFullScreen> )
         automatic fullscreen switch after ALT+ENTER:
               hb_gtInfo( HB_GTI_ALTENTER, <lEnable> )
         maximized mode controlled by user:
               hb_gtInfo( HB_GTI_MAXIMIZED, <lEnable> )
         clipboard selection with SHIFT + MouseLeftButton:
               hb_gtInfo( HB_GTI_SELECTCOPY, <lEnable> )
         terminal window resizing:
               hb_gtInfo( HB_GTI_RESIZABLE, <lCanResize> )
         both resize modes
            a) change number of rowas and columns:
                  hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_ROWS )
            b) keep number of rows and clomuns and update font size
                  hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_FONT )
         blocking ALT+F4 and [X] window buttons:
               hb_gtInfo( HB_GTI_CLOSABLE, <lCanClose> )
         all cursor shapes and setting cursor blink rate:
               hb_gtInfo( HB_GTI_CURSORBLINKRATE, <nMilliSec> )
         window positioning in screen pixels:
               hb_gtInfo( HB_GTI_SETPOS_XY, <aNewPosXY> ) -> <aPrevPosXY>
         mouse positioning in screen pixels:
               hb_gtInfo( HB_GTI_MOUSEPOS_XY ) -> <aPosXY>
         full control on font behavior with:
            a) box characters shown as predefined internally pixmapos:
                  hb_gtinfo( HB_GTI_FONTATTRIBUTE,
                             hb_bitOr( HB_GTI_FONTA_DRAWBOX,
                                       hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) )
            b) forcing fixed size font metric:
                  hb_gtinfo( HB_GTI_FONTATTRIBUTE,
                             hb_bitOr( HB_GTI_FONTA_FIXMETRIC,
                                       hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) )
            c) independent character cell clearing:
                  hb_gtinfo( HB_GTI_FONTATTRIBUTE,
                             hb_bitOr( HB_GTI_FONTA_CLRBKG,
                                       hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) )
            d) displaying control characters ( ASC( x ) < 32 ) in row form:
                  hb_gtinfo( HB_GTI_FONTATTRIBUTE,
                             hb_bitOr( HB_GTI_FONTA_CTRLCHARS,
                                       hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) )
         and many others like palette settings (HB_GTI_PALETTE), displaying
         pictures (HB_GTI_DISPIMAGE), keyboard modifiers (HB_GTI_KBDSHIFTS),
         clipboard reading and setting (HB_GTI_CLIPBOARDDATA) or icon and
         window title settings (HB_GTI_ICONFILE, HB_GTI_WINTITLE)

      GTQTC also supports GFX graphic primitives (hb_gfx*()) and it operates
      on new Harbour extended mouse and keyboard key codes.
      The console window is shown when some user outputs appears so
      it can be linked with GT GUI application been invisible by default.

      It's pure QT code so now is the most portable Harbour GT driver which
      can be used on platforms where we haven't native any GT so far or
      current GTs like GTXWC do not have native appearance.
      Because it uses only high level GUI interface then it should be quite
      easy to convert it to other GUI libraries, i.e. GTK.
2013-04-24 12:22:18 +02:00

31 lines
971 B
Plaintext

/* --------------------------------------------------------------------
* NOTE: You can add manual override which functions to include or
* exclude from automatically generated EXTERNAL/DYNAMIC list.
* Syntax: // HB_FUNC_INCLUDE <func>
* // HB_FUNC_EXCLUDE <func>
*/
/* --------------------------------------------------------------------
* WARNING: Automatically generated code below. DO NOT EDIT! (except casing)
* Regenerate using hbmk2 '-hbx=' option.
*/
#ifndef __HBEXTERN_CH__GTQTC__
#define __HBEXTERN_CH__GTQTC__
#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__GTQTC__ANNOUNCE )
ANNOUNCE __HBEXTERN__GTQTC__
#endif
#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__GTQTC__REQUEST )
#command DYNAMIC <fncs,...> => EXTERNAL <fncs>
#endif
DYNAMIC HB_GT_QTC
#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__GTQTC__REQUEST )
#uncommand DYNAMIC <fncs,...> => EXTERNAL <fncs>
#endif
#endif