juha
3f7ccb5d63
LCL: Delete the pcfDelphi* and pcfKylix* clipboard formats. Issue #27194 .
...
git-svn-id: trunk@56488 -
2017-11-24 18:02:15 +00:00
wp
e9e34f5965
LCL: Remove predefined clipboard format pcfDelphiBitmap (obsolete).
...
git-svn-id: trunk@56434 -
2017-11-18 13:18:41 +00:00
mattias
76b41ca24f
LCL: clean up
...
git-svn-id: trunk@45198 -
2014-05-27 13:27:55 +00:00
marc
84d4e52eae
Add scanline support
...
git-svn-id: trunk@41855 -
2013-06-23 19:46:43 +00:00
juha
ecd140c985
Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
mattias
63bed888d2
LCL: clean up
...
git-svn-id: trunk@35505 -
2012-02-20 10:23:34 +00:00
paul
91b8188bd0
lcl: add TLazIntfImage.Mask(color,keepmask), move a piece of code from rasterimage.mask to TLazIntfImage.Mask
...
git-svn-id: trunk@34012 -
2011-12-07 02:06:39 +00:00
sekelsenmat
e500bcb51d
Makes a crashing statement more clear to make debugging easier
...
git-svn-id: trunk@32063 -
2011-08-26 12:02:38 +00:00
juha
0928ead547
LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
...
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
mattias
369aa3055c
fixed typo dont
...
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
mattias
f0afca08f5
LCL: reduced debugging under wince
...
git-svn-id: trunk@22777 -
2009-11-25 22:16:26 +00:00
marc
a457e55753
* fixed missing endupdate when loadinf image with size=0
...
git-svn-id: trunk@22264 -
2009-10-22 20:31:04 +00:00
marc
dbbb1db868
* Invalidate rasterimage handle too on an endupdate. This way the handle will be recreated with the modified data
...
git-svn-id: trunk@22182 -
2009-10-14 22:48:45 +00:00
marc
a2ad649879
* Dont read rawimage data if the format is none. Only clear the image. Prevents crashes when saving
...
git-svn-id: trunk@21017 -
2009-07-30 23:05:07 +00:00
vincents
62e1b6c49a
LCL: fixed streaming rasterimage on bigendian system from C. Western (issue #13330 )
...
git-svn-id: trunk@19555 -
2009-04-21 14:28:37 +00:00
paul
6af0fb9bc9
lcl: fix asterisk position in the copyright comment
...
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
paul
e11389adc0
lcl: don't block flipping in the LCL level (part of issue #0013059 )
...
git-svn-id: trunk@19216 -
2009-04-04 13:04:01 +00:00
paul
bba625c7a6
lcl: fix memory leak in the CopyMask procedure (bug #0013430 )
...
git-svn-id: trunk@19175 -
2009-04-01 01:04:01 +00:00
marc
ec7a647154
* Added loading form rawimage
...
git-svn-id: trunk@18328 -
2009-01-18 15:47:42 +00:00
marc
c8855d51da
+ Added flags to allow TLazIntfImage initialize description in creation
...
* replaced existing calls to create TLazIntfImage without description since it is set later (default works too, but might change).
* Enabled palette support for descriptions without palette
git-svn-id: trunk@17407 -
2008-11-16 15:27:37 +00:00
paul
20accebb61
lcl: if Bitmap is empty return clNone in RequestTransparentColor
...
git-svn-id: trunk@16617 -
2008-09-17 08:05:03 +00:00
paul
196b1d0098
lcl: graphic changes
...
- don't create dummy mask for icon if image.MaskBitsPerPixel = 0
- win32: create dummy mask for icon if no mask is present since windows cannot live without any mask
- force Change at correct place of TIcon.AssignImage
- clear not only saved stream on TRasterImage.LoadFromStream but all handles too since they are not valid after loading another data to an image
git-svn-id: trunk@16397 -
2008-09-04 01:39:26 +00:00
marc
848eeac586
* When saving icon, use maskhandle when set
...
* Update custombitmap pixelformat when rawimage is changed
git-svn-id: trunk@16395 -
2008-09-04 00:09:45 +00:00
paul
af3f2ad36b
lcl: initialize maskhandle to 0
...
git-svn-id: trunk@16378 -
2008-09-03 07:06:36 +00:00
paul
08ac633cb7
lcl: don't create dummy mask on TRasterImage.BitmapHandleNeeded (from Luiz, #0012005 )
...
git-svn-id: trunk@16331 -
2008-08-31 12:57:12 +00:00
paul
cef06f6bb7
revert r16293 #88af0e037f
...
git-svn-id: trunk@16298 -
2008-08-29 13:21:22 +00:00
paul
88af0e037f
lcl:
...
- decrease visibility of Canvas property in TRasterImage from public to protected
- make property Canvas public to TCustomBitmap
git-svn-id: trunk@16293 -
2008-08-29 11:17:57 +00:00
paul
d173c2f1ae
lcl: apply Mark patch
...
- CreateCompatibleBitmaps
- separate MaskHandleNeeded of icon from BitmapHandleNeeded
- simplify TRasterImage.BitmapHandleNeeded
from me:
- fix TRawImageLineStarts.GetPosition
git-svn-id: trunk@16262 -
2008-08-27 02:47:30 +00:00
paul
397d98136b
lcl:
...
- MaskHandleNeeded create default mask now if TransparentMode = tmAuto and mask by color in case of TransparentMode = tmFixed
- BitmapHandleNeeded does not create mask if TransparentMode = tmFixed or MaskHandle is already present
This fixes some issues with changing of TransparentColor.
git-svn-id: trunk@16250 -
2008-08-26 03:01:50 +00:00
paul
f4a27a76a4
lcl: don't create mask in SetTransparentColor, but remove old if exists. Create mask on demand. fixes #0011903
...
git-svn-id: trunk@16232 -
2008-08-25 14:53:36 +00:00
marc
ce312d71a9
* Introduced Rasterimage.Masked property to distinguish between Alpha transparency and Masked transparency ( fixes #0011850 )
...
git-svn-id: trunk@16216 -
2008-08-24 22:56:56 +00:00
paul
3f0b560eb6
lcl:
...
- moved some strings used in graphics to resources
- CreateDefaultBitmapHandle is not abstract and returns 0 now if not overrided.
git-svn-id: trunk@16178 -
2008-08-22 02:19:07 +00:00
paul
c00e679d3f
lcl: don't use SetSize(0,0) but use Clear in then RasterImage.LoadFromStream. TIcon cannot handle SetSize.
...
git-svn-id: trunk@16172 -
2008-08-20 23:37:33 +00:00
paul
d90075d403
lcl: correct TransparentColor and TransparentMode
...
- add RequestTransparentColor method which retrieves default transparent color from the rasterimage
- change TransparentMode setter. If mode = tmAuto then TransparentColor is changed to clDefault otherwise it requested from the rasterimage
- change TransparentColor getter. It should return real color (not clDefault) which will be used as transparent
- change TransparentColor setter. It will change TransparentMode to apropriate value depends on value of the passed color.
This all to be delphi compatible and to fix #0011903
git-svn-id: trunk@16154 -
2008-08-20 05:28:40 +00:00
paul
6b23fa695f
lcl: don't create a mask handle for a bitmap if not needed (part of #0011902 )
...
git-svn-id: trunk@16134 -
2008-08-19 01:54:59 +00:00
marc
7bad1d6307
* Fixed imageindex when assigning icons ( #11650 )
...
* Fixed (un)sharing of images with incompatible share type (#11641 )
* Added AssignImage to TIcon so a bitmap can be assigned to the current image. Format and dimention need to be the same
git-svn-id: trunk@16020 -
2008-08-11 00:03:25 +00:00
paul
8ac64ff3ce
lcl: free mask handle when needed (with help of Zeljan, #0011708 )
...
git-svn-id: trunk@16012 -
2008-08-09 17:27:02 +00:00
marc
a87d5a8d4b
* make only rawimage data public, don't allow modification of description
...
git-svn-id: trunk@15851 -
2008-07-23 23:49:17 +00:00
marc
7b10f5086e
* made the rasterimage rawimage public
...
git-svn-id: trunk@15850 -
2008-07-23 18:59: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
marc
19919c7035
* Fixed loading of old graphic streams
...
* Added TIcon.AssignImage, so one image of an icon can be changed
git-svn-id: trunk@15775 -
2008-07-14 00:40:42 +00:00
marc
832f32e752
* mask alpha channel when device has no alpha support
...
git-svn-id: trunk@15754 -
2008-07-12 00:36:14 +00:00
marc
e90a4cab8b
* fixed transparency of speedbutton glyph (issue #11571 )
...
git-svn-id: trunk@15668 -
2008-07-03 23:47:36 +00:00
paul
dabde77f8b
lcl (from me and Marc):
...
- create bitmaps for icon in with icon description instead of alpha bitmaps (fixes #0011514 , #0011539 )
- add support for gtk mono cursors
- fix gtk2 shifts on pixbufs (gtk2 bug)
- misc graphic fixes
git-svn-id: trunk@15557 -
2008-06-24 03:45:36 +00:00
paul
27690f4681
lcl: create mask when maskbitsperpixel <> 0 and not vice versa ( #0011513 )
...
git-svn-id: trunk@15524 -
2008-06-23 05:18:57 +00:00
marc
a99efdd11b
* Removed DibSection from SharedCustomBitmap, its functionality is replaces by the RawImage
...
* Fixed setting size of CustomBitmap (#09512 )
git-svn-id: trunk@15510 -
2008-06-22 18:15:29 +00:00
paul
7b5d91c581
lcl: fix TRasterImage.Clear, TIcon.Clear
...
git-svn-id: trunk@15509 -
2008-06-22 15:37:58 +00:00
paul
278aa5bc29
lcl: add TGraphic.Clear
...
git-svn-id: trunk@15507 -
2008-06-22 14:45:37 +00:00
mattias
3d2b9bab7e
LCL: reduced debugging, clean up
...
git-svn-id: trunk@15477 -
2008-06-20 11:10:27 +00:00
marc
d43db7b7f3
* Splitup of TBitmap into TRasterImage, TCustomBitmap, TFPImageBitmap and TBitmap
...
* Implemented TIcon and reading .ico (including Vista icons)
git-svn-id: trunk@15472 -
2008-06-20 00:21:07 +00:00