Commit Graph

140 Commits

Author SHA1 Message Date
blikblum
3d4516b088 lcl: implement GetCurrentObject for Gtk, Gtk2, Qt, Carbon and WinCe. Part of 14792
git-svn-id: trunk@26265 -
2010-06-22 20:36:58 +00:00
paul
6b1168a249 gtk: implement LPtoDP, DPtoLP
git-svn-id: trunk@25237 -
2010-05-07 07:21:00 +00:00
paul
0ec1f90c0e gtk, gtk2: implement GetSysColorBrush (non context-related)
git-svn-id: trunk@25130 -
2010-05-02 11:01:05 +00:00
zeljko
caf4b2dd3f LCL: added IsWindow(HWND), implemeted IsWindow() for qt, gtk and gtk2.
git-svn-id: trunk@24283 -
2010-03-29 12:42:58 +00:00
paul
6bf6b20594 gtk, gtk2: move SetWindowRgn to gtk2 code since gtk1 does not have appopriate functions. fixes gtk1 compilation
git-svn-id: trunk@24008 -
2010-03-15 08:33:23 +00:00
paul
edc0a237f0 gtk: implement SetWindowRgn based on patch of Massimo Magnano (issue #0015870)
git-svn-id: trunk@24006 -
2010-03-15 08:26:05 +00:00
paul
233b6549b8 lcl: start implementation for gtk SetParent and TWinControl.ParentWindow
git-svn-id: trunk@23856 -
2010-03-07 06:23:24 +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
72b7bf8ca6 lcl: add IsIconic, IsZommed win32 compatibility functions
git-svn-id: trunk@21711 -
2009-09-15 09:34:41 +00:00
paul
d6ebb0255e gtk: cache WindowFromPoint results to reduce slowleness (fixes issue #0013698)
git-svn-id: trunk@19967 -
2009-05-15 02:09:22 +00:00
paul
3cd340fe31 lcl: formatting
git-svn-id: trunk@19966 -
2009-05-15 01:57:42 +00:00
paul
ddf2b15e66 gtk: implement TMonitor support
git-svn-id: trunk@19260 -
2009-04-07 01:37:50 +00:00
paul
7e1fb92a72 gtk, gtk2: implement ExtCreatePen
git-svn-id: trunk@17128 -
2008-10-24 15:10:58 +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
db26dddf06 gtk1, gtk2: Add CreateIconIndirect implementation which returns pixbuf. Move CreateCursor code there and remove its declaration.
git-svn-id: trunk@15457 -
2008-06-18 09:14:27 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
paul
c8d52d15d6 gtk:
- remove FinishComponentCreate: code moved to appropriate ws classes
- remove HookSignals (same reason)

git-svn-id: trunk@13537 -
2007-12-30 18:15:53 +00:00
paul
9e76d7e615 remove OldRawImageProcs
git-svn-id: trunk@13495 -
2007-12-28 06:05:12 +00:00
paul
09d6e02546 remove CreatePixmapIndirect
git-svn-id: trunk@13344 -
2007-12-15 15:45:49 +00:00
marc
28578c3a91 * Started with object based GDI
* More splitup of gtk1/gtk2 code
* Fixed restore of GC after linedrawing
* Enabled desktop grabbing for gtk1

git-svn-id: trunk@12975 -
2007-11-23 00:07:45 +00:00
paul
c6a5a6d431 - use CreateBrushIndirect for gtk and qt to implement CreatePatternBrush
- use changes of Luiz Americo from 0008814 to pattern brush

git-svn-id: trunk@12874 -
2007-11-15 01:55:33 +00:00
paul
129ee739df gtk: implement CreatePatternBrush
git-svn-id: trunk@12865 -
2007-11-14 07:25:17 +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
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
marc
7dcb45bc1f * patch for tpairsplitter by Paul Ishenin
git-svn-id: trunk@10712 -
2007-03-06 00:08:35 +00:00
marc
d7051338d9 * global cursor patch from Paul Ishenin
* dragcursor fix
! note: setting of the initial default cursor in gtk needs to be looked at, it should set the cursor as defined by the widget, no the default arrow

git-svn-id: trunk@10609 -
2007-02-07 23:31:44 +00:00
marc
92e3d63d75 * Cursor patch from Paul Ishenin
* Disabled setting cursors for gtk2, since it is broken

git-svn-id: trunk@10544 -
2007-01-31 01:11:00 +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
marc
6c79de53ed * Keyhandling rework. Virtual keycodes are looked up by the keycode of the key pressed.
+ Added dynamic modifier mask lookup. 

git-svn-id: trunk@10422 -
2007-01-11 01:09:11 +00:00
mattias
d6eb52a88b gtk intf: reduced X queries for GetCursorPos, LCL: extended ControlAtPos to search recursive, gtk2 intf: FindControlAtPos now searches recursive and now finds sub child controls, IDE: renaming units via save-as now consider code renames by user
git-svn-id: trunk@10114 -
2006-10-28 10:50:00 +00:00
mattias
cdb8224a6c 64bit fixes
git-svn-id: trunk@9795 -
2006-09-02 20:41:45 +00:00
jesus
675ab2b3f5 implements Canvas.DrawFocusRect in windows and gtk issue #2095
git-svn-id: trunk@9290 -
2006-05-16 21:22:58 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
vincents
f96ac2f4bf changed for Delphi compatibility: changed Width,Height to Right,Bottom from Martin Smat
git-svn-id: trunk@8658 -
2006-01-29 20:25:49 +00:00
micha
9bab7af2a9 rename "winapi" function BringWindowToTop to SetForegroundWindow, because BringWindowToTop does not actually bring the window to the top in win32, but only activates it
git-svn-id: trunk@8142 -
2005-11-13 19:44:20 +00:00
vincents
d5d6476368 fixed gtk compilation
git-svn-id: trunk@8033 -
2005-11-02 13:19:53 +00:00
jesus
991b9379d3 Font enumeration, Screen.fonts, TFontCharset property editor
git-svn-id: trunk@7999 -
2005-10-29 20:06:26 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7e441f98c9 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7538 -
2005-08-22 10:05:31 +00:00
mattias
64c7c29a3f fixed compilation
git-svn-id: trunk@7448 -
2005-07-29 23:46:11 +00:00
vincents
d2179bb34b - 64 bit fixes to GetWindowLong and callers from Florian
- SetWindowLong now sets a ptrint

git-svn-id: trunk@7446 -
2005-07-29 22:44:07 +00:00
mattias
9628a2b23e implemented TMouse.SetCursorPos from Andrew
git-svn-id: trunk@7268 -
2005-06-22 17:37:06 +00:00
mattias
b2ba0f4418 implemented right justification for menuitems for winapi intf from Martin Smat
git-svn-id: trunk@7191 -
2005-05-21 15:58:44 +00:00
mattias
daf76f7dbc fixed Arc and changed x,y to Left,Top to make meaning more clear
git-svn-id: trunk@6889 -
2005-03-04 13:50:09 +00:00
marc
55f3a45a70 + Added RemoveProp winapi call
* Some maintenace on winapi/lclintf files

git-svn-id: trunk@6830 -
2005-02-23 01:12:47 +00:00
marc
7c3a95c570 * first 64bit changes
git-svn-id: trunk@6752 -
2005-02-05 16:09:52 +00:00
micha
ed63005188 add platform independent winapi function IsWindowEnabled
git-svn-id: trunk@6738 -
2005-02-05 09:05:51 +00:00
mattias
ab66df423f fixed TGtkWidgetSet.ExtSelectClipRGN for DCOrigin
git-svn-id: trunk@6608 -
2005-01-16 11:40:11 +00:00
mattias
1ac4c9fdda implemented TPen.Mode=pmXor from Jesus
git-svn-id: trunk@6508 -
2005-01-08 11:03:18 +00:00