Commit graph

70 commits

Author SHA1 Message Date
Fred Kiefer
34423da47e * Source/NSImageCell.m,
* Source/NSAccessibilityCustomAction.m,
* Source/NSStackView.m,
* Source/NSGridView.m: Fix compiler warnings
2022-06-12 22:13:06 +02:00
Gregory John Casamento
b1b6e9a2a1 Add padding back into calculation 2021-03-26 18:08:30 -04:00
Gregory John Casamento
a9598d9d10 Commit fixes for all issues Fred mentioned except for formatting. 2021-03-26 02:58:30 -04:00
Gregory John Casamento
bf381f8c31 Remove incorrect calculations in _refreshCells 2021-03-23 20:11:54 -04:00
Gregory John Casamento
914bcb6f68 Incorporate all suggestions made by Fred K. 2021-03-23 19:58:05 -04:00
Gregory John Casamento
d818fc42d4 Fix implementation of initWithViews: 2021-03-22 20:03:46 -04:00
Gregory John Casamento
ac2e5ff680 Change name of method _findPrototypeView to _prototypeFrame 2021-03-22 18:10:32 -04:00
Gregory John Casamento
857e4d2e28 Fix column/row spacing issues 2021-03-22 17:25:47 -04:00
Gregory John Casamento
0bc6216ef1 Fix minor issues with _cellsForRowAtIndex: 2021-03-22 14:20:19 -04:00
Gregory John Casamento
aacc539464 Make insertRow/Column based on the number of rows/columns in the view. Get cell from array or create based on that info 2021-03-22 13:48:08 -04:00
Gregory John Casamento
bf302d3a12 Add customPlacementConstraints 2021-03-20 07:45:44 -04:00
Gregory John Casamento
2576fbd215 Correct spelling 2021-03-19 06:35:06 -04:00
Gregory John Casamento
d7eca23b73 Double checked and corrected where the fast enumeration var was misdeclared in END_FOR_IN(...). 2021-03-18 18:44:20 -04:00
Gregory John Casamento
34e9da4f96 Fix issue with initWithViews enumeration of views 2021-03-18 14:19:02 -04:00
Gregory John Casamento
c816d484b4 Change moveColumnAtIndex: so that cell information is preserved. 2021-03-18 14:01:43 -04:00
Gregory John Casamento
c46d190c08 Make gridViewWithNumberOfColumns:rows: generate an NSArray of NSArrays of NSViews before passing it to gridViewWithViews: 2021-03-17 09:19:12 -04:00
Gregory John Casamento
fd8533fab9 Change rows to views 2021-03-16 20:07:10 -04:00
Gregory John Casamento
ae3c4fbee5 Move autorelease to gridViewWIthViews: 2021-03-16 20:03:47 -04:00
Gregory John Casamento
0391347746 Fix numberOfCells methods 2021-03-16 13:28:42 -04:00
Gregory John Casamento
195b162c7e Various corrections and typographical corrections. 2021-03-14 15:03:07 -04:00
Gregory John Casamento
9bdee0a181 Remove uneeded NSDebugLog statements 2021-03-14 14:57:08 -04:00
Gregory John Casamento
a449fa172f Fixed minor formatting issues. 2021-03-14 14:55:55 -04:00
Gregory John Casamento
49348ffa24 Implement mergeCellsInRange: for row/columns 2021-03-14 14:47:10 -04:00
Gregory John Casamento
fd0d501604 Cleanup of comment 2021-03-14 14:33:03 -04:00
Gregory John Casamento
68dad85a1e Address fred's comment about getting the cell more efficiently 2021-03-14 14:32:04 -04:00
Gregory John Casamento
b35da84d61 Implement numberOfCells/cellAtIndex: for NSGridRow and NSGridColumn classes. 2021-02-21 20:26:56 -05:00
Gregory John Casamento
652ffb756e Add default size for cell from observation in Xcode 2021-02-21 14:18:01 -05:00
Gregory John Casamento
e329b2d7de Remove refresh from merge... call 2021-02-20 07:37:19 -05:00
Gregory John Casamento
7de5efd022 implement deleteRow/ColumnAtIndex: moveRow/ColumnAtIndex: methods. 2021-02-20 07:13:35 -05:00
Gregory John Casamento
037d50d445 insertRowAtIndex:withViews: correct implementation. 2021-02-20 04:54:31 -05:00
Gregory John Casamento
9156fa6da4 Precalculate column/row widths. 2021-02-20 02:38:49 -05:00
Gregory John Casamento
dd223a8ff0 Add note regarding calculation of row/column heights. 2021-02-20 02:03:20 -05:00
Gregory John Casamento
f9e2b42bc4 _refreshCells now reformats views properly. 2021-02-20 01:59:16 -05:00
Gregory John Casamento
b5c6e92dda Fix encoding/decoding, start rewriting refresh to align cells. 2021-02-18 19:25:07 -05:00
Gregory John Casamento
eaf0351b78 Reimplement so that cells are managed in one place 2021-02-15 23:44:08 -05:00
Gregory John Casamento
f5d86cd623 Follow Fred's suggested data structure where we manage everything from NSGridView and call back to it from the column and row objects. 2021-02-15 02:33:59 -05:00
Gregory John Casamento
f575d8313c Add spaces and add .0 for floats to make things clearer 2021-01-20 12:41:21 -05:00
Gregory John Casamento
9dbbc2d257 Clean up implementation 2021-01-16 20:49:54 -05:00
Gregory John Casamento
4b0f8c7173 Implement insertRowAtIndex:... 2021-01-16 20:39:14 -05:00
Gregory John Casamento
e5d82ac329 Cleanup implementation 2021-01-16 10:58:34 -05:00
Gregory John Casamento
7a5b4db32a Place views in superview. 2021-01-16 10:55:01 -05:00
Gregory John Casamento
be109b850a Start implementation of refresh/rectForCell 2021-01-15 08:59:54 -05:00
Gregory John Casamento
53f5352675 Start implementation of refresh/rectForCell 2021-01-15 08:54:40 -05:00
Gregory John Casamento
91977535e6 Add NSDebugLog(..) 2021-01-14 08:24:17 -05:00
Gregory John Casamento
9f39948dd6 Encoding of NSGridView 2021-01-14 08:21:31 -05:00
Gregory John Casamento
b1621c5510 Decode grid cells in xib file. 2021-01-14 06:55:11 -05:00
Gregory John Casamento
5ce0b46a4a Progress decoding rows/columns 2021-01-14 02:54:54 -05:00
Gregory John Casamento
200d325d94 Instantiate the row or column objects in the methods where needed 2021-01-12 08:51:48 -05:00
Gregory John Casamento
e97e6d5c1e Do not retain the view in the row/column instances 2021-01-12 04:05:52 -05:00
Gregory John Casamento
fd2c454a60 encode/decode gridview column 2021-01-11 09:19:40 -05:00