Commit Graph

137 Commits

Author SHA1 Message Date
dmitry
0b86f592a2 cocoa: switching back to the use of sysetmFont, to prevent an odd vertical offset. #33626
git-svn-id: trunk@58529 -
2018-07-15 05:15:10 +00:00
ondrej
4bf891d80c Cocoa: revert r56761 #8474c9858e, issue #32175 and #33597
git-svn-id: trunk@57669 -
2018-04-19 09:03:49 +00:00
dmitry
720f44d579 cocoa: supporting the font rotation information from LOGFONT
git-svn-id: trunk@57135 -
2018-01-21 05:53:11 +00:00
dmitry
5c58ede9d0 cocoa: implementation of DesignDC for forms
git-svn-id: trunk@57083 -
2018-01-14 06:14:12 +00:00
dmitry
32000402a9 cocoa: simplified 1 pixel drawn code
git-svn-id: trunk@56926 -
2018-01-02 23:38:16 +00:00
dmitry
6f2b73a083 cocoa: fix the special case for 1 pixel lines drawn. Using the actual line direction to draw a line (the problem is seen, whenever line width is greater than 1) #32926
git-svn-id: trunk@56924 -
2018-01-02 11:36:47 +00:00
dmitry
8416eecb07 cocoa: using RGB as fill color, instead of Generic color space RGB for consistency with stroke colors. #32914
git-svn-id: trunk@56896 -
2018-01-01 00:16:51 +00:00
dmitry
8474c9858e cocoa: converting font pixel-height into point size, used by NSFont. #32175
git-svn-id: trunk@56761 -
2017-12-17 05:30:20 +00:00
dmitry
eda7fd2cd0 cocoa: #32749. invalidating (and discarding) the original non-premultiplied data, if it has been modified by NSBitmapContext in NSImageRep. Changing bitmap handle recreation prior to drawing the bitmap. The change has been tested with samples from #28692 and #28102.
git-svn-id: trunk@56715 -
2017-12-14 06:44:51 +00:00
sekelsenmat
8387b30537 Fixes compilation of lcl-carbon and lcl-cocoa in fpc 2.6
git-svn-id: trunk@55825 -
2017-09-09 09:14:31 +00:00
sekelsenmat
0af5c2d943 cocoa: Patch for scrollby from bug #32363
git-svn-id: trunk@55824 -
2017-09-09 08:46:59 +00:00
dmitry
f712709636 cocoa: support for R2_NOTXORPEN flag in gdi objects
git-svn-id: trunk@55543 -
2017-07-20 01:41:51 +00:00
sekelsenmat
a2fecca799 cocoa: Restricts reloading the NSPanel Browser only for Mac OS X versions that are affected by the Mac bug, while adding an utility function to get the OS version also refactored the two utility units into one
git-svn-id: trunk@55407 -
2017-06-27 20:51:24 +00:00
sekelsenmat
31799a90a0 cocoa: Fixes mem leak, bug #31917
git-svn-id: trunk@55327 -
2017-06-12 08:40:26 +00:00
sekelsenmat
618c809be9 cocoa: Fixes bug #31959: in FontDialog selected bold, result shows none style
git-svn-id: trunk@55326 -
2017-06-12 08:35:37 +00:00
juha
1184822164 LCL: Use a helper function for testing fontname 'default'. Issue #31940, patch from AlexeyT.
git-svn-id: trunk@55188 -
2017-06-03 18:56:34 +00:00
sekelsenmat
9ce286c99d cocoa: Implements TFontDialog
git-svn-id: trunk@55117 -
2017-05-29 04:28:03 +00:00
sekelsenmat
54d2c7c435 cocoa: Patch from bug #30815
git-svn-id: trunk@54393 -
2017-03-12 21:18:18 +00:00
freq
01a2998a5a cocoa: Fix #0031253: Project with TShape component compiled with Cocoa WidgetSet crashes in TCocoaContext.SaveDC.
git-svn-id: trunk@54092 -
2017-02-05 06:48:32 +00:00
freq
b282cf4de5 cocoa: fixes a couple of memory leaks in special with TCocoaBitmap as its Destructor was not called on Free. Pls. review
git-svn-id: trunk@53977 -
2017-01-21 17:05:28 +00:00
sekelsenmat
70ded5e633 cocoa: Patch from bug #30795 Cocoa needs InitStockFont functionality and TCocoaFont.Create needs to clear italics/bold flags
git-svn-id: trunk@53243 -
2016-10-27 19:45:28 +00:00
sekelsenmat
8df1188cc7 cocoa: Patch from bug #30778 fix Textout BG color
git-svn-id: trunk@53241 -
2016-10-27 19:34:24 +00:00
sekelsenmat
4bc99dc88f cocoa: Patch from bug #30754 fix LineTo
git-svn-id: trunk@53240 -
2016-10-27 19:33:13 +00:00
sekelsenmat
3b599d7b94 cocoa: Fix bug #28692, pre-multiply alpha was being applied over the modified data, also fixes the fact that due to the fix #28102 the handle was being recreated too many times without need
git-svn-id: trunk@52765 -
2016-08-01 18:56:36 +00:00
sekelsenmat
3769972b29 cocoa: bug #30300 - Fixes TLabel font issue in Mac OS X 10.11 and superior
git-svn-id: trunk@52563 -
2016-06-22 17:14:11 +00:00
sekelsenmat
e99e9b73b9 cocoa - patch #30125 - support reference counting of objects in cocoa
git-svn-id: trunk@52522 -
2016-06-19 20:15:09 +00:00
sekelsenmat
bec0723351 cocoa: Implements Application.OnDropFiles
git-svn-id: trunk@49727 -
2015-08-29 14:13:02 +00:00
sekelsenmat
cb613168d4 cocoa: Patch #28512
git-svn-id: trunk@49672 -
2015-08-15 06:28:37 +00:00
sekelsenmat
58cbaacbda cocoa: Patch from issue #28509 use cgfloat
git-svn-id: trunk@49632 -
2015-08-10 18:34:09 +00:00
sekelsenmat
31f2f10cc2 Patch from issue #27813
git-svn-id: trunk@49607 -
2015-08-07 06:02:46 +00:00
sekelsenmat
77e8b6e2d1 cocoa: Fixes crash due to ReleaseDC freeing wrongly control DCs
git-svn-id: trunk@49602 -
2015-08-06 06:43:36 +00:00
sekelsenmat
38e7f694c0 cocoa: Basic support for select directory dialog
git-svn-id: trunk@49586 -
2015-08-01 11:32:50 +00:00
sekelsenmat
50c0c51936 Fixes bug #28102: Immutable images need to be recreated after draw
git-svn-id: trunk@49057 -
2015-05-17 05:31:11 +00:00
sekelsenmat
c9dce2ea9a cocoa: Fixes problem with DC state saving for clipping, this fixes bug #28015
git-svn-id: trunk@48917 -
2015-05-02 15:45:49 +00:00
sekelsenmat
11b4b031e8 cocoa: Indentation and comment
git-svn-id: trunk@48915 -
2015-05-02 12:53:38 +00:00
sekelsenmat
f7f65c5305 cocoa: New pen and brush creation methods to support printing
git-svn-id: trunk@48751 -
2015-04-14 06:33:50 +00:00
sekelsenmat
e4c47b66f4 cocoa: Reimplements Frame3D, Mouse-Button instant state and Scrollbar themed size. Integrates CustomDrawn with Cocoa. Now the IDE can link in 64 bits Cocoa
git-svn-id: trunk@48062 -
2015-03-01 11:28:55 +00:00
sekelsenmat
6a30dafffd cocoa: New implementation of TreeView arrow without obsolete HiTheme
git-svn-id: trunk@47978 -
2015-02-24 11:09:59 +00:00
sekelsenmat
3c7f6d63b1 cocoa: Implements GetPixel for Bitmap DCs (for non-bitmap DCs it seams impossible)
git-svn-id: trunk@47823 -
2015-02-16 11:00:08 +00:00
sekelsenmat
f1c6358aeb lcl-cocoa: Fixes TBitBtn.Glyph, the image data was being freed together with the glyph TBitmap
git-svn-id: trunk@46620 -
2014-10-20 06:01:39 +00:00
sekelsenmat
0c23fdc9d4 lcl-cocoa: Fixes regression introduced in 46166: tab in TEdit was inputting char instead of switching to next control; Implements support for TabOrder; Starts fixings TBitBtn.Glyph but this isnt working yet
git-svn-id: trunk@46594 -
2014-10-18 17:50:33 +00:00
sekelsenmat
f838124711 cocoa: Fixes the font size in text drawing, this fixes TLabel with Font.Size>0 and nothing else set
git-svn-id: trunk@46170 -
2014-09-10 14:59:13 +00:00
dmitry
f02f832da7 cocoa: added explicit typecast of TColor to ColorRef to prevent range check error
git-svn-id: trunk@46087 -
2014-08-29 05:44:16 +00:00
sekelsenmat
a89bb6b204 cocoa: Fixes a crash
git-svn-id: trunk@45493 -
2014-06-13 07:33:53 +00:00
sekelsenmat
633131dd11 lcl-cocoa: Minor improvements in debug info for the tab control problem, implements correct height calculation for tabviewitem children
git-svn-id: trunk@44849 -
2014-04-30 10:55:00 +00:00
freq
fae01f23da Cocoa: fix random crash
git-svn-id: trunk@44478 -
2014-03-20 20:06:27 +00:00
freq
f2556a023a Cocoa: Clean up memory leaks and make autorelease pool only local to shrink down memory footprint
git-svn-id: trunk@44352 -
2014-03-05 11:23:47 +00:00
freq
7b11f22871 Cocoa: Fix not working framerect call
git-svn-id: trunk@43958 -
2014-02-08 18:17:20 +00:00
freq
d954549d06 Cocoa: Make MouseMove message distribution independent from focused control (mouse move events on lcl classes now works like in Carbon). Make cursor change on mouse move working.
git-svn-id: trunk@43919 -
2014-02-06 17:00:27 +00:00
freq
50408a84b9 Cocoa: Add background color feature for TWinControls
git-svn-id: trunk@43840 -
2014-01-29 20:05:30 +00:00