Commit Graph

86 Commits

Author SHA1 Message Date
dmitry
3e9a589e80 cocoa: scrollwincontrol, keeping the actual scrollbox size, if a smaller scolling range is requested. #32998
git-svn-id: trunk@57048 -
2018-01-11 05:28:36 +00:00
dmitry
2c0b33fd1a cocoa: update scrollbox implementation, fix the problem of missing scrollbars. #32971. Todo - implement SetScrollInfo and GetScrollInfo for ScrollView
git-svn-id: trunk@57009 -
2018-01-08 03:34:29 +00:00
dmitry
350709605d cocoa: additional checks to prevent doublicating messages about control resizes. (check for client rect changed vs frame rect changed). Added check for a failed draw (an event, whenever a control frame changed while processing Draw()). Forcing repaint #32970. Additional check for scrollbars - preventing dormant resize events
git-svn-id: trunk@57007 -
2018-01-08 00:34:26 +00:00
dmitry
c41a113269 cocoa: fix scrollbox callback use. ScrollView should be using its own content callback. #32881
git-svn-id: trunk@56893 -
2017-12-31 16:49:16 +00:00
sekelsenmat
538f648aec cocoa: Fixes bug #32042, lack of Apple menu in TMainMenu when no menu item has apple title, part 2
git-svn-id: trunk@55836 -
2017-09-11 17:08:23 +00:00
sekelsenmat
0af5c2d943 cocoa: Patch for scrollby from bug #32363
git-svn-id: trunk@55824 -
2017-09-09 08:46:59 +00:00
sekelsenmat
6f095ca396 cocoa: Fixes bug #31056: Cocoa menu item shortcuts fall through to unfocused parent forms.
git-svn-id: trunk@55108 -
2017-05-27 06:49:46 +00:00
sekelsenmat
c8f58afbfd cocoa: Patch from Zoe Peterson to allow customizing Cocoa-LCL
git-svn-id: trunk@53239 -
2016-10-27 19:29:49 +00:00
sekelsenmat
bc008e0769 cocoa: Refactors some modal code, shouldn't change anything
git-svn-id: trunk@52999 -
2016-09-20 07:34:29 +00:00
sekelsenmat
0428e3cab5 cocoa: Fixes crash due to cyclic calls to CreateHandle in modal forms, bug #30527
git-svn-id: trunk@52998 -
2016-09-20 07:25:18 +00:00
ondrej
92c16d5513 lcl: revert r52377 #a7f5af9c78, it collided with Gtk2 WS code.
git-svn-id: trunk@52380 -
2016-05-24 03:50:42 +00:00
ondrej
a7f5af9c78 lcl: add new form style fsIgnoreMouseEvents. use it instead of windows-specific WM_NCHITTEST=HTTRANSPARENT.
git-svn-id: trunk@52377 -
2016-05-23 21:47:00 +00:00
ondrej
2e5f56f9de cocoa: add support for WM_NCHITTEST=HTTRANSPARENT windows.
git-svn-id: trunk@52376 -
2016-05-23 20:52:18 +00:00
ondrej
81733b2e74 lcl: rewrite PopupMode/PopupParent
- unify code for PopupMode/PopupParent in one function TCustomForm.GetRealPopupParent for all WS.
- change TWSCustomFormClass.SetPopupParent to TWSCustomFormClass.SetRealPopupParent without PopupMode parameter.
- Fix TPopupMode documentation.
Issue #29247

