Commit Graph

112 Commits

Author SHA1 Message Date
mattias
ac65da1a47 lcl: fixed typos
git-svn-id: trunk@50668 -
2015-12-05 23:29:47 +00:00
marc
84d4e52eae Add scanline support
git-svn-id: trunk@41855 -
2013-06-23 19:46:43 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
paul
2273a3b919 lcl: fixed a copy paste error of r31019 #a4437fdf73 (noticed by David Jenkins, issue #0021736)
git-svn-id: trunk@36810 -
2012-04-16 06:24:48 +00:00
mattias
92be47b60a lcl: fixed typo
git-svn-id: trunk@36382 -
2012-03-27 11:55:53 +00:00
mattias
57f7ebc063 fixed typo
git-svn-id: trunk@36377 -
2012-03-27 08:08:06 +00:00
mattias
40d3ff8228 LCL: reduced warnings
git-svn-id: trunk@35528 -
2012-02-21 10:18:07 +00:00
mattias
a9debb99ed LCL: TRawImage.PerformEffect: added option to free old data
git-svn-id: trunk@34802 -
2012-01-19 21:20:47 +00:00
mattias
6776c76423 LCL: TRawImage.PerformEffect: first check description then allocate mem
git-svn-id: trunk@34801 -
2012-01-19 21:11:52 +00:00
juha
c91ec1c5f9 LCL, GraphType: Replace const string arrays with RTTI value and WriteStr()
git-svn-id: trunk@34759 -
2012-01-15 23:51:18 +00:00
juha
5b3a5be476 Revert r34745 #fe6abb4c2e. Fixing the memory leak causes a crash when Lazarus starts.
git-svn-id: trunk@34750 -
2012-01-15 14:46:41 +00:00
juha
fe6abb4c2e LCL: fix memory leak in TRawImage.PerformEffect. Issue #21068, patch from Bart Broersma
git-svn-id: trunk@34745 -
2012-01-15 11:56:28 +00:00
sekelsenmat
d6604b2665 Adds one more init for bpp=1
git-svn-id: trunk@34309 -
2011-12-20 04:07:24 +00:00
sekelsenmat
eb931b330d graphtype: Adds a debug routine; customdrawnws: Starts implementing StretchDraw and TBitmap support, not yet working
git-svn-id: trunk@33968 -
2011-12-05 10:30:39 +00:00
sekelsenmat
4afd5cec0f GraphType: some more init routines
git-svn-id: trunk@33822 -
2011-11-28 10:47:17 +00:00
sekelsenmat
1207aa33c0 Adds support for RGB of depth 16 bits in GraphType in and LCL-CustomDrawn
git-svn-id: trunk@33783 -
2011-11-25 17:12:07 +00:00
sekelsenmat
a485ecf313 Adds WindowOrg support for lazcanvas and a upsidedown init for graphtype
git-svn-id: trunk@33733 -
2011-11-23 20:54:38 +00:00
sekelsenmat
6293824469 Adds more init formats to graphtype
git-svn-id: trunk@33716 -
2011-11-23 08:26:18 +00:00
juha
a4437fdf73 LCL: fix range error when reading an ImageList made with Delphi. Issue #19454
git-svn-id: trunk@31019 -
2011-06-03 00:28:50 +00:00
mattias
cdabc1ddbf LCL: removed duplicate IntersectRect
git-svn-id: trunk@27870 -
2010-10-26 07:37:49 +00:00
mattias
584dd6f786 LCL: combined duplicate code IntersectRect
git-svn-id: trunk@27848 -
2010-10-25 08:32:44 +00:00
marc
0b2e80a484 * Move generic RGBIndices code to rawimage description. Part of patch #16304 by Denis Golovan
git-svn-id: trunk@27043 -
2010-08-09 22:53:38 +00:00
blikblum
fca28023ef lcl: in TRawImage.ExtractRect, use the direct data copy only when the requested rect.top = 0
git-svn-id: trunk@23608 -
2010-02-01 01:35:18 +00:00
mattias
f0afca08f5 LCL: reduced debugging under wince
git-svn-id: trunk@22777 -
2009-11-25 22:16:26 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +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
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
marc
4edc26916d * Fixed possible bufferoverflow when requested rect is wider than source
git-svn-id: trunk@15629 -
2008-06-30 23:54:36 +00:00
paul
36feee63d6 lcl:
- fix Init_BPP32_B8G8R8A8_M1_BIO_TTB
- fix PngReader - it now handles 1 color transparent png images

