Commit Graph

144 Commits

Author SHA1 Message Date
paul
f14309acc4 fix MouseUpDownEvent result
git-svn-id: trunk@34461 -
2011-12-28 07:07:30 +00:00
paul
101308219b cocoa: handle right and other mouse buttons
git-svn-id: trunk@34460 -
2011-12-28 06:48:10 +00:00
paul
d2f6f1cb1b cocoa: fix isEnabled, setEnabled for NSWindow
git-svn-id: trunk@34459 -
2011-12-28 05:49:29 +00:00
paul
e4a811c552 cocoa: fix multy-clicks
git-svn-id: trunk@34458 -
2011-12-28 05:39:27 +00:00
paul
001ddf6bc9 cocoa: reimplement mouse up/down messages
git-svn-id: trunk@34457 -
2011-12-28 05:31:55 +00:00
paul
5aa7fcbf48 cocoa: send focus messages
git-svn-id: trunk@34456 -
2011-12-28 02:49:08 +00:00
paul
d2a0cd5d20 cocoa: add implementation for winapi caret functions
git-svn-id: trunk@34446 -
2011-12-27 07:19:09 +00:00
paul
548a38c43c cocoa: prepare infrastructure for Caret support
git-svn-id: trunk@34445 -
2011-12-27 06:55:27 +00:00
paul
d13b20b978 cocoa: add caret unit from carbon
git-svn-id: trunk@34444 -
2011-12-27 05:07:26 +00:00
paul
9d71664a66 cocoa: implement GetTextMetrics
git-svn-id: trunk@34443 -
2011-12-27 03:04:16 +00:00
paul
2e63df2d35 cocoa: minor optimizations to pattern creation from NSImage
git-svn-id: trunk@34442 -
2011-12-27 01:24:04 +00:00
paul
33bbf3a144 cocoa: some work on pattern brushes created by NSColor
git-svn-id: trunk@34431 -
2011-12-26 13:27:28 +00:00
paul
8b26db6fb9 cocoa: cleanup and reformat some code
git-svn-id: trunk@34422 -
2011-12-26 11:28:08 +00:00
paul
e0bf8626c8 cocoa: implement ETO_CLIPPED option in ExtTextOut
git-svn-id: trunk@34421 -
2011-12-26 11:16:40 +00:00
paul
a991d939dd cocoa: apply BkColor without loosing pattern image (if avaiable) if a system color is set
git-svn-id: trunk@34420 -
2011-12-26 07:29:12 +00:00
paul
788c0a47d2 cocoa: fix crash in SetSysColors
git-svn-id: trunk@34418 -
2011-12-26 06:58:40 +00:00
paul
fa157758f2 cocoa: fix compilation
git-svn-id: trunk@34417 -
2011-12-26 02:57:13 +00:00
paul
e88c7b31b7 cocoa: store NSColor in TCocoaBrush object for GetSysColor/SetSysColor functions
git-svn-id: trunk@34416 -
2011-12-26 02:54:52 +00:00
paul
22b9483947 cocoa: cleanup temporary debug code
git-svn-id: trunk@34392 -
2011-12-24 16:23:38 +00:00
paul
f1976687d0 cocoa: implement GetSysColor for pattern colors like clWindow and clBtnFace
git-svn-id: trunk@34391 -
2011-12-24 16:23:01 +00:00
paul
02a0fa9668 cocoa: protect gdi classes private and protected fields from non desired access from the same unit
git-svn-id: trunk@34390 -
2011-12-24 15:11:38 +00:00
paul
daea252a34 cocoa: implement ETO_OPAQUE flag
git-svn-id: trunk@34388 -
2011-12-24 14:46:36 +00:00
sekelsenmat
89dd7c918b Fixes bug #20195: Removes LCLIntf.Frame in favor of a cross-platform implementation for TCanvas.Frame
git-svn-id: trunk@34379 -
2011-12-24 10:52:33 +00:00
paul
32d6b7cde2 cocoa: improve Font selection
git-svn-id: trunk@34371 -
2011-12-23 07:37:07 +00:00
paul
0ba57d4557 cocoa: reimplement setting bold and underline using more safer way
git-svn-id: trunk@34370 -
2011-12-23 03:48:45 +00:00
paul
7c13806132 cocoa: implement underline, strikeout fonts, implement font applying
git-svn-id: trunk@34369 -
2011-12-23 03:16:30 +00:00
paul
847f9b8c20 cocoa: implement text coloring in graphics context
git-svn-id: trunk@34368 -
2011-12-23 02:22:13 +00:00
paul
ab221e099a cocoa: start redoing text drawing using NSTextLayout
git-svn-id: trunk@34367 -
2011-12-23 01:03:56 +00:00
paul
438fe7f401 cocoa: reimplement FrameRect using NSFrameRect function
git-svn-id: trunk@34349 -
2011-12-21 13:15:32 +00:00
paul
47ac6db82c cocoa: port StretchMaskBlt from carbon, fix context destruction, misc
git-svn-id: trunk@34341 -
2011-12-21 08:30:02 +00:00
paul
494b78cea1 cocoa: implement SendMessage, PostMessage
git-svn-id: trunk@34336 -
2011-12-21 06:05:11 +00:00
paul
81f2d6d659 cocoa: intial implementation for GetDeviceCaps
git-svn-id: trunk@34314 -
2011-12-20 07:07:02 +00:00
paul
3d9e75c6de cocoa: implement GetBkColor, redo SetTextColor, GetTextColor
git-svn-id: trunk@34313 -
2011-12-20 06:28:14 +00:00
paul
f69729f41b cocoa: implmenebt GetContextSize
git-svn-id: trunk@34312 -
2011-12-20 06:12:33 +00:00
paul
fd4ac5495b cocoa: copy carbon implementation of GetObject
git-svn-id: trunk@34311 -
2011-12-20 04:58:01 +00:00
paul
e63a0d80b5 cocoa: implement GetFocus, SetFocus
git-svn-id: trunk@34308 -
2011-12-20 03:42:39 +00:00
paul
c59a98a83e cocoa: implement SetActiveWindow and SetForegroundWindow
git-svn-id: trunk@34307 -
2011-12-20 02:24:14 +00:00
paul
76950c5c17 cocoa: port carbon Frame, Frame3D, FrameRect
git-svn-id: trunk@34306 -
2011-12-20 02:06:14 +00:00
paul
7d50bae583 cocoa: copy carbon implementation of DrawFocusRect
git-svn-id: trunk@34305 -
2011-12-20 01:19:06 +00:00
paul
3690a04cd0 cocoa: simplify some cocoa utils
git-svn-id: trunk@34304 -
2011-12-20 01:11:51 +00:00
paul
01acb2ab16 cocoa: try to implement GetActiveWindow, GetForegroundWindow
git-svn-id: trunk@34271 -
2011-12-19 09:17:30 +00:00
paul
2a70b1b482 cocoa: add BkColor, BkMode to TCocoaContext
git-svn-id: trunk@34267 -
2011-12-19 08:24:29 +00:00
paul
808daec901 cocoa: add ROP2 to CocoaContext
git-svn-id: trunk@34265 -
2011-12-19 06:27:02 +00:00
paul
81f9739b39 cocoa: implement SetProp, GetProp, FillRgn
git-svn-id: trunk@34264 -
2011-12-19 05:24:43 +00:00
paul
99a670dfcb cocoa: add cnt_Error to region type enumeration, create a map between cocoa region types and win32, return correct region type instead of complexregion
git-svn-id: trunk@34263 -
2011-12-19 01:26:35 +00:00
paul
e162c3f604 cocoa: implement ScreenToClient and ClientToScren + various cleanup and formatting
git-svn-id: trunk@34199 -
2011-12-15 07:22:12 +00:00
paul
bd6fd1f10c cocoa: implement BitBtn image showing
git-svn-id: trunk@34168 -
2011-12-14 08:18:01 +00:00
paul
75b7ee82c5 cocoa: implement GetSysColor, GetSysColorBrush
git-svn-id: trunk@34166 -
2011-12-14 07:40:29 +00:00
paul
a206f65bcd cocoa: fix some sizing/positioning code like GetClientRect
git-svn-id: trunk@34149 -
2011-12-13 09:19:06 +00:00
paul
f2b683630b cocoa: port carbon clipping code, port carbon SaveDC, RestoreDC
git-svn-id: trunk@34148 -
2011-12-13 07:51:39 +00:00