Commit Graph

57 Commits

Author SHA1 Message Date
paul
10cd03aa72 cocoa: fix text shifting
git-svn-id: trunk@34579 -
2012-01-04 17:30:26 +00:00
paul
6c88a7f8fa cocoa: finish GetStockItem()
git-svn-id: trunk@34491 -
2011-12-29 07:02:45 +00:00
paul
53945a77c0 cocoa: apply font aliasing to context before drawing with it
git-svn-id: trunk@34487 -
2011-12-29 03:42:11 +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
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
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
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
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
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
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
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
75b7ee82c5 cocoa: implement GetSysColor, GetSysColorBrush
git-svn-id: trunk@34166 -
2011-12-14 07:40:29 +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
paul
2112307399 cocoa: use TCocoaRegion
git-svn-id: trunk@33722 -
2011-11-23 12:41:43 +00:00
paul
9a2d80ca4f cocoa: a trial to port carbon antialiasing switch
git-svn-id: trunk@33709 -
2011-11-23 02:34:33 +00:00
paul
a740183729 cocoa: port carbon pen code
git-svn-id: trunk@33708 -
2011-11-23 01:47:41 +00:00
paul
426a9b9005 cocoa: fix brush pattern drawing by storing the bitmap copy, add TCocoaBitmap copy constructor
git-svn-id: trunk@33706 -
2011-11-23 01:08:08 +00:00
paul
4f99496446 cocoa: redo private classes - use corba interfaces instead for simplification of implementation and better inheritance, implement few combobox events, redo gdi object handling and implement most of brush properties
git-svn-id: trunk@33689 -
2011-11-22 10:52:25 +00:00
sekelsenmat
6c62624064 cocoa: Adds a initial code for rendering a TCocoaBitmap into a TCocoaContext
git-svn-id: trunk@33685 -
2011-11-22 07:55:15 +00:00
paul
af9d15b12b cocoa: update all controls when screen.cursor is set to new value
git-svn-id: trunk@33613 -
2011-11-18 14:37:59 +00:00
paul
a8fc0fa459 cocoa: implement setting cursor to control
git-svn-id: trunk@33603 -
2011-11-18 05:56:42 +00:00
paul
8972794e3b cocoa: properly fill RawImage description from cocoa bitmap object, properly initialize bitmap format and HasAlpha field
git-svn-id: trunk@33602 -
2011-11-18 03:06:43 +00:00
paul
fdb9311f33 cocoa: use white colorspace for 1 bit bitmaps
git-svn-id: trunk@33599 -
2011-11-18 02:10:08 +00:00
paul
a920ff2cd0 cocoa: start HCursor implementation
git-svn-id: trunk@33586 -
2011-11-17 14:40:41 +00:00
sekelsenmat
9b30b68fdc cocoa: Now the image code and the tray icon work more, although not yet fully
git-svn-id: trunk@31461 -
2011-06-29 20:45:12 +00:00
sekelsenmat
1a26b03f11 Cocoa: Advances the bitmap code
git-svn-id: trunk@31449 -
2011-06-29 07:04:24 +00:00
sekelsenmat
fa4e60b3a6 Cocoa: Advances implementing bitmap and icon support, but not yet working
git-svn-id: trunk@31440 -
2011-06-28 20:50:36 +00:00
sekelsenmat
7381149462 Starts implementing image connection to TTrayIcon
git-svn-id: trunk@30387 -
2011-04-19 18:31:40 +00:00
sekelsenmat
19eb2d8aa5 Starts implementing Cocoa TBitmap, TIcon and TTrayIcon
git-svn-id: trunk@30357 -
2011-04-18 06:57:07 +00:00
sekelsenmat
6eca9a8764 cocoa: Now TLabel works =)
git-svn-id: trunk@30313 -
2011-04-16 12:10:05 +00:00