Commit Graph

52 Commits

Author SHA1 Message Date
paul
cbfa6091d1 cocoa: (de)allocate PaintStruct dinamically, cleanup
git-svn-id: trunk@38933 -
2012-10-01 08:17:52 +00:00
paul
9a097510c9 cocoa: initialize NSView before other operations with it, simplify NSRect to rect conversions
git-svn-id: trunk@38881 -
2012-09-28 08:35:18 +00:00
paul
ad804864bd cocoa: move ScreenContext to CocoaGDIObjects, always create it since it is used by any LCL application
git-svn-id: trunk@38880 -
2012-09-28 08:32:38 +00:00
paul
5b803eebe0 cocoa: start implementation of DestroyHandle
git-svn-id: trunk@36442 -
2012-03-30 07:59:58 +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
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
paul
7b147d1d99 cocoa: redo LM_MOUSEMOVE message
git-svn-id: trunk@34626 -
2012-01-06 16:43:07 +00:00
paul
6ffa774f3f cocoa: cleanup and reorganizing some code
git-svn-id: trunk@34609 -
2012-01-06 03:31:14 +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
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
19e37fd59e cocoa: apply font color to NSControl and NSText objects
git-svn-id: trunk@34489 -
2011-12-29 03:44:43 +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
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
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
e162c3f604 cocoa: implement ScreenToClient and ClientToScren + various cleanup and formatting
git-svn-id: trunk@34199 -
2011-12-15 07:22:12 +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
paul
edffab4454 cocoa: continue work on moze/sizing
git-svn-id: trunk@34142 -
2011-12-13 02:17:06 +00:00
paul
61a5e41099 cocoa: start work on sizing/positioning
git-svn-id: trunk@34128 -
2011-12-12 07:52:53 +00:00
paul
66e6e42951 cocoa: send LM_CLICKED for button clicks and LM_CHANGED for checkbox change
git-svn-id: trunk@34125 -
2011-12-12 06:14:44 +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
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
da92ed2789 cocoa: request cursor update on form cursor change too
git-svn-id: trunk@33605 -
2011-11-18 06:11:47 +00:00
paul
931337302f cocoa: request cursor update on control cursor change
git-svn-id: trunk@33604 -
2011-11-18 06:06:02 +00:00
paul
a8fc0fa459 cocoa: implement setting cursor to control
git-svn-id: trunk@33603 -
2011-11-18 05:56:42 +00:00
sekelsenmat
2e674fc5f5 cocoa: Improves the debug information
git-svn-id: trunk@30312 -
2011-04-16 11:32:59 +00:00
dmitry
959ce2b93d cocoa: initial implementation of WSScrollbar and WSToggleBox
git-svn-id: trunk@27275 -
2010-09-05 16:47:07 +00:00
dmitry
9343928763 cocoa: initial implementation of TMemo control, improved WScontrols handle creation, initial CocoaScrollView implementation
git-svn-id: trunk@27274 -
2010-09-05 13:47:24 +00:00
dmitry
3cd980b72a cocoa:
* changed bounds setting/getting mechanism using objccategory.
* removed bounds setting/getting functions from CocoaUtils
* implemented DC origin changing getting functions
* fix CriticalSection compilation problem (related bug #17341)
* added stubs for Scroll-related winapi function

git-svn-id: trunk@27273 -
2010-09-05 09:57:31 +00:00
dmitry
dfad230000 cocoa: partialy implemented EnumFontFamiliesEx
git-svn-id: trunk@27258 -
2010-09-03 09:56:48 +00:00
dmitry
4adbe49f92 cocoa: implemented GDI region functions
git-svn-id: trunk@27245 -
2010-09-01 13:31:20 +00:00
dmitry
d92436b1e6 cocoa: initial support for controls painting
git-svn-id: trunk@27243 -
2010-09-01 09:07:14 +00:00
dmitry
51501edffa cocoa: fix forms MouseMove sending event. Started CocoaCustomControl
git-svn-id: trunk@23914 -
2010-03-10 11:00:27 +00:00
dmitry
77b4e22f3c cocoa: implemented: form resize event, WinAPI.GetWindowRect
git-svn-id: trunk@22870 -
2009-11-30 09:30:19 +00:00
dmitry
133e54ac19 cocoa: Refactoring callback name. Added window LCL messages for window Close, CloseQuery, Activate, Deactive
git-svn-id: trunk@22848 -
2009-11-28 12:26:04 +00:00
dmitry
eba9f81e8c cocoa: fix for CocoaEdit get/setting text
git-svn-id: trunk@22784 -
2009-11-26 05:38:19 +00:00
dmitry
2ae5fa225b cocoa: started TEdit implementation and TCocoaWSWinControl
git-svn-id: trunk@22767 -
2009-11-25 13:32:30 +00:00