Commit Graph

84 Commits

Author SHA1 Message Date
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
8d1660b99e lcl-cocoa: Fixes compilation errors in last cocoa commit
git-svn-id: trunk@46423 -
2014-10-04 09:45:03 +00:00
sekelsenmat
2ce331b46a cocoa: Fixes crashes in TTreeView related to events being sent to destroyed objects, fixes TEdit focus lost event it was being sent on focus gain
git-svn-id: trunk@46166 -
2014-09-09 16:40:29 +00:00
dmitry
108f83e4ef cocoa: retaining object before the removingFromSuperview, since the object is released again afterwards. unclear the purpose of autorelease pool that could be part of the problem
git-svn-id: trunk@46088 -
2014-08-29 05:45:17 +00:00
sekelsenmat
90d7c92c6b cocoa: Support for TLabel and other graphic controls inside TPageControl tab views; Implements many properties and methods from TListView
git-svn-id: trunk@44877 -
2014-05-01 22:45:25 +00:00
sekelsenmat
594e1f2069 cocoa: Fixes the display of controls in tabs
git-svn-id: trunk@44864 -
2014-04-30 21:57:35 +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
sekelsenmat
194ab88119 lcl-cocoa: Converts NSView casting to GetNSObjectView and NSWindow casting to GetNSObjectWindow, moves TPageControl objc class to CocoaPrivate and extends it
git-svn-id: trunk@44793 -
2014-04-23 10:39:40 +00:00
sekelsenmat
be57a75758 lcl-cocoa: Moves the TListView objc class to CocoaPrivate and greatly extends it, fixes memleak, implements a callback for it, etc
git-svn-id: trunk@44785 -
2014-04-22 11:58:17 +00:00
sekelsenmat
b50fcc983d lcl-cocoa: Various fixes and improvements related to TPageControl, it can already show all tabs and the contents of the initially selected tab
git-svn-id: trunk@44774 -
2014-04-21 10:56:41 +00:00
freq
0a82041306 Cocoa: Remove unused NSApp delegate that created memory leaks and crashes with libraries.
git-svn-id: trunk@44371 -
2014-03-07 19:59:05 +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
66611411f0 Cocoa: Add Form Activation/Deactivation functionality
git-svn-id: trunk@43981 -
2014-02-09 16:08:54 +00:00
freq
7d53b0d01b Cocoa: Fix painting refresh bug
git-svn-id: trunk@43957 -
2014-02-08 17:52:34 +00:00
freq
b90ff1c48b Cocoa: Enable MouseCapture
git-svn-id: trunk@43939 -
2014-02-07 13:16:50 +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
3d2d8a6e4d Cocoa: Add MouseWheel support
git-svn-id: trunk@43854 -
2014-01-30 17:53:16 +00:00
freq
9643a777c7 Cocoa: Exlude clDefault from background painting
git-svn-id: trunk@43853 -
2014-01-30 16:48:31 +00:00
freq
50408a84b9 Cocoa: Add background color feature for TWinControls
git-svn-id: trunk@43840 -
2014-01-29 20:05:30 +00:00
freq
4bddd1118e Cocoa: Fix context menu mouse position bug
git-svn-id: trunk@43839 -
2014-01-29 16:24:53 +00:00
freq
48512f24b2 Cocoa: Fix refresh bug
git-svn-id: trunk@43794 -
2014-01-25 16:41:40 +00:00
paul
6617df26ff cocoa: fix formatting
git-svn-id: trunk@43667 -
2014-01-07 04:25:04 +00:00
freq
cc30f43ab4 Fix Cocoa window move and resize update and control anchor align problems
git-svn-id: trunk@43662 -
2014-01-06 17:35:10 +00:00
freq
3fed2c1e38 Remove layout flickering on resizing Cocoa window
git-svn-id: trunk@43603 -
2013-12-27 19:11:41 +00:00
freq
22f271c161 Make Cocoa NSButton text changeable
git-svn-id: trunk@43602 -
2013-12-27 16:49:43 +00:00
paul
2868e7ee39 cocoa: formatting after freq commit
git-svn-id: trunk@43569 -
2013-12-19 01:46:36 +00:00
freq
60b3cbce65 Cocoa popup menu rework with IMenuItemCallback and TLCLMenuItemCallback
git-svn-id: trunk@43565 -
2013-12-18 16:44:54 +00:00
paul
125883d7bf cocoa: fix formatting and add several todo items for freq
git-svn-id: trunk@43539 -
2013-12-14 00:52:07 +00:00
freq
2a38757de3 fix #0025393 Popup Menu doen't work with Cocoa widgetset
fix #0025390 Hint window doesn't work with Cocoa Widgetset

git-svn-id: trunk@43537 -
2013-12-13 13:59:24 +00:00
dmitry
a137955dff cocoa: fix the visibility of ListBox #25362, based on patch provided by accSone
git-svn-id: trunk@43494 -
2013-11-28 04:40:50 +00:00
paul
0e25da3437 cocoa: destroy callback on window destruction, close NSWindow on destruction
git-svn-id: trunk@38961 -
2012-10-03 13:32:38 +00:00
paul
8929340e01 cocoa: don't pass Draw event outside the main thread
git-svn-id: trunk@38954 -
2012-10-03 01:38:03 +00:00
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