Commit Graph

65 Commits

Author SHA1 Message Date
juha
0928ead547 LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
dmitry
6205262833 carbon: implemented winapi Get/SetViewPortOrg functions
git-svn-id: trunk@28699 -
2010-12-12 20:05:49 +00:00
mattias
b07592dfec carbon intf: reduced notes
git-svn-id: trunk@27771 -
2010-10-20 08:18:32 +00:00
dmitry
14b1813403 carbon: final fixes for LineTo 1-pixel line drawing
git-svn-id: trunk@27048 -
2010-08-10 08:39:10 +00:00
sekelsenmat
9a8d703529 Fixes Carbon drawing of lines with width 1
git-svn-id: trunk@27047 -
2010-08-10 04:11:19 +00:00
dmitry
a8f9fab54f carbon: fix masked image drawin. bug #16498
git-svn-id: trunk@25554 -
2010-05-20 21:00:52 +00:00
dmitry
02cbae0466 carbon: improve DC antialiasing setting. if set to false, images are also rendered not-aliased
git-svn-id: trunk@24302 -
2010-03-30 18:17:30 +00:00
dmitry
f2cabe722a carbon: fix for RestoreDCData, patch by Jonas Maebe
git-svn-id: trunk@24268 -
2010-03-29 05:33:13 +00:00
dmitry
56a59d23e6 carbon: fixed StretchBlt bug for source rect larger than sourceDC bounds causing image smudging
git-svn-id: trunk@23753 -
2010-02-21 17:25:53 +00:00
dmitry
de7440fe10 fix for text clipping. fixes #14464, #14463
git-svn-id: trunk@21698 -
2009-09-14 10:59:44 +00:00
dmitry
e64f3abce1 fix for #14550 by Adriaan van Os
git-svn-id: trunk@21647 -
2009-09-10 21:06:11 +00:00
sekelsenmat
be5c686379 carbon: Makes Cocoa support active by default and improves menu handling in TTrayIcon
git-svn-id: trunk@21531 -
2009-09-01 20:27:18 +00:00
dmitry
f1cea2e7e7 carbon: improve clipping operations: proper implementation of IntersectClipRect, ExcludeClipRect, SaveDC, RestoreDC functions
git-svn-id: trunk@21297 -
2009-08-18 20:01:11 +00:00
dmitry
1d4cd359c5 carbon: make GetClipRGN safer
git-svn-id: trunk@21132 -
2009-08-07 10:47:16 +00:00
dmitry
d8f9601b24 carbon support for ExtSelectClipRGN, GetClipRGN, CombineRGN
git-svn-id: trunk@21129 -
2009-08-07 09:54:54 +00:00
dmitry
8a8a08bc64 added missing dxcount parameter
git-svn-id: trunk@19977 -
2009-05-16 04:07:17 +00:00
dmitry
414194be74 carbon: added support fot ExtTextOut( .. Dx) parameter
git-svn-id: trunk@19975 -
2009-05-15 18:43:53 +00:00
dmitry
b8e21c8468 fix for issue #13059
git-svn-id: trunk@19253 -
2009-04-06 15:25:02 +00:00
dmitry
78549425be Fix ExtTextOut function - added ignoring device context BkMode
git-svn-id: trunk@19238 -
2009-04-06 07:57:49 +00:00
tombo
29adec9a88 LCL carbon: changed public to published for ws classes, fixed header comments
git-svn-id: trunk@17582 -
2008-11-25 15:00:12 +00:00
tombo
4dea886e4b LCL Carbon: TCarbonTextLayoutBuffer, check if widget has changed, fixes bug #0011686: A synedit font is not painted correctly if created on a hidden page
git-svn-id: trunk@16807 -
2008-09-30 08:16:47 +00:00
paul
562a275928 carbon: skip last point in polyline to be delphi/win32
git-svn-id: trunk@16714 -
2008-09-25 01:55:31 +00:00
paul
724d7b8199 carbon: focus rect must be drawn inside passed rect
git-svn-id: trunk@16675 -
2008-09-23 02:30:55 +00:00
tombo
a4c53780ce LCL Carbon: removed FPC version ifdef's
git-svn-id: trunk@16165 -
2008-08-20 15:14:26 +00:00
paul
7f24073bad carbon:
- add ability to add mask to the CarbonBitmap
- CreateIconIndirect uses mask now for icons

