sekelsenmat
9d1b80451a
Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
...
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
paul
e93e11b149
lcl: add an ability to select cleartype fonts on windows.
...
qt: add support for cleartype font requests
git-svn-id: trunk@20907 -
2009-07-20 14:19:09 +00:00
paul
6eb542a6f7
lcl: add Orientation to the TFontData structure (fixes issue #0009754 )
...
git-svn-id: trunk@20868 -
2009-07-16 01:21:29 +00:00
paul
2bbd8ddb40
lcl: fix TCanvas.Clipping for fpc < 2.3.1 (issue #0013418 )
...
git-svn-id: trunk@20703 -
2009-06-22 03:13:00 +00:00
marc
8f9838a385
* Initialize writers when writing a TPicture graphic in a different format. Fixes issue #0013451
...
git-svn-id: trunk@20562 -
2009-06-09 22:58:19 +00:00
mattias
a465012659
LCL: TCanvas: removed LineTo, MoveTo, using DoLineTo and DoMoveTo instead
...
git-svn-id: trunk@20479 -
2009-06-06 15:51:39 +00:00
mattias
8e4bea4234
LCL: TCanvas: added LineTo(p: TPoint)
...
git-svn-id: trunk@20477 -
2009-06-06 15:34:46 +00:00
paul
119c2796bf
lcl: use Screen.SystemFont for TCanvas.TextRect
...
git-svn-id: trunk@20285 -
2009-05-28 14:23:19 +00:00
paul
077b9c0616
lcl: fonts:
...
- add TScreen.IconFont, TScreen.MenuFont, TScreen.SystemFont
- replace TWidgetset.InitHintFont with TWidgetset.InitStockFont
win32, wince: retrieve default font from SystemParametersInfo as described in issue #0013848
git-svn-id: trunk@20275 -
2009-05-28 09:23:07 +00:00
paul
f977ee640b
lcl: update font on Height change. Change the size only is not correct since LogFont contains lfHeight = Height. fixes bug #0013727
...
git-svn-id: trunk@20010 -
2009-05-17 13:57:24 +00:00
paul
fd36716c15
lcl: formatting
...
git-svn-id: trunk@20008 -
2009-05-17 13:33:55 +00:00
vincents
b21b6284da
LCL: use simpler expression to determine if TCanvas.SetClipping can be overridden; the previous expression could not be parsed by fpdoc
...
git-svn-id: trunk@19912 -
2009-05-10 19:17:16 +00:00
sekelsenmat
9c170f9a4f
Adds orientation property for TFont
...
git-svn-id: trunk@19734 -
2009-05-01 14:00:12 +00:00
vincents
b38eb5e49d
LCL: fixed compilation of TCanvas.GetClipping with fpc < 2.3.1
...
git-svn-id: trunk@19690 -
2009-04-29 11:32:11 +00:00
paul
76a007d97f
lcl: implement TCanvas.SetClipRect, TCanvas.GetClipping, TCanvas.SetClipping (with help of Benito van der Zander, can be used with fpc < 2.3.1 or with 2.3.1 >= r13057 #de83088a7d, issue #0013418 )
...
git-svn-id: trunk@19687 -
2009-04-29 09:31:48 +00:00
paul
7125a8d9af
lcl: cleanup
...
git-svn-id: trunk@19293 -
2009-04-10 01:24:37 +00:00
paul
e486ddaa54
lcl: cleanup
...
git-svn-id: trunk@19284 -
2009-04-09 08:03:03 +00:00
paul
058c9c7149
lcl: implement TCanvas.TryLock (fixes part of issue #0008380 )
...
git-svn-id: trunk@19047 -
2009-03-20 17:46:12 +00:00
paul
27e3ec707f
lcl: set default value for TPen.Cosmetic
...
git-svn-id: trunk@18982 -
2009-03-13 15:54:41 +00:00
sekelsenmat
294ed321af
Small fix to comment in graphics
...
git-svn-id: trunk@18640 -
2009-02-11 17:26:46 +00:00
marc
ec7a647154
* Added loading form rawimage
...
git-svn-id: trunk@18328 -
2009-01-18 15:47:42 +00:00
paul
f7e1b1b5ac
lcl: set some default values to TFont properties
...
git-svn-id: trunk@17699 -
2008-12-06 11:46:59 +00:00
paul
fca22fcc33
lcl: return CLX colors temporary to allow project compilation (will raise deprecated warning now) and loading forms in ide (though CLX colors will not be listed in the object inspector anymore)
...
git-svn-id: trunk@17538 -
2008-11-23 10:25:45 +00:00
paul
ffa494672e
lcl: remove CLX colors. They are nowhere defined, nowhere used and nobody wants to support them for years
...
git-svn-id: trunk@17458 -
2008-11-20 01:53:23 +00:00
paul
6590644430
lcl: don't show windows color synonyms in the object inspector and other color lists (like colorbox, colorlistbox)
...
git-svn-id: trunk@17442 -
2008-11-19 12:36:51 +00:00
paul
8220969ef4
lcl: Colors
...
- add clMenuBar, clMenuHighlight system colors
- add pretty names for windows system colors
git-svn-id: trunk@17439 -
2008-11-19 12:20:13 +00:00
marc
c8855d51da
+ Added flags to allow TLazIntfImage initialize description in creation
...
* replaced existing calls to create TLazIntfImage without description since it is set later (default works too, but might change).
* Enabled palette support for descriptions without palette
git-svn-id: trunk@17407 -
2008-11-16 15:27:37 +00:00
paul
36ed21e333
lcl: add TCanvas.AntialiasingMode
...
qt: implement DCSetAntialiasing
git-svn-id: trunk@17392 -
2008-11-14 17:42:56 +00:00
paul
2965833d06
lcl: don't auto select TPen.Cosmetic, let user do it through setter
...
example: adjust Pen and Brush example
git-svn-id: trunk@17362 -
2008-11-13 01:51:31 +00:00
paul
4e63b11c8e
lcl: remove TPen.Geometric property and add TPen.Cosmetic. TPen.Cosmetic is a read only property. It setups when TPen.Width is changed
...
examples: change Pen and Brush example
git-svn-id: trunk@17360 -
2008-11-13 01:37:19 +00:00
paul
34033b0e68
lcl: don't include clLtGray and clDkGray aliases (for clSilver, clGray) into Colors array
...
git-svn-id: trunk@17327 -
2008-11-11 03:24:06 +00:00
paul
eb6d210724
lcl: add ColorToIndex, StandardColorCount, ExtendedColorCount, and comments
...
git-svn-id: trunk@17308 -
2008-11-10 10:59:35 +00:00
paul
3d7c97be6e
lcl: rearrange some colors to be more delphi compatible in their order
...
git-svn-id: trunk@17307 -
2008-11-10 10:25:45 +00:00
paul
1f905fd95f
lcl: Pen and Font cache
...
- simplify some Font cache methods
- rewrite Pen cache to store pattern separate of LogPen
git-svn-id: trunk@17305 -
2008-11-10 04:14:15 +00:00
paul
0b36524d88
lcl: add pattern support to pen (todo: caching of patterns)
...
git-svn-id: trunk@17282 -
2008-11-08 18:27:44 +00:00
paul
e5aaabb1c2
lcl: start TPen extending
...
git-svn-id: trunk@17281 -
2008-11-08 18:01:07 +00:00
mattias
2b8ac2af46
added CreateBitmapFromFPImage
...
git-svn-id: trunk@17144 -
2008-10-28 13:37:05 +00:00
paul
ac74e1d96b
lcl: repair cancel button work on ESC on TButtonPanel
...
git-svn-id: trunk@17093 -
2008-10-22 07:20:27 +00:00
tombo
60fc419118
LCL graphics: implemented specifying font anti-aliasing as TFont.Quality (works in win so far)
...
git-svn-id: trunk@16907 -
2008-10-07 07:58:09 +00:00
paul
ddea740b16
lcl:
...
- introduce a new class for shared icns icon
- add 2 hacks to allow correct assigning between cursors, icons, and icnsIcons (Marc, please review)
git-svn-id: trunk@16877 -
2008-10-05 09:17:23 +00:00
vincents
02ef107102
LCL: fixed CreateCompatibleBitmaps without mask
...
git-svn-id: trunk@16826 -
2008-10-01 10:40:38 +00:00
paul
196b1d0098
lcl: graphic changes
...
- don't create dummy mask for icon if image.MaskBitsPerPixel = 0
- win32: create dummy mask for icon if no mask is present since windows cannot live without any mask
- force Change at correct place of TIcon.AssignImage
- clear not only saved stream on TRasterImage.LoadFromStream but all handles too since they are not valid after loading another data to an image
git-svn-id: trunk@16397 -
2008-09-04 01:39:26 +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
9de410f82a
lcl:
...
- increase visibility of CreateCompatibleBitmaps
- decrease TCustomImageList.GetBitmap argument type from TBitmap to TCustomBitmap
git-svn-id: trunk@16377 -
2008-09-03 06:32:12 +00:00
marc
301ebd9881
* Implemented .ico + .cur writing
...
git-svn-id: trunk@16372 -
2008-09-02 23:00:19 +00:00
paul
caf7b07e05
lcl: added RawImageNeeded to the TIconImage. Now accessing of the Canvas for the just added image works. partially fixes #0011983
...
git-svn-id: trunk@16325 -
2008-08-31 08:42:07 +00:00
paul
cef06f6bb7
revert r16293 #88af0e037f
...
git-svn-id: trunk@16298 -
2008-08-29 13:21:22 +00:00
paul
88af0e037f
lcl:
...
- decrease visibility of Canvas property in TRasterImage from public to protected
- make property Canvas public to TCustomBitmap
git-svn-id: trunk@16293 -
2008-08-29 11:17:57 +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
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