Commit Graph

363 Commits

Author SHA1 Message Date
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
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