git-svn-id: trunk@51032 -
2015-12-25 15:37:10 +00:00
juha
6bb18f6fbd LCL: Implement TCustomMemo.ScrollBy. Refactor widgetset ScrollBy from ScrollingWinControl to WinControl. Solves issue #29067.
git-svn-id: trunk@50523 -
2015-11-29 18:45:53 +00:00
sekelsenmat
019aa71ce3 cocoa: Implements the new blocking mechanism for disabling controls due to modal
git-svn-id: trunk@49782 -
2015-09-08 07:41:15 +00:00
sekelsenmat
0486824ce1 cocoa: Makes the native modal mode selective via a define
git-svn-id: trunk@49779 -
2015-09-08 06:33:52 +00:00
sekelsenmat
3c0233d4ed cocoa: Moves all menu code to CocoaWSMenus to have more related code together
git-svn-id: trunk@49729 -
2015-08-31 06:23:13 +00:00
sekelsenmat
83d51bb80f cocoa: Implements support for receiving dropped files into forms
git-svn-id: trunk@49725 -
2015-08-29 07:27:27 +00:00
sekelsenmat
6621c5c9ce cocoa: Fixes modalresult
git-svn-id: trunk@49724 -
2015-08-29 06:16:44 +00:00
sekelsenmat
0cd6b5054b cocoa: Reverts wrong workaround for gdb problem
git-svn-id: trunk@49673 -
2015-08-15 16:24:50 +00:00
sekelsenmat
96d3cffb5a cocoa: identation fix
git-svn-id: trunk@49671 -
2015-08-15 06:21:33 +00:00
sekelsenmat
79e2da2c5e cocoa: Rewrites modal form support to fix bugs #28499 and #28490
git-svn-id: trunk@49657 -
2015-08-12 19:25:48 +00:00
sekelsenmat
b056d5b455 cocoa: Patch from issue #28510 autorelease pool mem leak fix
git-svn-id: trunk@49633 -
2015-08-10 18:36:10 +00:00
sekelsenmat
2bd8349602 cocoa: Fixes tab sheet positioning (bug #28489) and starts improving main menu code
git-svn-id: trunk@49626 -
2015-08-10 05:12:52 +00:00
sekelsenmat
4bf196ee57 Fixes normal windows being stay on top
git-svn-id: trunk@49609 -
2015-08-07 06:35:37 +00:00
sekelsenmat
2afb634372 Fixes normal windows being stay on top
git-svn-id: trunk@49608 -
2015-08-07 06:19:54 +00:00
sekelsenmat
f1c6358aeb lcl-cocoa: Fixes TBitBtn.Glyph, the image data was being freed together with the glyph TBitmap
git-svn-id: trunk@46620 -
2014-10-20 06:01:39 +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
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
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
c789f1367f Cocoa: Rework window lookup and mousemove event activation
git-svn-id: trunk@44120 -
2014-02-17 18:26:37 +00:00
freq
240ff3398d Cocoa: Workaround crash on closing a parented form
git-svn-id: trunk@44114 -
2014-02-17 08:20:40 +00:00
freq
d44ca788c7 Cocoa: Disable activation loop if NSWindow is not activatable
git-svn-id: trunk@44072 -
2014-02-14 14:24:00 +00:00
freq
66611411f0 Cocoa: Add Form Activation/Deactivation functionality
git-svn-id: trunk@43981 -
2014-02-09 16:08:54 +00:00
freq
bcb628659e Cocoa: Rework window levels so that they are now compatible to other Cocoa applications (important for e.g. a host/library UI environment)
git-svn-id: trunk@43962 -
2014-02-09 11:24:49 +00:00
freq
7d53b0d01b Cocoa: Fix painting refresh bug
git-svn-id: trunk@43957 -
2014-02-08 17:52:34 +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
ad229fa25c Cocoa: Making mousemove events (needed for hint) available for parented Forms
git-svn-id: trunk@43825 -
2014-01-27 13:40:33 +00:00
freq
e621f1b5cd Cocoa: Removed unused allocation
git-svn-id: trunk@43818 -
2014-01-26 18:46:14 +00:00
joost
58b46afe02 * Implemented cocoa TMainMenu support
* Implemented shortcut support in menus (Not all keys are supported yet)
 * Improved handling of sub-menus

git-svn-id: trunk@43792 -
2014-01-25 11:41:57 +00:00
joost
a491cb1360 * The handle of a TCustomForm contains in most cases a TCocoaWindowContent and not directly a NSWindow. This fixes an access violation
git-svn-id: trunk@43791 -
2014-01-25 10:50:10 +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
cd6227e4c9 Fix memory leaks on hint windows and popup menu
git-svn-id: trunk@43598 -
2013-12-27 10:47:23 +00:00
freq
b0287567ee Fix unassigned Rect value in Cocoa window creation and changed to constant in setlevel call during Cocoa hint window creation
git-svn-id: trunk@43570 -
2013-12-20 15:55:11 +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
paul
67ecc37e5a cocoa: fix typo
git-svn-id: trunk@43492 -
2013-11-28 03:10:07 +00:00
dmitry
af918a5f9f cocoa: changed in window visiblity management
git-svn-id: trunk@43491 -
2013-11-28 03:04:12 +00:00