Commit Graph

174 Commits

Author SHA1 Message Date
paul
53979ac243 fix compilation of carbon and cocoa
git-svn-id: trunk@35519 -
2012-02-21 07:07:32 +00:00
paul
bbb4a0f776 lcl: add Target: TControl argument to NotifyApplicationUserInput(), pass this target to event handlers instead of TApplication
git-svn-id: trunk@35500 -
2012-02-20 06:20:01 +00:00
sekelsenmat
2ef6d922c8 Restructures the LazDeviceAPIs WS implementation to be on a separate unit instead of in the LCLIntf. This allows us to move the types which bellong in the lazdeviceapis unit back to it and make things more modular too.
git-svn-id: trunk@34946 -
2012-01-26 10:07:10 +00:00
paul
6e6c4d9600 cocoa: fix memory corruption
git-svn-id: trunk@34916 -
2012-01-25 05:01:31 +00:00
paul
105f704391 cocoa: remove TLastMouseInfo, it is not needed in cocoa
git-svn-id: trunk@34914 -
2012-01-25 01:39:34 +00:00
sekelsenmat
84940a762a Fixes LCL-Cocoa compilation in FPC 2.6
git-svn-id: trunk@34845 -
2012-01-21 16:56:11 +00:00
sekelsenmat
034d195ca9 Advances implementing the WS class for TLazAccessibleObject
git-svn-id: trunk@34713 -
2012-01-12 01:29:32 +00:00
paul
76ea22831e cocoa: reimplement form using NSPanel, reimplement modality using form enabling/disabling
git-svn-id: trunk@34706 -
2012-01-11 07:07:25 +00:00
paul
e51a29d78d cocoa: change the way of minimizing and restore application
git-svn-id: trunk@34705 -
2012-01-11 05:10:40 +00:00
paul
a6a384a0e7 cocoa: implement FormStyle and PopupParent properties for TCustomForm
git-svn-id: trunk@34641 -
2012-01-07 17:14:52 +00:00
paul
7b147d1d99 cocoa: redo LM_MOUSEMOVE message
git-svn-id: trunk@34626 -
2012-01-06 16:43:07 +00:00
paul
69347e3724 cocoa: implement ShowModal and CloseModal for TCustomForm
git-svn-id: trunk@34624 -
2012-01-06 16:03:18 +00:00
paul
c4f0d1a633 cocoa: set initial title for groupbox, implement SetAlphaBlend for TCustomForm
git-svn-id: trunk@34623 -
2012-01-06 15:46:20 +00:00
paul
108c6e003a cocoa: implement TForm.BorderStyle and TForm.BorderIcons
git-svn-id: trunk@34622 -
2012-01-06 14:17:52 +00:00
paul
7f9a727d41 cocoa: clear sibling radio button states when one is changed
git-svn-id: trunk@34616 -
2012-01-06 13:04:33 +00:00
paul
6ffa774f3f cocoa: cleanup and reorganizing some code
git-svn-id: trunk@34609 -
2012-01-06 03:31:14 +00:00
paul
555f4dbed8 cocoa: cleanup
git-svn-id: trunk@34603 -
2012-01-05 17:37:38 +00:00
paul
d26d3581f0 cocoa: cleanup
git-svn-id: trunk@34602 -
2012-01-05 17:30:03 +00:00
paul
c403c02f92 cocoa: formatting, cleanup, correctly initialize controls with initial visible state using WS_VISIBLE flag, implement ShowHide for controls and forms
git-svn-id: trunk@34600 -
2012-01-05 17:23:51 +00:00
paul
5a73f54727 cocoa: cleanup
git-svn-id: trunk@34591 -
2012-01-05 04:08:57 +00:00
paul
10cd03aa72 cocoa: fix text shifting
git-svn-id: trunk@34579 -
2012-01-04 17:30:26 +00:00
paul
be8ca4f2c3 cocoa: initial implementation of key handling based on carbon code
git-svn-id: trunk@34510 -
2011-12-30 01:32:09 +00:00
paul
c4a6edc657 cocoa: add mackeycodes.inc from carbon
git-svn-id: trunk@34492 -
2011-12-29 08:06:13 +00:00
paul
6c88a7f8fa cocoa: finish GetStockItem()
git-svn-id: trunk@34491 -
2011-12-29 07:02:45 +00:00
paul
aafc19458b cocoa: implement GetKeyState, fix selected color
git-svn-id: trunk@34490 -
2011-12-29 06:48:44 +00:00
paul
19e37fd59e cocoa: apply font color to NSControl and NSText objects
git-svn-id: trunk@34489 -
2011-12-29 03:44:43 +00:00
paul
d3d7d7c4f0 cocoa: don't use low level TextStorage object while working with memo strings - this caused skipping different text attributes like font and color
git-svn-id: trunk@34488 -
2011-12-29 03:43:59 +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
1ac5f81918 implement WinControl.SetFont
git-svn-id: trunk@34463 -
2011-12-28 08:06:33 +00:00
paul
30056f1dc2 do not propagate mouse events of custom control to the next responder
git-svn-id: trunk@34462 -
2011-12-28 07:21:59 +00:00
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