marc
1e1d30f9a2
* Optimized StretchMaskBlt. Default to Blitting when no aplhachannel is present
...
git-svn-id: trunk@12366 -
2007-10-07 22:03:18 +00:00
marc
9117503b5d
* Fixed dialog icons on windowsversions before XP
...
+ Added AlphaBlend for windows versions not supporting is
+ Added GetLastErrorText utility function
git-svn-id: trunk@12361 -
2007-10-07 18:17:07 +00:00
paul
81d81a6040
fix typo in comment
...
git-svn-id: trunk@12327 -
2007-10-05 05:46:09 +00:00
paul
71c6cf7c04
lcl: fix formatting a bit
...
git-svn-id: trunk@12250 -
2007-09-30 06:13:28 +00:00
vincents
5ea375ef4d
updated Indonesian translations from Zaenal Mutaqin
...
git-svn-id: trunk@12160 -
2007-09-24 11:12:37 +00:00
paul
7d5f9842ec
- fix win32 crash if listview imagelist changed to nil (from Nikolay aka Browny)
...
- change ToolButtons font on ToolBar font change events (from Nikolay)
- redraw ToolButton if enabled changed and pass apropriate flag to ImageList.Draw (from Nikolay)
- cleanup
git-svn-id: trunk@11974 -
2007-09-09 08:53:16 +00:00
jesus
02f5d81c2d
LCL, win, implemented GetRgnBox
...
git-svn-id: trunk@11924 -
2007-09-03 05:29:08 +00:00
vincents
9ec2fe74a3
win32 interface: fixed memleak
...
git-svn-id: trunk@11868 -
2007-08-27 09:14:59 +00:00
paul
27ba3ff652
- revert change to DrawFrameControl caused by merge (fix issue found by Luiz in Build lazarus dialog)
...
git-svn-id: trunk@11867 -
2007-08-27 06:27:29 +00:00
marc
8626b3e091
* fixed bug #9501
...
git-svn-id: trunk@11865 -
2007-08-26 18:12:06 +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
sekelsenmat
2e324f401a
Improved UTF-8 support on the Unicode Windows IDE and fixed Unicode version of ListBox, ComboBox and other TStrings based controls on Unicode Windows.
...
git-svn-id: trunk@11621 -
2007-07-25 14:11:19 +00:00
sekelsenmat
f3694be3df
Small improvements to unicode support under win32
...
git-svn-id: trunk@11589 -
2007-07-22 11:00:55 +00:00
tombo
237301a1ba
LCL: added InvalidateRgn + implementation in Win32
...
Win32 intf: implemented PtInRegion
git-svn-id: trunk@11350 -
2007-06-21 11:42:22 +00:00
vincents
b3246f94ce
win32 interface: fixed scroll wheel message in a listbox (bug #9018 )
...
git-svn-id: trunk@11294 -
2007-06-07 13:43:43 +00:00
paul
060ce0c803
- draw radio button and checkbox through ThemeServices for win32 (no XP)
...
git-svn-id: trunk@11252 -
2007-06-01 08:33:54 +00:00
micha
2f11b690b4
* fix mask bitmap creation; noticeable on win9x with 2.1.1 (issue #8564 )
...
git-svn-id: trunk@10911 -
2007-04-07 15:11:25 +00:00
paul
adef54eff4
- introduced new win32 compatability function SystemParametersInfo
...
- added support for parameter SPI_GETWHEELSCROLLLINES in base widgetset class with override in qt widgetset
git-svn-id: trunk@10830 -
2007-03-30 05:58:41 +00:00
vincents
85a311aa33
LCL: made DrawFrameRect declaration the same as in the windows unit (bug #8468 )
...
git-svn-id: trunk@10813 -
2007-03-27 10:36:49 +00:00
vincents
8ac2f8b036
win32 interface: fixed several range errors
...
* create app window without caption, so that GetWindowSize doesn't return a negative size
* prevent usage of uninitialized array similar to r10798 #eaf391320b
git-svn-id: trunk@10810 -
2007-03-26 19:02:29 +00:00
paul
aec06c66dd
- fixed error in cursor reading previously introduced by me
...
- fixed cursor creating code in widgetsets
git-svn-id: trunk@10779 -
2007-03-22 02:24:41 +00:00
vincents
6368fcf727
win32 interface: use GetWindowLongW and SetWindowLongW for UnicodeEnabledOS (bug #8403 )
...
git-svn-id: trunk@10686 -
2007-02-26 19:42:59 +00:00
vincents
e8a85989c6
win32 interface: made LCLIntf.Rectangle and TCanvas.Rectangle compatible with Windows.Rectangle winapi function (bug #8342 )
...
git-svn-id: trunk@10665 -
2007-02-20 23:18:34 +00:00
mattias
5a7ff6537a
LCL: Tapplication.CreateForm with out param, cleanups, renamed TCustomPropertyStorage param name Default with DefaultValue from Flávio Etrusco
...
git-svn-id: trunk@10626 -
2007-02-12 12:40:41 +00:00
vincents
c3f3bb0aa0
LCL: removed RadialPie function without angles parameter, renamed RadialPieWithAngles to RadialPie
...
git-svn-id: trunk@10529 -
2007-01-29 12:33:03 +00:00
vincents
fd550f95c3
win32 widgetset: fixed TCanvas.Pie (bug #8117 )
...
git-svn-id: trunk@10456 -
2007-01-16 10:13:50 +00:00
marc
b3f981c48b
* Modified patch from Paul Ishenin implementing cursors
...
git-svn-id: trunk@10446 -
2007-01-15 00:53:09 +00:00
micha
9824f1f124
fix bitmaps on windows 9x (issue #7966 )
...
git-svn-id: trunk@10434 -
2007-01-12 21:24:34 +00:00
vincents
e2cfe24165
win32 interface: implemented ComboBox.SetDroppedDown (bug #7976 )
...
git-svn-id: trunk@10347 -
2006-12-22 09:55:04 +00:00
micha
a18160e281
fix bitmap to raw to bitmap mask to have compatible line ending (issue #7650 )
...
git-svn-id: trunk@10318 -
2006-12-09 13:11:54 +00:00
mattias
f9fcb805bb
LCL: fixed updating control scrollbars, remaining bug: win32 intf moves controls when scrolling
...
git-svn-id: trunk@10317 -
2006-12-09 10:24:44 +00:00
marc
17018c7bca
* Patch from Felipe Monteiro de Carvalho (modified)
...
* Temp fix for stings without terminator (fix needs improvement, count <> length)
git-svn-id: trunk@10296 -
2006-12-05 00:56:47 +00:00
vincents
5d85f5ef6b
win32 interface: implemented FloodFill
...
git-svn-id: trunk@10258 -
2006-11-29 18:37:21 +00:00
micha
666855ac8d
use better stretch blitting mode by default (from Patrick Chevalley)
...
git-svn-id: trunk@10245 -
2006-11-26 15:16:29 +00:00
mattias
d17fddefd2
LCL: TScrollBar: adding PageSize to scrollinfo Max
...
git-svn-id: trunk@10051 -
2006-10-10 06:52:57 +00:00
micha
ee980d529f
fix 64 bit compilation
...
git-svn-id: trunk@9810 -
2006-09-04 21:13:20 +00:00
mattias
cdb8224a6c
64bit fixes
...
git-svn-id: trunk@9795 -
2006-09-02 20:41:45 +00:00
jesus
8bb640c7fd
csBrushValid is not required for DrawFocusRect, fixed warning msg in TWin32WidgetSet.DrawFocusRect, tnks Vincent
...
git-svn-id: trunk@9295 -
2006-05-16 22:51:35 +00:00
jesus
675ab2b3f5
implements Canvas.DrawFocusRect in windows and gtk issue #2095
...
git-svn-id: trunk@9290 -
2006-05-16 21:22:58 +00:00
micha
31ab65cb0f
adjust scrolling factor, instead of 40%, do 12.5%
...
git-svn-id: trunk@9283 -
2006-05-15 20:23:14 +00:00
vincents
d20298fe3f
revert change of revision 9245 #05851e1114
...
git-svn-id: trunk@9246 -
2006-05-07 19:29:15 +00:00
vincents
05851e1114
don't use {get|set}windowlongptr on win32
...
git-svn-id: trunk@9245 -
2006-05-07 10:50:13 +00:00
mattias
6eb4930179
fixed references to COPYING.LCL
...
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
micha
d9e9f1570f
win64 fixes (from peter, modified)
...
git-svn-id: trunk@9221 -
2006-05-01 21:45:12 +00:00
jesus
0fd39df1a1
fixes copying bitmap to clipboard (no transparency, issue #1771 ) and mousewheel problem issue #2006
...
git-svn-id: trunk@9210 -
2006-04-30 00:59:22 +00:00
vincents
5b560e38bb
fixed calculation of getwindowsize for spinedit, because edit and updown control may overlap (issue #1993 )
...
git-svn-id: trunk@9136 -
2006-04-17 11:59:09 +00:00
vincents
3f73090dd2
implemented copying bitmap to clipboard (issue #1748 )
...
git-svn-id: trunk@8795 -
2006-02-22 20:00:01 +00:00
vincents
7507cadb9d
Use RedrawWindow call with pointer Rect parameter to avoid unnecessary dereference and typecast
...
git-svn-id: trunk@8793 -
2006-02-22 10:54:05 +00:00
micha
e0e2b0cd0e
check whether Rect is nil, prevent crash (issue #1746 )
...
git-svn-id: trunk@8786 -
2006-02-20 22:14:30 +00:00
vincents
f96ac2f4bf
changed for Delphi compatibility: changed Width,Height to Right,Bottom from Martin Smat
...
git-svn-id: trunk@8658 -
2006-01-29 20:25:49 +00:00