paul
013f06f128
lcl: if there is no bitmap handles are created for Icon then add it to imagelist using rawimage (issue #0017900 )
...
git-svn-id: trunk@28956 -
2011-01-11 09:15:01 +00:00
paul
bd8008f11a
lcl: add a property to access icon images array
...
git-svn-id: trunk@28954 -
2011-01-11 08:56:11 +00:00
paul
fa4ada16f4
lcl: add lcl_defines include file which can be used for common lcl defines (like UseCLDefault)
...
git-svn-id: trunk@28343 -
2010-11-19 10:46:12 +00:00
paul
6380ade6ac
lcl, win32: handle clDefault font color in controls
...
git-svn-id: trunk@28308 -
2010-11-18 02:50:43 +00:00
paul
a5f3523e6f
lcl: add DefaultColorType argument to TControlCanvas too
...
git-svn-id: trunk@28307 -
2010-11-18 02:23:34 +00:00
paul
1688a1e6a8
lcl: don't clear BrushResourceCache directly (fixes bug #0017647 )
...
git-svn-id: trunk@28271 -
2010-11-16 14:28:38 +00:00
paul
78a7d0a8a8
win32: correct vista+ menu size for other DPIs (issue #0017878 )
...
git-svn-id: trunk@28196 -
2010-11-13 02:16:03 +00:00
paul
bda1a2e021
lcl: if TControlCanvas.Brush.Color = clDefault then use default control color
...
git-svn-id: trunk@28145 -
2010-11-08 04:43:56 +00:00
paul
c708840d05
lcl: fix name clash with ancestor fields after fpc:r16303
...
git-svn-id: trunk@28088 -
2010-11-05 08:07:11 +00:00
mattias
c10f6e5365
LCL: TGraphic.LoadFromResourceID: PtrUInt to PtrInt for Delphi compatibility
...
git-svn-id: trunk@27869 -
2010-10-26 07:32:58 +00:00
mattias
50b31c7963
LCL: TCustomIcon.LoadFromResourceID: changed integer to PtrUInt
...
git-svn-id: trunk@27849 -
2010-10-25 10:37:34 +00:00
mattias
369aa3055c
fixed typo dont
...
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
paul
9a78c04db3
lcl: add gif format support by patch of José Mejuto (issue #0016993 )
...
git-svn-id: trunk@26758 -
2010-07-21 02:56:37 +00:00
marc
1ad1d06743
* Graphics: Added TTiffImage
...
git-svn-id: trunk@25134 -
2010-05-02 14:36:41 +00:00
paul
9e2134c1a2
lcl: use GetSysColorBrush if solid brush needs to be created with system color
...
win32: call Windows.GetSysColorBrush for lclintf.GetSysColorBrush
git-svn-id: trunk@25128 -
2010-05-02 09:25:41 +00:00
mattias
648572164c
LCL: comments
...
git-svn-id: trunk@25100 -
2010-05-01 15:33:23 +00:00
paul
676c706e5c
lcl, win32: implement loading icon,cursor from an icon handle (HICON) (GetInfoInfo needs to be implement for other widgetsets to support on other platforms), issue #0016356
...
git-svn-id: trunk@25024 -
2010-04-28 08:52:16 +00:00
sekelsenmat
74f27bdc7b
Improves the fpc 2.2.4 defines
...
git-svn-id: trunk@24957 -
2010-04-26 08:43:23 +00:00
sekelsenmat
e3b6b29bdb
Implements support for FPC 2.2.4 for WinCE
...
git-svn-id: trunk@24956 -
2010-04-26 08:31:15 +00:00
paul
099ba06e28
lcl: add TPicture.LoadFromStream, TPicture.SaveToStream based on image header sign (issue #0010006 )
...
git-svn-id: trunk@24945 -
2010-04-26 03:44:52 +00:00
paul
3def3ea76c
lcl: formatting, cleanup
...
git-svn-id: trunk@24706 -
2010-04-19 01:37:51 +00:00
jesus
af4bb981df
tpipro, fix print preview empty pages under unix
...
git-svn-id: trunk@24419 -
2010-04-04 23:46:49 +00:00
paul
e25a2cdb71
lcl: fix range check error in lcl icon building from resource data by C Western (issue #0015541 ) + remove of ifdefs
...
git-svn-id: trunk@23481 -
2010-01-18 07:53:16 +00:00
paul
2cd1e874be
lcl: remove OverrideClipping define
...
git-svn-id: trunk@23431 -
2010-01-13 07:17:28 +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
mattias
98cdda2155
lcl: radialpie: better param names
...
git-svn-id: trunk@22999 -
2009-12-06 11:51:48 +00:00
mattias
bb95f46f02
LCL: renamed some Arc parameters
...
git-svn-id: trunk@22966 -
2009-12-04 15:48:55 +00:00
vincents
1f00732641
LCL: use {} .. {} to make fpdoc < 2.5.1 happy
...
git-svn-id: trunk@22491 -
2009-11-08 19:18:18 +00:00
vincents
cd5f7242c6
lcl: reverted r22427 #c614f0dff7, fpdoc 2.5.1 has been fixed
...
git-svn-id: trunk@22440 -
2009-11-05 09:13:43 +00:00
vincents
c614f0dff7
LCL: don't use { declared(vmtEquals)}, fpdoc hangs on it
...
git-svn-id: trunk@22427 -
2009-11-04 12:44:57 +00:00
paul
929dc64acd
lcl: properly override TObject.Equals for TGraphic class
...
git-svn-id: trunk@22393 -
2009-11-03 02:17:39 +00:00
mattias
e6d6a54eb9
reduced warnings
...
git-svn-id: trunk@22382 -
2009-11-02 10:47:24 +00:00
mattias
d4413200ce
LCL: fixed overflow
...
git-svn-id: trunk@21715 -
2009-09-15 18:54:17 +00:00
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