2010-12-11 11:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* src/rtl/gtwin/gtwin.c
    + Added HB_GTI_PALETTE support to GTWIN for all non-msvc 
      compilers.
      (solution is hackish so it may need revision as future
      non-msvc, non-watcom compiler versions implement this
      feature in their own WinAPI headers.
This commit is contained in:
Viktor Szakats
2010-12-11 10:18:16 +00:00
parent e72ec22c3d
commit eb65ad9c48
2 changed files with 26 additions and 0 deletions

View File

@@ -16,6 +16,14 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-12-11 11:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
+ Added HB_GTI_PALETTE support to GTWIN for all non-msvc
compilers.
(solution is hackish so it may need revision as future
non-msvc, non-watcom compiler versions implement this
feature in their own WinAPI headers.
2010-12-11 01:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
+ Minor detail to HB_BUILD_WINUNI. Moved it's position towards

View File

@@ -111,6 +111,24 @@
# if !defined( HB_GTWIN_USE_PCONSOLEINFOEX )
# define HB_GTWIN_USE_PCONSOLEINFOEX
# endif
#else
# if ! defined( __WATCOMC__ ) || ( __WATCOMC__ < 1280 )
typedef struct _CONSOLE_SCREEN_BUFFER_INFOEX
{
ULONG cbSize;
COORD dwSize;
COORD dwCursorPosition;
WORD wAttributes;
SMALL_RECT srWindow;
COORD dwMaximumWindowSize;
WORD wPopupAttributes;
BOOL bFullscreenSupported;
COLORREF ColorTable[ 16 ];
} CONSOLE_SCREEN_BUFFER_INFOEX, * PCONSOLE_SCREEN_BUFFER_INFOEX;
# endif
# if !defined( HB_GTWIN_USE_PCONSOLEINFOEX )
# define HB_GTWIN_USE_PCONSOLEINFOEX
# endif
#endif
#ifndef MOUSE_WHEELED