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
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
vincents
b27dc30a4b
LCL: fixed range error (loop variable needs to be integer too)
...
git-svn-id: trunk@10863 -
2007-04-04 07:25:54 +00:00
mattias
ccb0b4e1ea
IDE: fixed endless loop
...
git-svn-id: trunk@10862 -
2007-04-03 22:33:24 +00:00
vincents
a565b77244
lcl: reverted accidental commit in revision 10858 #e1b5b16184
...
git-svn-id: trunk@10859 -
2007-04-03 20:00:44 +00:00
vincents
e1b5b16184
gtk interface: fixed calling TListView.OnColumnClick, removed duplicate code (bug #8298 ) from Flavio Etrusco
...
git-svn-id: trunk@10858 -
2007-04-03 19:53:45 +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
vincents
9cbe4baa12
LCL: added rileDQWordBoundary for alignment on 128bit boundary ( #8425 ) from Tom
...
git-svn-id: trunk@10701 -
2007-03-01 10:27:21 +00:00
mattias
b40adae3c8
LCL: fixed MissingBits for low precision
...
git-svn-id: trunk@10577 -
2007-02-04 23:14:29 +00:00
mattias
29a270df3c
LCL: improved bit table MissingBits for converting less bits per channel to many bits per channel from Tom Gregorovic
...
git-svn-id: trunk@10155 -
2006-11-02 02:51:11 +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
ed55bb0c94
fixed TBitmap.Draw
...
git-svn-id: trunk@9645 -
2006-07-20 20:14:45 +00:00