mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 02:49:19 +02:00
MG: improved Clipping, TextOut, Polygon functions
git-svn-id: trunk@2220 -
This commit is contained in:
parent
797a3c0192
commit
b0cfee2083
@ -61,6 +61,7 @@ function DeleteObject(GDIObject: HGDIOBJ): Boolean; override;
|
|||||||
function DestroyCaret(Handle : HWND): Boolean; override;
|
function DestroyCaret(Handle : HWND): Boolean; override;
|
||||||
Function DrawFrameControl(DC: HDC; var Rect : TRect; uType, uState : Cardinal) : Boolean; override;
|
Function DrawFrameControl(DC: HDC; var Rect : TRect; uType, uState : Cardinal) : Boolean; override;
|
||||||
function DrawEdge(DC: HDC; var Rect: TRect; edge: Cardinal; grfFlags: Cardinal): Boolean; override;
|
function DrawEdge(DC: HDC; var Rect: TRect; edge: Cardinal; grfFlags: Cardinal): Boolean; override;
|
||||||
|
function DrawText(DC: HDC; Str: PChar; Count: Integer; var Rect: TRect; Flags: Cardinal): Integer; Override;
|
||||||
|
|
||||||
function Ellipse(DC: HDC; x1,y1,x2,y2: Integer): Boolean; override;
|
function Ellipse(DC: HDC; x1,y1,x2,y2: Integer): Boolean; override;
|
||||||
function EnableMenuItem(hndMenu: HMENU; uIDEnableItem: Integer; bEnable: Boolean): Boolean; override;
|
function EnableMenuItem(hndMenu: HMENU; uIDEnableItem: Integer; bEnable: Boolean): Boolean; override;
|
||||||
@ -92,6 +93,7 @@ function GetScrollInfo(Handle: HWND; BarFlag: Integer; var ScrollInfo: TScrollIn
|
|||||||
function GetStockObject(Value: Integer): LongInt; override;
|
function GetStockObject(Value: Integer): LongInt; override;
|
||||||
function GetSysColor(nIndex: Integer): DWORD; override;
|
function GetSysColor(nIndex: Integer): DWORD; override;
|
||||||
function GetSystemMetrics(nIndex: Integer): Integer; override;
|
function GetSystemMetrics(nIndex: Integer): Integer; override;
|
||||||
|
function GetTextColor(DC: HDC) : TColorRef; Override;
|
||||||
function GetTextExtentPoint(DC: HDC; Str: PChar; Count: Integer; var Size: TSize): Boolean; override;
|
function GetTextExtentPoint(DC: HDC; Str: PChar; Count: Integer; var Size: TSize): Boolean; override;
|
||||||
function GetTextMetrics(DC: HDC; var TM: TTextMetric): Boolean; override;
|
function GetTextMetrics(DC: HDC; var TM: TTextMetric): Boolean; override;
|
||||||
Function GetWindowLong(Handle : hwnd; int: Integer): Longint; override;
|
Function GetWindowLong(Handle : hwnd; int: Integer): Longint; override;
|
||||||
@ -166,10 +168,19 @@ Function TextOut(DC: HDC; X,Y : Integer; Str : Pchar; Count: Integer) : Boolean;
|
|||||||
|
|
||||||
|
|
||||||
Function WindowFromPoint(Point : TPoint) : HWND; override;
|
Function WindowFromPoint(Point : TPoint) : HWND; override;
|
||||||
|
|
||||||
|
Procedure InitializeCriticalSection(var CritSection: TCriticalSection); Override;
|
||||||
|
Procedure EnterCriticalSection(var CritSection: TCriticalSection); Override;
|
||||||
|
Procedure LeaveCriticalSection(var CritSection: TCriticalSection); Override;
|
||||||
|
Procedure DeleteCriticalSection(var CritSection: TCriticalSection); Override;
|
||||||
|
|
||||||
//##apiwiz##eps## // Do not remove
|
//##apiwiz##eps## // Do not remove
|
||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.41 2002/08/19 20:34:48 lazarus
|
||||||
|
MG: improved Clipping, TextOut, Polygon functions
|
||||||
|
|
||||||
Revision 1.40 2002/08/17 15:45:36 lazarus
|
Revision 1.40 2002/08/17 15:45:36 lazarus
|
||||||
MG: removed ClientRectBugfix defines
|
MG: removed ClientRectBugfix defines
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user