Commit Graph

9 Commits

Author SHA1 Message Date
paul
e334fff57a lcl: fix loading of icons and cursor from the resources:
- fix signature check for TCursorImage in case of ReadData call
  - split loading of icons and cursor from the resource because of different structures used for them
  - load TCursorImage from RT_CURSOR instead of RT_ICON

git-svn-id: trunk@30006 -
2011-03-24 03:37:06 +00:00
paul
f81a7b073a lcl: native resource support:
- add implementation for LoadFromResourceName and LoadFromResourceID for TIcon and TCursorImage
  - try loading icon from native resource if appropriate lrs resource is not available

git-svn-id: trunk@23290 -
2009-12-26 15:10:14 +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
marc
301ebd9881 * Implemented .ico + .cur writing
git-svn-id: trunk@16372 -
2008-09-02 23:00:19 +00:00
paul
07f06787ff lcl: allow setting Size for TIcon, TCursorImage, TicnsIcon before loading or before changing Current property. fixes #0011983
git-svn-id: trunk@16279 -
2008-08-28 00:54:58 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
453ea8d582 lcl: totally remove CreateCursor, replace it calls by CreateIconIndirect
git-svn-id: trunk@15501 -
2008-06-21 13:11: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
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