Commit Graph

31 Commits

Author SHA1 Message Date
paul
21ab9f3b6a lcl: copy PixelFormat on TCustomBitmap.Assign operation
git-svn-id: trunk@33344 -
2011-11-05 16:28:40 +00:00
paul
59684c6edd lcl: free shareimage image when FreeImage is called in TCustomBitmap. This allows to change PixelFormat to desired.
git-svn-id: trunk@31469 -
2011-06-30 07:08:29 +00:00
maxim
962ba75d92 reverted accidentally committed file
git-svn-id: trunk@30647 -
2011-05-09 22:01:32 +00:00
maxim
f7e476a0c3 restored translations after r30642 #88f70a9c64
git-svn-id: trunk@30646 -
2011-05-09 22:00:05 +00:00
marc
031074fb47 * When a maskhandle of a bitmap is set, update the masked property too
git-svn-id: trunk@30135 -
2011-04-02 16:21:47 +00:00
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
paul
676c706e5c lcl, win32: implement loading icon,cursor from an icon handle (HICON) (GetInfoInfo needs to be implement for other widgetsets to support on other platforms), issue #0016356
git-svn-id: trunk@25024 -
2010-04-28 08:52:16 +00:00
mattias
f0afca08f5 LCL: reduced debugging under wince
git-svn-id: trunk@22777 -
2009-11-25 22:16:26 +00:00
marc
a593eef5ef * Initialize rawimage data when no data present and no data loaded
git-svn-id: trunk@22266 -
2009-10-22 21:54:28 +00:00
marc
e7f7fe8eb9 * fixed loading rawimage from savestream
git-svn-id: trunk@22265 -
2009-10-22 20:32:30 +00:00
marc
73234daa5f * Keep size and pixelformat when unsharing a custom bitmap (issue #13556). Based on patch by Bruce Tulloch
git-svn-id: trunk@20339 -
2009-06-01 22:40:56 +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
918eaf1a50 lcl: fix absolute usage for the new rules of fpc 2.3.1
git-svn-id: trunk@18989 -
2009-03-14 13:57:38 +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
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
697b3bc780 lcl: free mask too (not only bitmap handle) on changing size (#0012004)
git-svn-id: trunk@16326 -
2008-08-31 09:11:52 +00:00
paul
8519c89579 lcl:
- fix TCustomBitmap.MaskHandleNeeded. It used non-compatible description to create mask handle (#0011850)
  - fix TBitmap. Don't set FTransparentColor - it must be clDefault
examples:
  - fix compilation of icon example

git-svn-id: trunk@16268 -
2008-08-27 09:24:00 +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
marc
97be08d811 * fixed maskhandlecreation before bitmaphandle was created
git-svn-id: trunk@16248 -
2008-08-25 23:14:30 +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
c2a460d5b1 lcl: fix destroy order of gdi object on bitmap resize (from Luiz #0011832)
git-svn-id: trunk@16016 -
2008-08-10 13:43:35 +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
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
marc
210a124450 * Implemented minimalistic PixelFormat dependency when creating rawimage description (Mono|RGB|Alpha) (fixes #11672)
* Forced full rawimage data before copying date when unsharing bitmap (sideeffect notices in #11672)

git-svn-id: trunk@15804 -
2008-07-17 20:08:20 +00:00
marc
cfa52d2e20 * Fixed bitmapsizing when handle is created (#11556). Based on patch from Paul.
git-svn-id: trunk@15630 -
2008-06-30 23:55:54 +00:00
mattias
a967a2d997 LCL: reduced some warnings
git-svn-id: trunk@15516 -
2008-06-22 21:42:12 +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
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
mattias
e3520a6d50 gtk intf: reduced warnings/notes - use -dVerboseLCLTodos and -dVerboseGtkTodos to see them
git-svn-id: trunk@15422 -
2008-06-14 12:04:46 +00:00
marc
c81003eefa * Introduced TCustomBitmap as base class for all pixelbased imageclasses. Currently backward comatible (and equal to) TBitmap
* Added resource loading support to TPicture and Glyps to avoid image quality loss when converted to TBitmap
* Removed copy paste code for imagelist resource loading
* Moved some graphic classes to their own ini file

git-svn-id: trunk@14876 -
2008-04-17 23:43:11 +00:00