Riccardo Mottola
41ba427101
call SWAP_LINE_ENDIANNESS iniside the WRITE_SCANLINE macro and thus remove if() duplication
2024-05-13 21:53:06 +02:00
Riccardo Mottola
2328f7e99a
use char for bool
2024-05-13 21:43:58 +02:00
Adam Fox
ae6323b042
Revert to defaultParagraphStyle tab stops from 10 years ago ( #272 )
...
* Uncomment defaultParagraphStyle tab stop defaults from 10 years ago.
* move creation of tab stops for defaultParagraphStyle into the init method
* Update ChangeLog
* fix build error
* Update ChangeLog
2024-05-13 18:47:42 +02:00
Riccardo Mottola
22dbbbb1f6
swap only if 16 or 32 bits, otherwise endianness has no meaningwq
2024-05-09 01:17:01 +02:00
Riccardo Mottola
f77370178a
update include guard to actual file name
2024-05-08 11:24:15 +02:00
Riccardo Mottola
b35b5714ed
update Adam's historic mail and copyright dates
2024-05-08 11:18:13 +02:00
Riccardo Mottola
4ea49b0260
now that we have individual flags to check, group swapping into a one big macro
2024-05-08 11:12:11 +02:00
Riccardo Mottola
55b75b9e33
instad of using NSBitmapFormat use individual flags
2024-05-08 10:28:49 +02:00
Riccardo Mottola
7c833cb5a6
try to swap 16bit and 32bit images line-per-line always into host byte order for TIFF library to write
2024-05-07 23:22:05 +02:00
Gregory John Casamento
27c9dc9207
Fix whitespace in NSTableRowView.[hm]
2024-05-06 10:09:39 -04:00
Gregory John Casamento
8fc0bffc5c
Eliminate white-space
2024-05-06 09:49:19 -04:00
Gregory John Casamento
615b3e9b27
Update changelog
2024-05-04 09:51:56 -04:00
Gregory John Casamento
d3f05037eb
Finish implementation of NSMenuToolbarItem
2024-05-04 09:27:05 -04:00
Gregory Casamento
52423a430c
Revert questionable change to NSTextView
2024-05-04 06:26:19 -04:00
Gregory Casamento
61ff6962df
Add common_MenuToolbarItem.tiff and corresponding mapping
2024-05-04 06:21:28 -04:00
Gregory John Casamento
5ab8768283
Add code to show image for NSMenuToolbarItem
2024-05-03 16:28:24 -04:00
Gregory John Casamento
842b0d8014
Update changelog
2024-05-03 14:02:46 -04:00
Gregory John Casamento
bd4e093bad
Add NSMenuToolbarItem skeleton
2024-05-03 13:52:23 -04:00
Gregory John Casamento
b7bea0213b
Fix issue with view refresh/editability, refactor so that view sizing happens in the correct place
2024-05-03 10:40:08 -04:00
Gregory John Casamento
bec2392e33
Fix to NSTextView issue where it goes into an infinite loop if the event is returned as nil
2024-05-01 19:19:45 -04:00
Gregory John Casamento
b9c5ba35be
Rename variables to be a bit more meaningful
2024-04-30 04:38:41 -04:00
Gregory John Casamento
9070a9d30f
Move view rendering to viewAtColumn:row:makeIfNecessary: and eliminate uneeded private method
2024-04-28 15:04:29 -04:00
Gregory John Casamento
4d5957eaf7
Fully refactor delegate calls into NSTableView/NSOutlineView and move outlineColumn drawing to a public method
2024-04-28 09:49:19 -04:00
Gregory John Casamento
77ce97c266
Update to use NSTableRowView
2024-04-28 07:17:43 -04:00
Gregory John Casamento
f7e4b70f54
Return the NSTableRowView for the current row
2024-04-27 09:07:56 -04:00
Gregory John Casamento
d3a0dd23c0
Add 10.7 methods to NSTableView, implement viewAtColumn:row:makeIfnecessary:
2024-04-26 13:08:35 -04:00
Gregory John Casamento
41c7257d4b
Add 10.7 methods and add next/prev row selected ivars
2024-04-26 13:08:35 -04:00
Gregory John Casamento
dfef9c9e1f
Finish skeleton
2024-04-26 13:08:35 -04:00
Gregory John Casamento
4d2dcb9e04
Add skeleton for NSTableRowView class that includes set/get methods
2024-04-26 13:08:35 -04:00
Gregory Casamento
82dce67eb4
Reduce code duplication in GSThemeDrawing table/outline view drawing methods ( #262 )
...
* Reduce code duplication in drawViewCell:... method
* Further reduce code duplication, add common private method for calculating starting and ending column
* Use the tableView in the method that calculates the starting and ending rows
* Add code to properly handle prototypeViews, the XIB is NOT split, I was confused
* Call awakeFromNib on view as well
* Refactor so that the outlineColumn drawing code is shared
* Adjust the image drawing and the clickable area to be more aligned also make it easier to expand or collapse an item in the outline view
2024-04-26 18:40:11 +02:00
Jamie Ramone
c43bbb8a81
Update nsmapping.strings ( #266 )
...
Fixed the visual menu/browser arrow glitch where it didn't change the image when highlighted. This file was missing the "common_3DArrowRightH = NSHighlightedMenuArrow;" line.
2024-04-26 09:59:25 +02:00
Frederik Carlier
2ab5953ea3
Add NSButtonCell, NSMenuItem keyEquivalentModifierMask encoding tests ( #264 )
2024-04-25 17:31:47 +02:00
Frederik Carlier
2ebf167e6f
It looks like GNUstep backend is not yet installed ( #263 )
2024-04-25 17:22:57 +02:00
Gregory Casamento
d0db2dd2ee
Merge pull request #154 from gnustep/NSTableCellView_branch
...
Implement view based cells in NSTableView
2024-04-24 15:57:25 -04:00
Gregory John Casamento
930eb54290
Merge branch 'master' of github.com:gnustep/libs-gui into NSTableCellView_branch
2024-04-24 13:55:35 -04:00
williameveretteggplant
140124ed35
Revert "Left shift key equivalent modifier mask in xib unarchiver ( #259 )" ( #260 )
...
This reverts commit d1562a37cd
.
2024-04-23 20:09:39 +02:00
Gregory John Casamento
0e36b42837
Add a check to make sure that ov is set
2024-04-23 02:19:17 -04:00
Gregory John Casamento
3ff5efed30
Encapsulate the renderedPaths and pathsToViews ivars that track which views were displayed in a viewBased table
2024-04-22 09:00:53 -04:00
Gregory John Casamento
c1e3cf2f08
Fix the image position and refresh when opening and closing items if it is a viewBased outline view. Tested and behavior seems consistent with macOS 14.
2024-04-22 09:00:53 -04:00
Gregory John Casamento
3c01238988
Remove checks for the class/subclass of NSTableView/NSOutlineView, but make the decision about how to render by depending on which delegate method is implemented
2024-04-22 09:00:53 -04:00
Gregory John Casamento
3345b5c0de
Minor cleanup
2024-04-22 09:00:53 -04:00
Gregory John Casamento
64150ff2ba
Minor cleanup
2024-04-22 09:00:53 -04:00
Gregory John Casamento
abde29dbe3
Remove GSXibInternal.h reference from GSXib5KeyedUnarchiver to correct compilation error
2024-04-22 09:00:53 -04:00
Gregory John Casamento
a11f562997
Remove GSXibInternal, since it is not needed for this PR. Make drawing method parameter types more explicit, correct delegate method name in NSOutlineView
2024-04-22 09:00:53 -04:00
Gregory John Casamento
48d031a14a
Add improvements suggested by @fredkiefer
2024-04-22 09:00:53 -04:00
Gregory John Casamento
42bae42431
Fix issues mentioned by @fredkiefer
2024-04-22 09:00:53 -04:00
Gregory John Casamento
5d17658b0e
Add 10.12 imageViewWithImage to NSImageView, show outline view image to let the user know the item is expandable
2024-04-22 09:00:53 -04:00
Gregory John Casamento
9da7bd4502
Add implementation of NSUserInterfaceItemIdentifier to NSView
2024-04-22 09:00:53 -04:00
Gregory John Casamento
8c9278e12a
Fix memory leak when creating the blank image, the image is retained by -[NSCell initImageCell:]
2024-04-22 09:00:53 -04:00
Gregory John Casamento
e74144b1bd
Fix memory leak when creating the blank image, the image is retained by -[NSCell initImageCell:]
2024-04-22 09:00:53 -04:00