Commit Graph

78 Commits

Author SHA1 Message Date
marc
0e764d0c33 * Enabled alphadescription for icons
git-svn-id: trunk@11907 -
2007-09-01 17:57:01 +00:00
marc
6767396907 * fixed alpha images on 16 bpp
* fixed adding alpha to images

git-svn-id: trunk@11897 -
2007-09-01 02:46:24 +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
marc
1a84ef8f8a * Added dataowner to LazIntfImage
* fixes imagelist code

git-svn-id: trunk@10938 -
2007-04-11 23:54:17 +00:00
marc
b681f94950 * Step 1 of the native imagelist implementation
git-svn-id: trunk@10875 -
2007-04-05 00:00:37 +00:00
paul
aec06c66dd - fixed error in cursor reading previously introduced by me
- fixed cursor creating code in widgetsets

git-svn-id: trunk@10779 -
2007-03-22 02:24:41 +00:00
marc
8bd32dba70 * fixed bitsperpixel, bitorder and byteorder for included alpha
git-svn-id: trunk@10773 -
2007-03-21 01:11:13 +00:00
paul
55da96e64c Hotspot fix for BE systems
git-svn-id: trunk@10769 -
2007-03-20 01:58:25 +00:00
marc
b3f981c48b * Modified patch from Paul Ishenin implementing cursors
git-svn-id: trunk@10446 -
2007-01-15 00:53:09 +00:00
vincents
68e2a02221 added support for reading cursor files from Paul Ishenin (bug #8082)
git-svn-id: trunk@10394 -
2007-01-08 12:55:21 +00:00
mattias
cec8f5b20e lcl: TLazIntfImage added quick setup functions for pf24bit and pf32bit formats
git-svn-id: trunk@10276 -
2006-12-01 21:37:03 +00:00
mattias
4aaef35274 examples: added an example for ScanLine replacement
git-svn-id: trunk@10275 -
2006-12-01 21:23:32 +00:00
mattias
535bec1a8d gtk intf: fixed auto realigning of bitmap masks
git-svn-id: trunk@9732 -
2006-08-18 21:10:29 +00:00
mattias
ace64d3a32 changed RawImage sizes to PtrUInt
git-svn-id: trunk@9611 -
2006-07-14 22:21:17 +00:00
mattias
835168efa7 gtk intf: added automatic realign for bitmap masks bug #2022
git-svn-id: trunk@9610 -
2006-07-14 16:45:05 +00:00
micha
fa6f15ad9a preserve content when resizing bitmap (issue #1245)
git-svn-id: trunk@9545 -
2006-07-03 12:58:28 +00:00
mattias
085f6ed50a added ideintf/stringspropeditdlg.pas
git-svn-id: trunk@9353 -
2006-05-25 15:13:44 +00:00
mattias
8f5df562b7 TLazBmpReader now keeps colors when reading TransparentColor
git-svn-id: trunk@9338 -
2006-05-22 20:38:01 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
ac4d00db6c fixed tpanel.xpm tabs to spaces
git-svn-id: trunk@8910 -
2006-03-10 16:32:26 +00:00
mattias
9272283138 restored old tpanel.xpm
git-svn-id: trunk@8909 -
2006-03-10 16:19:34 +00:00
mattias
2940e62358 fixed delphi transparent trick for palette .bmp
git-svn-id: trunk@8446 -
2006-01-04 21:06:56 +00:00
mattias
cbe200a355 implemented TBitmap.TransparentColor, set to clNone to load a bmp without transparency
git-svn-id: trunk@8221 -
2005-11-24 22:19:12 +00:00
jesus
d98dc07d7a memory leak fix
git-svn-id: trunk@8202 -
2005-11-21 19:31:58 +00:00
mattias
ae7c181070 improved menuitems, speedbuttons and imagelist from Colin
git-svn-id: trunk@8071 -
2005-11-06 10:23:34 +00:00
micha
96bcfffa4c *.bmp transparency fixes, first (= left-bottom) pixel is used as transparent color (fixes #1211)
git-svn-id: trunk@7968 -
2005-10-16 16:37:19 +00:00
mattias
bb8f7429bc optimized copying to memorystreams
git-svn-id: trunk@7555 -
2005-08-23 09:19:39 +00:00
mattias
49bbb18e35 TBitmap with transparent pixels now saves in xpm format
git-svn-id: trunk@7554 -
2005-08-22 23:24:26 +00:00
vincents
1064272122 removed ifdef ver1 from Martin Smat
git-svn-id: trunk@7479 -
2005-08-04 08:41:46 +00:00
mattias
5835cdba75 Added TProtableAnyMapGraphic and fixed loading .ico on BIG_ENDIAN systems from Colin Western
git-svn-id: trunk@7368 -
2005-07-18 09:29:11 +00:00
mattias
666e058403 implemented saving alpha bmp and using transparency for IDE glyph editor
git-svn-id: trunk@7264 -
2005-06-22 09:45:59 +00:00
mattias
c0cd818f26 moved TLazIntfImage.CreateMaskData to public
git-svn-id: trunk@7240 -
2005-06-14 23:20:46 +00:00
marc
2548997607 * typo
git-svn-id: trunk@6955 -
2005-03-15 23:33:43 +00:00
marc
92a5143c85 * fixed bitmap endianess
git-svn-id: trunk@6954 -
2005-03-15 23:30:40 +00:00
mattias
01b7972fa4 fixed bmp 16 bit loading from Peter J. Haas
git-svn-id: trunk@6924 -
2005-03-08 10:29:19 +00:00
vincents
5c84454943 changed hexstr(cardinal()) for pointers to dbgs() and other 64-bits fixes from Peter Vreman
git-svn-id: trunk@6915 -
2005-03-07 21:59:45 +00:00
marc
ccbcdd833d * Changed typing fixes to casting
git-svn-id: trunk@6193 -
2004-11-04 00:52:23 +00:00
marc
89a2d8792a * Fixed fpc stronger typing
git-svn-id: trunk@6191 -
2004-11-03 22:13:48 +00:00
mattias
6ce2f93ba8 added TLazIntfImage.TColors property
git-svn-id: trunk@6076 -
2004-09-27 10:01:18 +00:00
mattias
a173ca36a9 fixed TLazIntfImage.LoadFromDevice
git-svn-id: trunk@5965 -
2004-09-11 10:02:38 +00:00
mattias
2f7f4dff8e added case insesitifor xpm reader
git-svn-id: trunk@5844 -
2004-08-24 18:21:07 +00:00
mattias
8385cd34da accelerated TLazIntfImage.SetColor_BPP32_R8G8B8_A1_BIO_TTB
git-svn-id: trunk@5824 -
2004-08-19 18:13:25 +00:00
mattias
e059141fb3 added TLazIntfImage.SetColor_BPP32_R8G8B8_A1_BIO_TTB_RBO
git-svn-id: trunk@5786 -
2004-08-13 21:46:31 +00:00
mattias
d1a6ebb7cd fixed compilation for fpc 1.0.10
git-svn-id: trunk@5597 -
2004-06-24 17:59:18 +00:00
mattias
8ddb84becd fixed TTreeNode.Delete and deleting in between node
git-svn-id: trunk@5567 -
2004-06-15 17:21:01 +00:00
mattias
a444f136c2 replaced writeln by debugln
git-svn-id: trunk@5455 -
2004-05-11 11:42:27 +00:00
mattias
eaf26981f3 made TIcon more independent of TBitmap from Colin
git-svn-id: trunk@5404 -
2004-04-12 22:36:29 +00:00
mattias
ffe9052073 added basic TIcon reading from Colin
git-svn-id: trunk@5390 -
2004-04-10 00:11:16 +00:00
mattias
6dc1f2faec implemented by guessing the 16bit bmp reader part
git-svn-id: trunk@5361 -
2004-04-02 20:20:21 +00:00
mattias
506f8a7c71 implemented mask merge and extraction for raw images
git-svn-id: trunk@5343 -
2004-03-28 12:49:23 +00:00