Ignore:
Timestamp:
Feb 6, 2006, 10:43:39 PM (20 years ago)
Author:
dmik
Message:

Implemented QRegion(..., QRegion::Eclipse) and QRegion(QPointArray &,...) constructors.
Improved Qt<->GPI region coordinates translation (it's now implicit), QRegion::handle() takes a height of the target devise as an argument (defaults to 0).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/qwindowdefs_pm.h

    r8 r61  
    5656#include <os2.h>
    5757
     58// Innotek GCC lacks some API functions in its version of OS/2 Toolkit headers
     59
     60#define QCRGN_ERROR                 0
     61#define QCRGN_OK                    1
     62#define QCRGN_NO_CLIP_REGION        2
     63
     64LONG APIENTRY WinQueryClipRegion( HWND hwnd, HRGN hrgnClip );
     65BOOL APIENTRY WinSetClipRegion( HWND hwnd, HRGN hrgnClip );
     66
    5867#else
    5968
     
    7180typedef HWND WId;
    7281
    73 //@@TODO (dmik): remove
    74 //Q_EXPORT HINSTANCE qWinAppInst();
    75 //Q_EXPORT HINSTANCE qWinAppPrevInst();
    76 //Q_EXPORT int     qWinAppCmdShow();
    7782Q_EXPORT HPS       qt_display_ps();
    7883
Note: See TracChangeset for help on using the changeset viewer.