Commit Graph

141 Commits

Author SHA1 Message Date
mattias
f4eaf90e42 undo
git-svn-id: trunk@12129 -
2007-09-22 10:09:27 +00:00
mattias
b647927885 translations: german: added lazreport maincalleditor.de.po from Joerg Braun
git-svn-id: trunk@12128 -
2007-09-22 10:06:48 +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
mattias
99e2799127 LCL: TSpeedButton: added PaintBackground
git-svn-id: trunk@11852 -
2007-08-23 20:31:46 +00:00
vincents
2d643365e0 LCL: TCustomSpeedbutton now uses TControl.OnMouseEnter and TControl.OnMouseLeave from Luiz (bug #9399)
git-svn-id: trunk@11775 -
2007-08-10 11:02:39 +00:00
vincents
baebd22616 LCL: moved TButton from buttons unit to stdctrls (bug #9137), compilation tested on windows for gtk2, qt and win32 widgetset
git-svn-id: trunk@11367 -
2007-06-25 08:34:41 +00:00
vincents
72e8b7d4b3 lcl: if a speedbutton is not part of a group a dblclick is translated to two click events fixes bug #8625
git-svn-id: trunk@11256 -
2007-06-01 17:38:41 +00:00
mattias
78509220c9 LCL: TSpeedButton: if mouse capture lost then update state, fixed state when invoking Click which triggers ShowModal
git-svn-id: trunk@11211 -
2007-05-28 12:12:51 +00:00
paul
0b6ce0bd99 BiDiMode patch from zaher dirkey (report 0008955)
git-svn-id: trunk@11209 -
2007-05-28 09:06:36 +00:00
mattias
db807d1a6d LCL: TSpeedButton: fixed Down state during OnClick from Stephano
git-svn-id: trunk@11201 -
2007-05-25 10:23:25 +00:00
paul
2ea84b6b51 - LCL-default images loading moved from TWidgetSet.LoadStockPixmap to buttons and dialogs units
- updated LCL-default images from silk collection (thanks badphoenix)
- TWidgetSet.LoadStockPixmap extended to return bitmap mask handle (need to use win32 stock icons)
issues: #0008936, #0008937

git-svn-id: trunk@11197 -
2007-05-25 09:13:22 +00:00
paul
e3c799d085 - fixed bug with themed drawing in buildlazdialog.pas noticed by Vincent (under win2000)
- enabled speedbutton themed drawing (previously was disabled with ifdef)

git-svn-id: trunk@11175 -
2007-05-22 15:46:58 +00:00
paul
dc5845e19a - implement speedbutton theme painting (disabled through define UseThemes now)
git-svn-id: trunk@11163 -
2007-05-18 14:14:13 +00:00
mattias
23019e0308 IDE: added TCustomSpeedButton.OnMouseEnter/Exit from Graeme
git-svn-id: trunk@11034 -
2007-04-29 21:20:09 +00:00
mattias
cfd297adf3 debian package creation script: extended to support amd64, powerpc and sparc from Peter Mugaas
git-svn-id: trunk@11020 -
2007-04-28 18:33:38 +00:00
vincents
395cbb23b9 reverted previous commit, Lazarus uses TSpeedButton.OnDblClick in the component bar
git-svn-id: trunk@10909 -
2007-04-07 11:19:30 +00:00
vincents
81ec2d6fa8 LCL: removed TSpeedButton.OnDblClick (Delphi compatible), fixes bug #8625
git-svn-id: trunk@10908 -
2007-04-07 11:01:54 +00:00
marc
e4deb6932e * made ActiveDefaultButtonChanged naming more consistent with other routines
* added some handle checks

git-svn-id: trunk@10733 -
2007-03-10 02:48:32 +00:00
jesus
ce908d7e72 lcl: added showcaption property to TSpeedButton
git-svn-id: trunk@10721 -
2007-03-08 21:34:11 +00:00
vincents
ba85e84687 LCL: published dragging related properties
patch by: Paul Ishenin

git-svn-id: trunk@10648 -
2007-02-16 08:31:43 +00:00
vincents
ff7a9a5c84 lcl: checkbox and radiobutton have ParentColor is true by default (bug #8284)
git-svn-id: trunk@10614 -
2007-02-08 22:43:23 +00:00
micha
ef8bd1af9f implement calling TSpeedButton.Click for accelerator key (issue #7911, patch by Boguslaw Brandys)
git-svn-id: trunk@10590 -
2007-02-05 17:32:20 +00:00
vincents
7ef1dc90d4 LCL: published T(DB)CheckBox.Color and ParentColor (bug #8185)
git-svn-id: trunk@10540 -
2007-01-30 15:33:39 +00:00
jesus
b56bef2991 moved MouseEnter,MouseLeave from private to protected section for TCustomSpeedButton
git-svn-id: trunk@10355 -
2006-12-28 19:54:18 +00:00
mattias
062208ae24 made TColorButton a TCustomSpeedButton descendant from Tom Gregorovic
git-svn-id: trunk@10161 -
2006-11-02 19:44:07 +00:00
mattias
7bb113cec8 fixed a few fpc 2.1.1 incompatibilities
git-svn-id: trunk@9716 -
2006-08-11 12:38:00 +00:00
mattias
909bde3051 fixed TRadioButton updating sibling buttons, when no handles are created
git-svn-id: trunk@9579 -
2006-07-10 00:31:40 +00:00
mattias
47a7425d7c set button/bitbtn borderspacing.innerborder to 4
git-svn-id: trunk@9335 -
2006-05-22 08:10:49 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
bc2f516a32 now speedbuttons has transparent from Darek
git-svn-id: trunk@9181 -
2006-04-25 16:06:39 +00:00
mattias
96da86f260 published some Font properties, that now works under win32 and gtk1
git-svn-id: trunk@9165 -
2006-04-23 20:22:22 +00:00
mattias
0bf04077bf added gtk TMemo font and color implmentation from Darek
git-svn-id: trunk@9077 -
2006-04-04 19:00:57 +00:00
vincents
36b2299e1a removed TSize from LCLType (fixes issue #1702)
git-svn-id: trunk@8738 -
2006-02-15 22:18:07 +00:00
vincents
c4d786f6cc published NumGlyphs (issue #1412)
git-svn-id: trunk@8118 -
2005-11-09 14:55:43 +00:00
vincents
afe0734734 clean up of fpcadds
git-svn-id: trunk@8101 -
2005-11-07 23:25:45 +00:00
mattias
553243c2a4 clean up
git-svn-id: trunk@7998 -
2005-10-29 16:04:41 +00:00
mattias
912b242bea implemented TBitBtn override GetDefaultBitBtnGlyph
git-svn-id: trunk@7997 -
2005-10-29 15:58:40 +00:00
mattias
06a1976a71 published TSpeedButton.Font
git-svn-id: trunk@7870 -
2005-10-01 00:38:24 +00:00
mattias
aac6d79b71 TBitBtn now calls AdjustSize on change
git-svn-id: trunk@7748 -
2005-09-19 22:07:12 +00:00
mattias
620a533b3c published TButton.Color
git-svn-id: trunk@7627 -
2005-09-04 23:28:33 +00:00
marc
68321456bb * Renamed InterfaceObject to WidgetSet
- Removed some logs
* Changed mainloop to a callback through the interface

git-svn-id: trunk@7585 -
2005-08-28 23:38:18 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7ecd5dbcf0 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7540 -
2005-08-22 11:51:25 +00:00
mattias
88b387c76e published TBitBtn.AutoSize
git-svn-id: trunk@7288 -
2005-06-25 16:38:47 +00:00
mattias
a7b16d2f92 started TButtonActionLink
git-svn-id: trunk@7125 -
2005-05-02 09:17:08 +00:00
micha
2bfef4ae8e implement/fix button/label shortcut accelchar handling
git-svn-id: trunk@7108 -
2005-04-27 12:37:28 +00:00
micha
8355126972 update speedbutton state if Enabled changed (fixes bug #735)
git-svn-id: trunk@7100 -
2005-04-24 13:42:04 +00:00
micha
fbb495bee3 implement active default control switching
pressing return key executes active default control action

git-svn-id: trunk@7080 -
2005-04-17 18:41:15 +00:00
mattias
a4f497026b fixed ambigious with ambiguous
git-svn-id: trunk@7011 -
2005-03-23 10:45:06 +00:00
marc
cc648ec617 * Delphi compat, TButton.Click is public
git-svn-id: trunk@6978 -
2005-03-18 01:18:44 +00:00