Commit Graph

123 Commits

Author SHA1 Message Date
juha
7b19e58f07 LCL: Implement function SetRectRgn for Windows and Gtk(2). Issue #23288, patch from Valdinilson Lourenço da Cunha
git-svn-id: trunk@39263 -
2012-11-07 22:56:59 +00:00
juha
32fa5fe6c5 LCL: Implement function EqualRgn for Windows and Gtk(2). Issue #23287, patch from Valdinilson Lourenço da Cunha
git-svn-id: trunk@39262 -
2012-11-07 22:56:49 +00:00
juha
2f0ee470cb LCL: Implement function PaintRgn for Windows and Gtk(2). Issue #23286, patch from Valdinilson Lourenço da Cunha
git-svn-id: trunk@39261 -
2012-11-07 22:53:54 +00:00
juha
2ed0e7a34c LCL: implement PtInRegion for GTK2 and RectInRegion for all widgetsets properly
git-svn-id: trunk@39160 -
2012-10-25 00:19:00 +00:00
sekelsenmat
2ce733728d Introduces TCanvas.TextFitInfo and implements LCLIntf.GetTextExtentExPoint for Win32
git-svn-id: trunk@33215 -
2011-11-02 11:11:28 +00:00
juha
b3dbb6e552 LCL Win: Call Windows FillRgn and SetStretchBltMode from cross-platform code. Patch from Bernd Gabriel
git-svn-id: trunk@31277 -
2011-06-19 06:47:30 +00:00
paul
cbb791a543 win32: replace default CreateRoundRectRGN with a winapi call (issue #0018125)
git-svn-id: trunk@29849 -
2011-03-15 04:34:00 +00:00
paul
7a9b188e2c lcl, win32, wince, qt, gtk2, carbon: implement OffsetRGN winapi compatible function
git-svn-id: trunk@29697 -
2011-03-01 07:37:42 +00:00
sekelsenmat
75192fa3f6 Fixes drawing of arcs in Windows with negative length and updates the parameter names in LCLIntf.Arc to the correct names which fully describes a arc: startangle and length
git-svn-id: trunk@29633 -
2011-02-21 11:07:26 +00:00
vincents
89ae509848 win32 interface: use same parameter names for Frame3D as other widget sets and TWidgetSet.
git-svn-id: trunk@28457 -
2010-11-24 14:33:23 +00:00
blikblum
d2ab60647a lcl,win32: implement GetBkColor. Issue #14792
git-svn-id: trunk@27388 -
2010-09-16 19:02:43 +00:00
blikblum
2b652bd86c lcl/win32: Add GetCurrentObject. Implement under win32. Part of 14792
git-svn-id: trunk@26256 -
2010-06-22 17:03:04 +00:00
paul
990ef2a038 win32: fix 64bit compilation (issue #0016449)
git-svn-id: trunk@25322 -
2010-05-12 00:56:10 +00:00
paul
256161bfc7 lcl: add LPtoDP - symmetrical to DPtoLP winapi compatibility method
win32: implement LPtoDP, DPtoLP
qt: implement LPtoDP

git-svn-id: trunk@25236 -
2010-05-07 07:08:43 +00:00
sekelsenmat
e0fd273216 Further progress attempting to fix wince issues
git-svn-id: trunk@25201 -
2010-05-05 06:27:16 +00:00
paul
9e2134c1a2 lcl: use GetSysColorBrush if solid brush needs to be created with system color
win32: call Windows.GetSysColorBrush for lclintf.GetSysColorBrush

git-svn-id: trunk@25128 -
2010-05-02 09:25:41 +00:00
paul
676c706e5c lcl, win32: implement loading icon,cursor from an icon handle (HICON) (GetInfoInfo needs to be implement for other widgetsets to support on other platforms), issue #0016356
git-svn-id: trunk@25024 -
2010-04-28 08:52:16 +00:00
zeljko
f8cb0875ea win32: added IsWindow()
git-svn-id: trunk@24284 -
2010-03-29 12:45:42 +00:00
paul
d6ffb794fb lcl: further work on TWinControl.ParentWindow:
- implement LCLIntf.SetParent for win32, wince and qt
  - implement TWinControl.SetParentWindow

git-svn-id: trunk@23846 -
2010-03-06 19:40:29 +00:00
marc
eae138c2f6 * winapi: added GetDoubleClickTime, RedrawWindow, SubtractRect as part of lclextentions integration
git-svn-id: trunk@23550 -
2010-01-24 18:06:08 +00:00
paul
9430f5e3e6 win32: cleanup win32extra
git-svn-id: trunk@23393 -
2010-01-06 17:26:04 +00:00
paul
45e870d575 win32, gtk, qt: implement viewport affine transformation functions by tk (issue #0014857)
git-svn-id: trunk@23137 -
2009-12-14 05:59:52 +00:00
paul
b89b28de7c lcl: remove lclintf ComboBoxDropDown, create 2 methods instead in TWSCustomCombobox: one to get DroppedDown status, another to set it. + implementation for all widgetsets except carbon
git-svn-id: trunk@22285 -
2009-10-26 10:21:56 +00:00
paul
00ec699a6e lcl: rename AttachMenuToWindow to SetMenu for winapi compatibility
git-svn-id: trunk@21868 -
2009-09-25 16:09:33 +00:00
paul
048789bd19 win32: move GetDesignerDC, ReleaseDesignerDC to the appropriate files, implement IsDesignerDC
git-svn-id: trunk@21835 -
2009-09-23 12:00:42 +00:00
paul
72b7bf8ca6 lcl: add IsIconic, IsZommed win32 compatibility functions
git-svn-id: trunk@21711 -
2009-09-15 09:34:41 +00:00
paul
385d9cdf40 win32: implement winapi GradientFill function (strange that it is implemented for gtk only)
git-svn-id: trunk@20037 -
2009-05-19 04:36:37 +00:00
paul
752897afdc lcl: further monitor support
- add TScreen.MonitorFromPoint, TScreen.MonitorFromRect, TScreen.MonitorFromWindow
  - add TForm.Monitor
win32: add support for new TScreen methods

git-svn-id: trunk@19264 -
2009-04-07 05:29:35 +00:00
paul
3a19dfff75 lcl: add TMonitor class which represents single screen monitor, add TScreen.MonitorCount, TScreen.Monitors[]
win32, qt, gtk2: implement EnumDisplayMonitors, GetMonitorInfo

git-svn-id: trunk@19239 -
2009-04-06 08:14:58 +00:00
paul
ea305d04d4 win32: initial support for fonts with national names (issue #0013141)
git-svn-id: trunk@19131 -
2009-03-27 08:15:34 +00:00
sekelsenmat
3366947be6 Adds CreateEllipticRgn to win32
git-svn-id: trunk@18697 -
2009-02-15 11:24:29 +00:00
sekelsenmat
3ef10c5da2 Implements SetWindowRgn for win32
git-svn-id: trunk@18696 -
2009-02-15 11:06:36 +00:00
paul
efe9d531c3 widgetset: make WS classes method explicitly published
win32: fix WS classes. move methods to published sections

git-svn-id: trunk@17576 -
2008-11-25 02:29:28 +00:00
paul
3461ad0f49 lcl: start ExtCreatePen function to allow pen creation with different cap style, join style, and pattern
qt: start implementation of ExtCreatePen

git-svn-id: trunk@17119 -
2008-10-24 09:29:53 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
66ca0835ec - lcl: use CreateIconIndirect as default implementation for CreateCursor and DestroyIcon for DestroyCursor
- win32: add CreateIconIndirect and remove CreateCursor
- qt: redo cursors through TQtCursor instead of QCursorH, remove CreateCursor and DestroyCursor, implement CreateIconIndirect and DestroyIcon

git-svn-id: trunk@15456 -
2008-06-18 03:21:33 +00:00
vincents
0f41981031 win32 interface: implemented UpdateWindow, fixes bug #9771
git-svn-id: trunk@15261 -
2008-05-27 14:38:36 +00:00
vincents
a367413cf8 win32 interface: further fix to implement TComboBox.DropDownCount
git-svn-id: trunk@15171 -
2008-05-16 23:54:00 +00:00
paul
09d6e02546 remove CreatePixmapIndirect
git-svn-id: trunk@13344 -
2007-12-15 15:45:49 +00:00
paul
91beea4e1b decapitalize Override keyword
git-svn-id: trunk@12866 -
2007-11-14 07:26:34 +00:00
paul
de0119b05e - add CreatePatternBrush for win32 and qt
- fix qt CreateBitmap (winapi expect word alignment while qt needs dword and supports more formats now)
 

git-svn-id: trunk@12864 -
2007-11-14 07:11:42 +00:00
paul
5eb24ebc04 decapitalize Procedure and Function keywords
git-svn-id: trunk@12821 -
2007-11-11 07:57:41 +00:00
jesus
02f5d81c2d LCL, win, implemented GetRgnBox
git-svn-id: trunk@11924 -
2007-09-03 05:29:08 +00:00
marc
04b4e27b62 * Implemented basic alpha support
* Implemented LCL side of imagelist
* restructured rawimage to more OO

Merged revisions 11289-11617 via svnmerge from 
http://svn.freepascal.org/svn/lazarus/branches/marc-lcl

........
  r11289 | marc | 2007-06-06 22:50:05 +0200 (Wed, 06 Jun 2007) | 1 line
  
  private branch for bitmap rework
........
  r11290 | marc | 2007-06-06 23:30:09 +0200 (Wed, 06 Jun 2007) | 2 lines
  
  * Initial linux and win32 implementation
........
  r11291 | paul | 2007-06-07 03:20:11 +0200 (Thu, 07 Jun 2007) | 3 lines
  
  - fix compilation with fpc 2.3.1
  - remove unneded code for converting cursor mask
  - enabled loading of standard windows status icons instead of LCL
........
  r11292 | paul | 2007-06-07 11:03:27 +0200 (Thu, 07 Jun 2007) | 1 line
  
  - some bugs with mask and alpha
........
  r11299 | marc | 2007-06-08 00:59:26 +0200 (Fri, 08 Jun 2007) | 2 lines
  
  * force alpha channel when PNG has alpha
........
  r11302 | paul | 2007-06-09 04:45:12 +0200 (Sat, 09 Jun 2007) | 1 line
  
  - fix black rectangles instead of manu item images
........
  r11303 | paul | 2007-06-09 04:46:14 +0200 (Sat, 09 Jun 2007) | 1 line
  
  formatting
........
  r11309 | marc | 2007-06-11 02:25:07 +0200 (Mon, 11 Jun 2007) | 3 lines
  
  * Added alpha premultiply
  * Published Colorbox selection property
........
  r11310 | paul | 2007-06-11 19:10:18 +0200 (Mon, 11 Jun 2007) | 1 line
  
  misc
........
  r11312 | marc | 2007-06-12 01:44:03 +0200 (Tue, 12 Jun 2007) | 2 lines
  
  * start with carbon
........
  r11313 | paul | 2007-06-12 14:02:48 +0200 (Tue, 12 Jun 2007) | 1 line
  
  - BitBtn glyph transparency
........
  r11315 | paul | 2007-06-13 05:20:40 +0200 (Wed, 13 Jun 2007) | 1 line
  
  - problems with internal bitmap saving/loading (is was 24bpp when 32bpp needed)
........
  r11319 | paul | 2007-06-14 06:32:04 +0200 (Thu, 14 Jun 2007) | 1 line
  
  - More LCL way of painting images through ThemeServices
........
  r11320 | paul | 2007-06-14 06:32:56 +0200 (Thu, 14 Jun 2007) | 1 line
  
  - ability to override bitbtn glyph to nothing
........
  r11321 | paul | 2007-06-14 06:34:49 +0200 (Thu, 14 Jun 2007) | 1 line
  
  painting headercontrol images through ThemeServices
........
  r11325 | paul | 2007-06-17 10:14:27 +0200 (Sun, 17 Jun 2007) | 1 line
  
  fixing painting of 32bpp bitmaps with no Alpha
........
  r11326 | paul | 2007-06-17 10:16:00 +0200 (Sun, 17 Jun 2007) | 1 line
  
  missed file
........
  r11337 | paul | 2007-06-20 03:44:47 +0200 (Wed, 20 Jun 2007) | 3 lines
  
  - revert previous commit
  - create 24bpp bitmaps by default
........
  r11342 | marc | 2007-06-21 01:47:30 +0200 (Thu, 21 Jun 2007) | 3 lines
  
  * Added Alpha support on Carbon
  * Simplified win32 rawimage_fromdevice
........
  r11343 | paul | 2007-06-21 04:36:28 +0200 (Thu, 21 Jun 2007) | 1 line
  
  - adopt gtk2 code
........
  r11344 | paul | 2007-06-21 04:41:41 +0200 (Thu, 21 Jun 2007) | 1 line
  
  make gtk2 work
........
  r11353 | paul | 2007-06-22 10:12:19 +0200 (Fri, 22 Jun 2007) | 1 line
  
  - default WS imagelist implementation
........
  r11358 | marc | 2007-06-23 13:29:06 +0200 (Sat, 23 Jun 2007) | 2 lines
  
  * Implemented MaskBlit
........
  r11359 | paul | 2007-06-23 20:02:52 +0200 (Sat, 23 Jun 2007) | 1 line
  
  draw new imagelist bitmap on widget canvas
........
  r11371 | marc | 2007-06-25 23:50:13 +0200 (Mon, 25 Jun 2007) | 2 lines
  
  * Rawimage rework
........
  r11372 | marc | 2007-06-25 23:51:00 +0200 (Mon, 25 Jun 2007) | 2 lines
  
  + Added header
........
  r11373 | marc | 2007-06-26 00:05:55 +0200 (Tue, 26 Jun 2007) | 2 lines
  
  * Swapped RGBA <-> ARGB defualt format since most widgetsets use ARGB
........
  r11374 | marc | 2007-06-26 00:09:36 +0200 (Tue, 26 Jun 2007) | 2 lines
  
  * added
........
  r11462 | marc | 2007-07-12 00:16:02 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  + added header
........
  r11463 | marc | 2007-07-12 00:18:49 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  * Added alpha/masked strechblt support
........
  r11464 | marc | 2007-07-12 00:21:27 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  * create DIBSection instead of DIBitmap
........
  r11502 | marc | 2007-07-14 00:23:42 +0200 (Sat, 14 Jul 2007) | 2 lines
  
  * Fixed transparentcolor after loading bitmap
........
  r11505 | marc | 2007-07-14 15:10:56 +0200 (Sat, 14 Jul 2007) | 2 lines
  
  - Removed ARGB dataconversion, internal format is by default the same now
........
  r11531 | marc | 2007-07-17 01:23:34 +0200 (Tue, 17 Jul 2007) | 2 lines
  
  * changed TRawImage into object
........
  r11533 | paul | 2007-07-17 05:10:31 +0200 (Tue, 17 Jul 2007) | 3 lines
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init
  - change imagelist defines to use old imagelist (new is crashes ide)
  - change TWin32ThemeServices to use old imagelist
........
  r11534 | paul | 2007-07-17 05:19:02 +0200 (Tue, 17 Jul 2007) | 3 lines
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init in Qt widgetset
  - change TRawImageDescription.IsEqual and TRawImage.IsEqual
........
  r11535 | paul | 2007-07-17 05:23:53 +0200 (Tue, 17 Jul 2007) | 1 line
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init in wince widgetset
........
  r11554 | marc | 2007-07-18 00:10:11 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed compilation on 2.0.4
........
  r11555 | marc | 2007-07-18 00:10:44 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed compilation
........
  r11556 | marc | 2007-07-18 00:11:43 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed fillchar on TRawImage object
........
  r11572 | marc | 2007-07-19 01:41:35 +0200 (Thu, 19 Jul 2007) | 2 lines
  
  * fixed crash when object has vmt
........
  r11573 | marc | 2007-07-19 01:42:14 +0200 (Thu, 19 Jul 2007) | 2 lines
  
  * Made TRawimage compatible with record again
........
  r11580 | marc | 2007-07-20 01:33:20 +0200 (Fri, 20 Jul 2007) | 2 lines
  
  * enabled newimagelist
........
  r11581 | marc | 2007-07-20 01:33:48 +0200 (Fri, 20 Jul 2007) | 2 lines
  
  * fixed font
........

git-svn-id: trunk@11861 -
2007-08-25 01:49:40 +00:00
tombo
237301a1ba LCL: added InvalidateRgn + implementation in Win32
Win32 intf: implemented PtInRegion

git-svn-id: trunk@11350 -
2007-06-21 11:42:22 +00:00
paul
adef54eff4 - introduced new win32 compatability function SystemParametersInfo
- added support for parameter SPI_GETWHEELSCROLLLINES in base widgetset class with override in qt widgetset

git-svn-id: trunk@10830 -
2007-03-30 05:58:41 +00:00
vincents
85a311aa33 LCL: made DrawFrameRect declaration the same as in the windows unit (bug #8468)
git-svn-id: trunk@10813 -
2007-03-27 10:36:49 +00:00
vincents
c3f3bb0aa0 LCL: removed RadialPie function without angles parameter, renamed RadialPieWithAngles to RadialPie
git-svn-id: trunk@10529 -
2007-01-29 12:33:03 +00:00
vincents
fd550f95c3 win32 widgetset: fixed TCanvas.Pie (bug #8117)
git-svn-id: trunk@10456 -
2007-01-16 10:13:50 +00:00
marc
b3f981c48b * Modified patch from Paul Ishenin implementing cursors
git-svn-id: trunk@10446 -
2007-01-15 00:53:09 +00:00