[lazarus] Updates

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Aug 19 18:15:46 EDT 2002


Hi all,

Updates from Andrew:

- Clipping Improvements/Fixes under GTK

- GetTextExtents under GTK acts more like Win32 API - this is not a fix,
    just a better hack ;-)

- ExtTextOut under GTK can now Clip to Rectangle

- GetTextColor now available under both Win32 and GTK

- StretchBlt under GTK now ignore's clipping region, like Win32

- Fixed Polygon Winding bug under Win32
- Fixed Polygon Winding under GTK for if Clipping is set

- Added CriticalSection support to Win32 and GTK(in GTK is disabled by 
  default)

- Added TextStyle Property to TCanvas

- Added Lock/Unlock/Lockcount to TCanvas

- TCanvas.TextOut will now draw Opaque, if set in TextStyle

- TCanvas.TextRect acts a lot more like Delphi, by using DrawText

- TSpeedButton & TStatusBar now use TextRect for better accuracy

- DrawText has been added and supports the following flags :
    DT_TOP
    DT_LEFT
    DT_CENTER
    DT_RIGHT
    DT_VCENTER
    DT_BOTTOM
    DT_WORDBREAK
    DT_SINGLELINE
    DT_NOCLIP
    DT_CALCRECT
    DT_NOPREFIX


Other updates:

- parser enhanced for Delphi 6 enum constants and empty parameter lists

- form editing: mouse events on internal gtk widgets (e.g. scrollbars)

- form editing: fixed mouse coords while component moving



Mattias






More information about the Lazarus mailing list