git-svn-id: trunk@15571 -
2008-06-25 05:04:47 +00:00
paul
14ecdf824d lcl: don't copy image data if source does not have it (#0011550)
git-svn-id: trunk@15569 -
2008-06-25 01:48:14 +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
e5be2fd9bf lcl: fix typo in comment
git-svn-id: trunk@15526 -
2008-06-23 06:50:51 +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
paul
abd20effbe lcl: split glowshadow const to glow and shadow pars and increase glow as been suggested at blog
git-svn-id: trunk@15272 -
2008-05-29 07:51:03 +00:00
paul
65d8d6bfdc lcl: Patch to avoid range check errors in graphtype.pp (from C Western issue #0011064)
git-svn-id: trunk@14692 -
2008-03-31 00:49:42 +00:00
paul
3d9b5dd465 - 2 warnings
git-svn-id: trunk@14100 -
2008-02-12 05:51:07 +00:00
paul
3d2824268f cleanup
git-svn-id: trunk@13872 -
2008-01-25 05:45:10 +00:00
paul
db8928bd1c dockSite: call paint dock frame only only for docked controls
git-svn-id: trunk@13653 -
2008-01-06 10:09:46 +00:00
mattias
e8f4f6e240 replaced several BoolToStr calls with dbgs
git-svn-id: trunk@12914 -
2007-11-18 13:06:38 +00:00
paul
8f6cfd5bea Remove redundant code in GraphType by Luiz Americo (0010200)
git-svn-id: trunk@12909 -
2007-11-17 17:55:10 +00:00
paul
cf4069023c graphics:
- prevent accessing data outside bounds (when copying data from source to destination with bigger alignment. e.g word -> dword)
- fix win2000 bug with wrongly reported bmWidthBytes (they are calculated by win2000 sometimes as for word alignment while in fact they have dword alignment since all bitmap sections are dword aligned). fixes issue with shifted component images in win2000 ide

git-svn-id: trunk@12825 -
2007-11-11 12:51:38 +00:00
paul
329a78831a TRawImage:
- protect PerformEffect from all formats except desired (prevent potential misuse)
- add one more format for painting glyphs of non themed disabled buttons (1 bit instead of grey)
- draw disabled glyph of non themed button with introduced effect (under win32)

git-svn-id: trunk@12808 -
2007-11-10 09:44:50 +00:00
paul
74d8740bcc more comments
git-svn-id: trunk@12784 -
2007-11-08 13:09:50 +00:00
paul
eb11482eee State image drawing:
- implement TRawImage.PerformEffect
- use TRawImage.PerformEffect for State drawing of win32 imagelist (except disabled drawing in manifested exe - in this case os method used)
- implement state drawing of default imagelist

git-svn-id: trunk@12776 -
2007-11-08 02:32:57 +00:00
paul
b9e61a07f7 lcl, win32: fix 2 bitmap mask problems
git-svn-id: trunk@12559 -
2007-10-23 07:11:18 +00:00
paul
1d41ad50f5 fix compilation with VerboseRawImage
git-svn-id: trunk@12462 -
2007-10-14 14:06:56 +00:00
marc
99dd765724 * Fixed cursors on win2000, winNT when bpp<24
git-svn-id: trunk@12420 -
2007-10-11 23:21:58 +00:00
mattias
8f193ce68e LCL: fixed TLazIntfImage setting DataDescription, updated example for scanline
git-svn-id: trunk@12267 -
2007-10-01 09:35:21 +00:00
mattias
ca365cd4ff h2pas: added tool to convert c function types to pointers
git-svn-id: trunk@11953 -
2007-09-07 10:34:35 +00:00