git-svn-id: trunk@16023 -
2008-08-11 13:42:13 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
tombo
3e0f21b461 LCL carbon: implemented Bitmap.Canvas.GetPixels
git-svn-id: trunk@15781 -
2008-07-14 13:16:07 +00:00
tombo
c85ebeb48d Add info if bitmap format is not supported for creating canvas handle.
git-svn-id: trunk@15779 -
2008-07-14 11:45:57 +00:00
vincents
d6da0cd1a5 carbon and cocoa widget set: fixed compilation with fpc 2.2.1 and higher
git-svn-id: trunk@15309 -
2008-06-04 22:12:59 +00:00
tombo
19cdc96e77 IDE carbon: fixed code hints drawing - Canvas.Frame has been filling with current brush
git-svn-id: trunk@14457 -
2008-03-07 13:52:33 +00:00
tombo
8dde11e9ab LCL Carbon: exclude last pixel when rasterizating line
git-svn-id: trunk@14445 -
2008-03-06 10:59:05 +00:00
tombo
5bdc5f770f LCL carbon: DrawGrid implementation
git-svn-id: trunk@14014 -
2008-02-07 10:57:02 +00:00
tombo
318a8da0fd LCL carbon: improved TNotebook scrolling
- better performance for TSynEdit by caching text layouts

git-svn-id: trunk@13875 -
2008-01-25 14:09:52 +00:00
paul
4db415b23b remove obsoleted splitter drawing code
git-svn-id: trunk@13464 -
2007-12-26 07:09:09 +00:00
tombo
2697aa4c43 Carbon intf: reverted because of bugs
git-svn-id: trunk@13254 -
2007-12-09 20:19:24 +00:00
tombo
4a1d394e7e Carbon intf: improved TextOut performance a little
git-svn-id: trunk@13246 -
2007-12-09 10:59:18 +00:00
tombo
c7450aab97 Carbon intf: fixed canvas text stuff crashing bug with patch from Tobias Giesen
git-svn-id: trunk@13169 -
2007-12-05 19:51:23 +00:00
tombo
b001b9fc65 Carbon intf.: fixed TSynEdit painting
git-svn-id: trunk@12935 -
2007-11-20 11:04:22 +00:00
tombo
ce971206a0 Carbon intf: invalidate menu bar
git-svn-id: trunk@12915 -
2007-11-18 14:34:24 +00:00
tombo
e92a45abb8 Carbon intf: implemented Caret
- fixed bug #0010058 Carbon TStatusBar is made transparent by its panels
- implemented TextFractional property

git-svn-id: trunk@12895 -
2007-11-16 16:20:10 +00:00
tombo
0bd3bb5ec2 Carbon intf: TCustomListBox improved, started TListView
- improved designer painting

git-svn-id: trunk@12783 -
2007-11-08 11:45:39 +00:00
mattias
6cf44713b0 carbon intf: undo change to ExtTextOut
git-svn-id: trunk@12728 -
2007-11-03 20:52:29 +00:00
mattias
5e807a544e carbon intf: using fractional text rendering if DX parameter is nil
git-svn-id: trunk@12727 -
2007-11-03 20:13:59 +00:00
tombo
236ee9a8bb Carbon intf: implemented TMemo.Alignment
* last panel of TStatusBar fills it to right

git-svn-id: trunk@12644 -
2007-10-30 09:50:15 +00:00
tombo
7ac17a32e0 Carbon intf: Patch #0009952: Patch to add SetCursorPos function to LCL CarbonWidgetSet from James Chandler Jr.
git-svn-id: trunk@12568 -
2007-10-23 15:34:01 +00:00
tombo
1a9ab26796 Carbon intf: TSynEdit fixed textout, improved scrolling
- enhanced clipboard to use more text formats
- TComboBox.OnDropDown and OnCloseUp partial implementation

git-svn-id: trunk@12509 -
2007-10-17 20:00:01 +00:00
tombo
697e09d161 Carbon intf: fixed #0009686: Carbon TPanel.color ingored
- fixed #0009801 Carbon TScrollBar calls OnScroll inappropriately
- flat speed buttons do not draw its border
- improved theme content rect

git-svn-id: trunk@12349 -
2007-10-06 14:58:29 +00:00
tombo
4fc95f2b20 Carbon intf: fixed #0009732: Carbon SpinEdit accepts return key
- fixed #0009688: Carbon OpenDialog.Filter is ignored...
- fixed #0009716: Carbon TSpinEdit active area is to the RIGHT of the component.
- removed DrawFrameControl from Carbon - use base implementation

git-svn-id: trunk@12332 -
2007-10-05 13:22:48 +00:00
tombo
6d207da78e Carbon intf:
- fixed setting root menu
- working: TArrow, TPairSplitter

git-svn-id: trunk@11936 -
2007-09-04 11:31:47 +00:00
tombo
0c6910d00f Carbon intf:
- Fixed text metrics is now rounded instead of truncated as suggested by Phil J. Hess
- GetTextExtent accepts empty strings and returns zero size
- scrolling should now partially work!!!, implemented TScrollingWinControl.ScrollBy
- force 32-bit bitmaps to allow supported context creation

git-svn-id: trunk@11928 -
2007-09-03 12:16:24 +00:00