Commit Graph

45 Commits

Author SHA1 Message Date
paul
c2605409eb win32: cleanup (0010780 by Luiz)
git-svn-id: trunk@14011 -
2008-02-07 08:03:09 +00:00
paul
f1d8f78b0c initial implementation of TWinControl.SetShape for gtk, qt, win32 + example
git-svn-id: trunk@13874 -
2008-01-25 06:56:57 +00:00
paul
75ed1560dc win32: fix behavior of docked form (issue #0010539)
git-svn-id: trunk@13775 -
2008-01-16 05:38:03 +00:00
mattias
ef2d81ca2c LCL: reduced debug output
git-svn-id: trunk@12693 -
2007-11-02 10:03:36 +00:00
paul
1a6c35994e win32:
- remove stayOnTop flag on ShowModal and reset it back after
- bring modal window to front
(issue #0002011, #0007824)

git-svn-id: trunk@12252 -
2007-09-30 07:51:49 +00:00
paul
94eefa1e0e win32: use default window position and/or size in case of position in poDefault, poDefaultPosOnly, poDefaultSizeOnly (issue #0008139)
git-svn-id: trunk@12230 -
2007-09-29 08:26:34 +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
d707f64709 LCL: added TForm.AllowDropFiles to enable OnDropFiles event, updated DropFiles example
git-svn-id: trunk@11686 -
2007-07-31 12:51:35 +00:00
paul
d5c7e43700 - BidiMode patch from Zaher Dirkey (0008996) part 1
git-svn-id: trunk@11408 -
2007-07-02 07:00:51 +00:00
tombo
d7ae9d52d1 LCL: renamed OnFilesDrop event to OnDropFiles
git-svn-id: trunk@11369 -
2007-06-25 14:38:03 +00:00
tombo
6860a97e2b LCL: added OnFilesDrop event to TCustomForm, TApplication and TApplicationProperties
* created example application
* implemented in Win32 interface

git-svn-id: trunk@11365 -
2007-06-24 10:17:46 +00:00
paul
0b6ce0bd99 BiDiMode patch from zaher dirkey (report 0008955)
git-svn-id: trunk@11209 -
2007-05-28 09:06:36 +00:00
vincents
449cc07dec win32 interface: use Bounds of a form when create a new form. If CW_USEDEFAULT is used for bsDialog forms, the initial size is (0,0) which will give negative LCL sizes and range check errors.
git-svn-id: trunk@10886 -
2007-04-05 18:43:29 +00:00
vincents
5043251cbe win32 interface: fixed possible range error
git-svn-id: trunk@10853 -
2007-04-02 20:39:46 +00:00
vincents
8b7cf08537 win32 interface: don't show designer windows in the taskbar
git-svn-id: trunk@10474 -
2007-01-18 14:22:02 +00:00
vincents
17abe3d37e win32 interface: fixed scrolling direction in a scrolledwincontrol (bug #8099)
git-svn-id: trunk@10424 -
2007-01-11 13:58:39 +00:00
micha
a4bd9f7713 fix pointer type conversions
git-svn-id: trunk@10039 -
2006-10-04 22:21:04 +00:00
vincents
b8ef0bd35b add class method modifier to the implementation of class methods (fixes fpc 2.1.1 compilation)
git-svn-id: trunk@9366 -
2006-05-27 20:30:46 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
vincents
b9c2988810 set constraints using wm_getminmaxinfo (issue #1520)
git-svn-id: trunk@8319 -
2005-12-14 21:00:22 +00:00
micha
555edd3371 set default form icon (issue #1457)
git-svn-id: trunk@8197 -
2005-11-19 16:10:56 +00:00
micha
95cfbef747 add TShowInTaskbar enum to specify "default", which is default for what the widgetset wants
git-svn-id: trunk@8079 -
2005-11-06 19:35:22 +00:00
vincents
502f83fbbf only SetShowInTaskBar if HandleAllocated (issue #906)
git-svn-id: trunk@7751 -
2005-09-19 23:11:20 +00:00
micha
35f0f32591 when designing, we want resizeable window borders
git-svn-id: trunk@7347 -
2005-07-14 17:05:55 +00:00
micha
89a96a30a3 need to recreate form window when changing border flags
implement lock-flag when destroying handle, do not focus control that is destroying handles

git-svn-id: trunk@7219 -
2005-06-02 12:11:54 +00:00
vincents
a9cdded52a disable all application windows, when the AppHandle is disabled (fixes bug #788)
git-svn-id: trunk@7158 -
2005-05-06 20:07:29 +00:00
micha
89e77e9b46 implement changing tform.borderstyle after creation
git-svn-id: trunk@7120 -
2005-04-29 19:50:52 +00:00
micha
cdcf64b178 mainform may also be an MDI form, or a stay on top form (fixes bug #656)
git-svn-id: trunk@7044 -
2005-03-31 20:07:44 +00:00
micha
09233bbe50 make DestroyHandle method protected again, use global RecreateWnd procedure
git-svn-id: trunk@7023 -
2005-03-25 16:41:00 +00:00
micha
ab2ceb0d19 implement ShowInTaskBar for win32 intf
git-svn-id: trunk@7022 -
2005-03-25 08:58:11 +00:00
mattias
5ec0ba3595 implemented TCustomForm.ShowInTaskBar for gtk1+2 from Andrew Haines
git-svn-id: trunk@6995 -
2005-03-19 23:36:26 +00:00
micha
b89a0ffc98 translate and route WM_SYSCHAR messages, fix WM_SYSKEYDOWN and WM_SYSKEYUP messages
git-svn-id: trunk@6724 -
2005-02-03 15:06:30 +00:00
micha
7bebf194eb use 0 icon handle for bsdialog forms
git-svn-id: trunk@6720 -
2005-01-31 17:09:17 +00:00
micha
32c65f7004 fix scrolling (win32)
git-svn-id: trunk@6601 -
2005-01-15 13:25:29 +00:00
micha
6d3f279a9e fix showmodal to remember disabled windows (fixes bug #478, and more)
git-svn-id: trunk@6378 -
2004-12-16 14:29:51 +00:00
micha
e087248a2d fix borderstyle/borderbuttons
git-svn-id: trunk@6278 -
2004-11-21 18:58:42 +00:00
micha
4a54d8d57f remove usage of fcompstyle
git-svn-id: trunk@6186 -
2004-11-02 17:48:19 +00:00
micha
f34ec6eeb5 set default icon instead of lcl icon which actually is a bitmap
git-svn-id: trunk@6184 -
2004-11-01 18:20:21 +00:00
micha
3c81935809 add TCustomForm.BorderIcons (delphi compat)
tweak win32 window dialog flags, to create better dialog look

git-svn-id: trunk@6159 -
2004-10-24 18:54:57 +00:00
micha
2b55646f6f splitup of CreateComponent to widgetset CreateHandle methods
git-svn-id: trunk@6137 -
2004-10-15 09:51:09 +00:00
vincents
67212be365 fix fpc 1.0.x. compilation
git-svn-id: trunk@6050 -
2004-09-23 07:54:16 +00:00
micha
1a1fa9f508 convert LM_SETFORMICON message to interface method
git-svn-id: trunk@6002 -
2004-09-15 07:58:00 +00:00
micha
977ee858b4 convert LM_SHOWMODAL to interface methods
git-svn-id: trunk@5990 -
2004-09-13 13:13:47 +00:00
marc
897fe72887 * Fixes some typos and changes uses clause cases
git-svn-id: trunk@5317 -
2004-03-17 19:59:56 +00:00
marc
34c1c7f47b * Interface reconstruction. Created skeleton units, classes and wscontrols
git-svn-id: trunk@5311 -
2004-03-17 00:34:37 +00:00