Commit Graph

179 Commits

Author SHA1 Message Date
dmitry
664b822312 cocoa: update progress bar to recognize layout rectangles
git-svn-id: trunk@58928 -
2018-09-10 01:27:56 +00:00
dmitry
c2f1d4283e cocoa: refactoring statusbar implementation to callback based implementation. removed ComCtrls use in CocoaPrivate
git-svn-id: trunk@58918 -
2018-09-09 04:31:50 +00:00
dmitry
40b1ac11fd cocoa: update mouse events and sending coordinates in controls' client coordinates, rather than bounds relative coordinates
git-svn-id: trunk@58844 -
2018-09-03 19:49:32 +00:00
dmitry
c113088c69 cocoa: more accurate data invalidation on text or image updates
git-svn-id: trunk@58835 -
2018-09-03 01:53:10 +00:00
dmitry
efcc27637f cocoa: support for hiding/showing column headers in listview
git-svn-id: trunk@58834 -
2018-09-02 23:14:31 +00:00
dmitry
8f9eeedba6 cocoa: initial separation of NSTableView based on Cells (pre 10.7) and Views (10.7 and later)
git-svn-id: trunk@58822 -
2018-09-02 20:33:34 +00:00
dmitry
9bc95574e4 cocoa: separating checkbox status check for listview
git-svn-id: trunk@58787 -
2018-08-27 22:02:19 +00:00
dmitry
e5c94200f2 cocoa: refactoring the use of NSTableView across TListBox, TCheckListBox and TListView. adding notification for TCheckListBox #32957
git-svn-id: trunk@58784 -
2018-08-27 18:55:08 +00:00
dmitry
19e1b3ff8a cocoa: aligning first column images and text in listview
git-svn-id: trunk@58783 -
2018-08-26 22:33:17 +00:00
dmitry
addae1034e cocoa: cleanup listView implementation. Removed delayedSelection and related entries
git-svn-id: trunk@58781 -
2018-08-26 18:50:06 +00:00
dmitry
b0c54b56dc cocoa: initial support for imageIndex in listview
git-svn-id: trunk@58780 -
2018-08-26 18:39:25 +00:00
dmitry
1e346194fb cocoa: invalidating tableview on changing checked status of an item
git-svn-id: trunk@58778 -
2018-08-26 02:11:39 +00:00
dmitry
995bb12251 cocoa: support for checkboxed listview. #34109
git-svn-id: trunk@58777 -
2018-08-26 00:42:55 +00:00
dmitry
745097e09f cocoa: implementing column click for a listview #34157
git-svn-id: trunk@58776 -
2018-08-25 21:56:41 +00:00
dmitry
16334b0b94 cocoa: fixing compiler warnings
git-svn-id: trunk@58732 -
2018-08-16 23:58:49 +00:00
dmitry
e813dbc042 cocoa: adding comparison of selection range for listview and reporting changes of selected items
git-svn-id: trunk@58721 -
2018-08-16 04:29:07 +00:00
dmitry
82c256d58a cocoa: additional check for existance of a column object for CheckColumnParams
git-svn-id: trunk@58698 -
2018-08-13 01:05:09 +00:00
dmitry
f8eb20ee4a cocoa: restoring editting functionality
git-svn-id: trunk@58676 -
2018-08-05 03:58:23 +00:00
dmitry
b21be64d42 cocoa: common code to support TScrollStyle for ListView and Memo
git-svn-id: trunk@58675 -
2018-08-04 22:28:10 +00:00
dmitry
d8f5f93d77 cocoa: removed special NSScrollView class for ListView. Using the common TCocoaScrollView instead
git-svn-id: trunk@58674 -
2018-08-04 22:13:08 +00:00
dmitry
b19e69c120 cocoa: cheaper refresh on updating column caption
git-svn-id: trunk@58671 -
2018-08-04 06:52:32 +00:00
dmitry
c3bf77de61 cocoa: fix a mem leak in CocoaListView
git-svn-id: trunk@58670 -
2018-08-04 06:40:50 +00:00
dmitry
358fc2fc15 cocoa: adding a new method to change column headers text. Force the data to be reloaded
git-svn-id: trunk@58669 -
2018-08-04 05:53:12 +00:00
dmitry
39cd9e7b38 cocoa: started reimplementing ListView. Remove the dependancy on LCL code. Move the direct storage from NSTableView to the callback object
git-svn-id: trunk@58667 -
2018-08-04 04:53:02 +00:00
dmitry
71fdf9349f cocoa: resolve the issue with mouse events not processed by TabControl
git-svn-id: trunk@58645 -
2018-07-28 17:11:20 +00:00
dmitry
55f7137e4e cocoa: added support for custom ticks in trackbar
git-svn-id: trunk@58584 -
2018-07-21 04:14:02 +00:00
dmitry
1168e1aec3 cocoa: update trackbar implementation (nsslider). Fixed issue with TickMarks and Frequency. Related to #32230
git-svn-id: trunk@58583 -
2018-07-20 04:18:42 +00:00
dmitry
9bf25876ee cocoa: additional blocking of unneeded mouse up/down events for pagecontrol and statusbar
git-svn-id: trunk@58556 -
2018-07-18 03:48:02 +00:00
dmitry
5b97504b36 cocoa: update control title routine. Using the function for CocoaBox titles. fixes #33989
git-svn-id: trunk@58520 -
2018-07-14 18:32:38 +00:00
dmitry
f0aa55068a cocoa: additional check on processing tab switch event. Need to investigate why a page view doesn't have any subview
git-svn-id: trunk@58514 -
2018-07-14 04:24:24 +00:00
dmitry
db21495a7c cocoa: reusing the callback object, rather than adding the new one, preventing the mem leak. #33659
git-svn-id: trunk@58467 -
2018-07-09 01:00:55 +00:00
dmitry
4520e73882 cocoa: moving cocoa table driven controls to CocoaTables. History preserved
git-svn-id: trunk@58453 -
2018-07-07 05:19:00 +00:00
dmitry
1780f9b870 cocoa: update tab selection for CocoaTabControl
git-svn-id: trunk@58445 -
2018-07-06 04:00:28 +00:00
dmitry
99bdd1e53a cocoa: fix CocoaTabControl tabs insertion and removal
git-svn-id: trunk@58444 -
2018-07-06 03:26:12 +00:00
mattias
53605e25ad lcl: cocoa: pagecontrol: fixed range check error when creating page
git-svn-id: trunk@58442 -
2018-07-05 06:17:36 +00:00
dmitry
be82b77199 cocoa: resolved the conflict between Cocoa Tab index, LCL tab index and notification tab index. Seems like WS code should take care of widget tab index conversion to LCL tab indexconversion. Resolves the problem with disappearing tabs after a tab removal
git-svn-id: trunk@58439 -
2018-07-04 19:32:26 +00:00
dmitry
c895335249 cocoa: adding the support for scrollable tabs of CocoaTabControl
git-svn-id: trunk@58430 -
2018-07-03 03:16:58 +00:00
dmitry
af162aa1ae cocoa: ongoing refactoring of Cocoa Tab Control. removed all lcl references from cocoa classes
git-svn-id: trunk@58422 -
2018-07-01 05:31:15 +00:00
dmitry
64f716fd53 cocoa: refactoring of CocoaTabControl. cleaning up LCL dependencies from within core cocoa implementation code
git-svn-id: trunk@58421 -
2018-07-01 05:21:07 +00:00
dmitry
7e936cd4e0 cocoa: separate tab controls into its own unit cocoatabcontrols. The history of changes in tab controls code is preserved (using svn cp)
git-svn-id: trunk@58420 -
2018-06-30 20:31:34 +00:00
ondrej
d1b941a029 Cocoa: tab control: fix GetTabIndexAtPos result
git-svn-id: trunk@57869 -
2018-05-09 08:27:34 +00:00
dmitry
aa92fa38c9 cocoa: invalidating status bar on change event. #33103
git-svn-id: trunk@57219 -
2018-02-02 06:18:18 +00:00
dmitry
136cb7bb8e cocoa: returning a caption of a page control
git-svn-id: trunk@57171 -
2018-01-28 04:09:21 +00:00
dmitry
95c9771015 cocoa: updating hit test for TabControl tab, respecting flipped control
git-svn-id: trunk@57091 -
2018-01-14 19:12:18 +00:00
dmitry
5f3e1030a7 cocoa: updating tab page caption in run-time
git-svn-id: trunk@57090 -
2018-01-14 16:28:01 +00:00
dmitry
8954ecedea cocoa: cleaning up compiler warnings in cocoawscomctrls
git-svn-id: trunk@56921 -
2018-01-02 11:29:38 +00:00
dmitry
019a0dc40b cocoa: cleanup warnings with tab control
git-svn-id: trunk@56758 -
2017-12-16 05:31:27 +00:00
sekelsenmat
a2fecca799 cocoa: Restricts reloading the NSPanel Browser only for Mac OS X versions that are affected by the Mac bug, while adding an utility function to get the OS version also refactored the two utility units into one
git-svn-id: trunk@55407 -
2017-06-27 20:51:24 +00:00
sekelsenmat
210554adb1 cocoa: Bug #0031914 Tab labels display doubled up ampersands
git-svn-id: trunk@55328 -
2017-06-12 08:57:49 +00:00
sekelsenmat
5c1106e76b Reverts changes to the handling of vclass due to issues in gtk2
git-svn-id: trunk@55146 -
2017-06-01 19:36:16 +00:00
sekelsenmat
db4c7d76eb Removes the runtime creation of classes in favor of a partial emulation of multiple inheritance only for those classes where it was indispensable
git-svn-id: trunk@55140 -
2017-06-01 08:12:02 +00:00
mattias
e42f82589d lcl: cocoa: fixed TrackBar number of ticks, bug #29089
git-svn-id: trunk@52447 -
2016-06-06 15:20:58 +00:00
sekelsenmat
f1a6111db4 cocoa: Improves status bar default size and looks
git-svn-id: trunk@49634 -
2015-08-10 19:03:48 +00:00
sekelsenmat
ffae572f14 cocoa: Patch from issue #28511 potential listview mem leak
git-svn-id: trunk@49631 -
2015-08-10 18:32:52 +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
6fac29b917 cocoa: Implements PageControl.ShowTabs, TabPosition and BorderWidth
git-svn-id: trunk@48678 -
2015-04-08 07:25:36 +00:00
sekelsenmat
2620f33806 cocoa: Fixes bug which prevented clicking in treeview inside tab view
git-svn-id: trunk@47980 -
2015-02-24 13:37:19 +00:00
dmitry
99e378be1e cocoa: replace hitheme drawing of status bar with NSCell drawing. x86_64 target should compile now
git-svn-id: trunk@47135 -
2014-12-08 04:05:46 +00:00
sekelsenmat
4a56ecf1ab lcl-cocoa: Initial implementation of status bar
git-svn-id: trunk@46430 -
2014-10-04 12:49:49 +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
256196bcd2 cocoa: TTrackBar implementation
git-svn-id: trunk@46264 -
2014-09-20 12:30:50 +00:00
sekelsenmat
b2206cbf9f cocoa: Fixes memory leaks and cocoa warnings
git-svn-id: trunk@46168 -
2014-09-10 05:39:41 +00:00
sekelsenmat
31b29671af cocoa: Improves the selection and other parts of TListView
git-svn-id: trunk@44895 -
2014-05-02 23:46:40 +00:00
sekelsenmat
a2ff0824a2 cocoa: Starts implementing ListView selection event and item deletion
git-svn-id: trunk@44885 -
2014-05-02 12:03:43 +00:00
sekelsenmat
3b584602cc cocoa: Implements column title and dynamic setting item text
git-svn-id: trunk@44879 -
2014-05-01 23:49:01 +00:00
sekelsenmat
6199957e3a cocoa: Reorganizes the TListView handle so that now scrolling and the header are working
git-svn-id: trunk@44878 -
2014-05-01 23:29:12 +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
3d4bdce81f Cocoa units were wrongly added to lcl uses
git-svn-id: trunk@44786 -
2014-04-22 16:53:51 +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
51218fc679 lcl-cocoa: Now TListView items are already showing
git-svn-id: trunk@44784 -
2014-04-22 10:54:52 +00:00
sekelsenmat
c0db5fcdb7 lcl-cocoa: Starts implementing TListView
git-svn-id: trunk@44782 -
2014-04-22 00:50:26 +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
sekelsenmat
103fe7fe69 lcl-cocoa: Implements GetWindowSize for non-form controls, it would previously crash there due to a wrong typecast
git-svn-id: trunk@44773 -
2014-04-21 09:59:36 +00:00
sekelsenmat
b45ce42178 lcl-cocoa: Initial implementation for PageControl, preparation works for ListView
git-svn-id: trunk@44772 -
2014-04-21 09:19:52 +00:00
joost
3871bf2fd9 * Added dummy TCocoaWSStatusBar. To avoid segfaults during IDE startup.
git-svn-id: trunk@43810 -
2014-01-25 21:49:49 +00:00
dmitry
c78384ddba cocoa: revising the structure of cocoa widgetset. for practice added cocoa progress bar to fullfill #22557
git-svn-id: trunk@43473 -
2013-11-23 05:24:29 +00:00