Commit graph

2163 commits

Author SHA1 Message Date
Riccardo Mottola
d25d0ad027 protect ivars described as portected 2025-02-04 12:27:30 +01:00
Gregory John Casamento
557796af5d Merge branch 'master' of github.com:gnustep/libs-gui into NSBrowser_bindings_branch 2024-11-06 09:39:30 -05:00
Frederik Carlier
c89d7432a4
Expose additional GSTheme method(s) for adding NSTabView theming to WinUXTheme (#308)
Co-authored-by: Marcian Lytwyn <marcian.lytwyn@eggplant.io>
2024-11-05 09:00:07 +01:00
Gregory John Casamento
10256c9a60 Merge branch 'master' of github.com:gnustep/libs-gui into NSBrowser_bindings_branch 2024-10-30 19:10:04 -04:00
Fred Kiefer
349dc21144 * Headers/AppKit/NSLayoutAnchor.h: Add missing include that is required after a change in base.
* Source/NSTableView.m: Forward declare new methods.
2024-10-29 22:42:06 +01:00
Frederik Carlier
a32741a5d7
Add NSCellHitResult typedef, introduced in OSX 10.10 (#309) 2024-10-28 18:14:24 +01:00
Frederik Carlier
acf00ce5d2
Allow themes to override [NSMenu _isVisible] (#307)
The default implementation of `[NSMenu]` uses `_aWindow` and `_bWindow` to determine the visibility of the menu.  Not all themes use these windows to build a menu.  For example, the WinUXTheme will use Win32 APIs to build a menu.

Allow themes to override the value of `[NSMenu _isVisible]` by introducing a `[GSTheme proposedVisibility: (BOOL)visible forMenu: (NSMenu *) menu]` method.  The default implementation simply eturns the proposed visibility.
2024-10-27 22:02:20 +01:00
Gregory John Casamento
427b9af224 Update code to pull the column and selected row properly 2024-10-11 00:49:22 -04:00
johnathan-becker
fb1472ad3b
make nsmenu extensible (#301) 2024-10-07 22:58:42 +02:00
Frederik Carlier
6a3681aa82
Add APPKIT_EXPORT_CLASS, APPKIT_EXPORT annotations (#288)
Some GS* classes and methods are used by the ColorPicker or Printing bundles.  That means that they are referenced from an external module.  For this module to be able to resolve these symbols, on Windows, they need to be exported.

This commit adds `APPKIT_EXPORT_CLASS` and `APPKIT_EXPORT` annotations, allowing ColorPickers to compile on Windows.
2024-09-12 22:45:55 +02:00
rfm
3c160c9bb8 for documentation, ignore DPS macros 2024-09-03 11:30:18 +01:00
Gregory John Casamento
4b380ab272 Merge conflic fixes 2024-08-18 22:11:42 -04:00
Gregory John Casamento
4813800ac8 Final fixes per discussion with @fredkiefer 2024-08-18 21:04:22 -04:00
Gregory John Casamento
5befed5855 Fix a number of issues pointed out by @fredkiefer 2024-08-18 17:25:47 -04:00
Gregory John Casamento
329553c196 Merge branch 'master' into NSTreeController_branch2 2024-08-03 22:20:42 -04:00
Gregory John Casamento
ddc47652ec Fix indentation, per discussion with @fredkiefer 2024-07-27 16:46:04 -04:00
Gregory John Casamento
782321e063 Consolidate _performLoad methods, get the last item selected 2024-07-25 08:12:49 -04:00
Gregory John Casamento
1df45b788e Initial changes to start loading each column based on items 2024-07-20 12:11:47 -04:00
Gregory John Casamento
b1d0ecc21b Add new 10.6 delegate methods to NSBrowserDelegate 2024-07-19 12:04:24 -04:00
Gregory John Casamento
cd41f301a8 Add selection logic for computing indexPaths 2024-07-19 08:04:13 -04:00
Riccardo Mottola
da2803481b Pietas, Enrico passed way, remove email 2024-07-18 13:17:06 +02:00
Gregory John Casamento
f253f3fa0e Formatting fixes.. add space before * in return value 2024-07-12 10:39:47 -04:00
Gregory John Casamento
e6f86a5a9e Add NSNibDeclarations.h to the header to correct compilation error 2024-07-12 06:35:31 -04:00
Gregory John Casamento
90b3913a1f Add implementation for methods that add nodes at a given indexPath or set of indexPaths 2024-07-12 06:22:56 -04:00
Gregory John Casamento
ebf6bdb8d2 Update add method, fix white space issue, remove duplicate methods 2024-07-02 04:05:53 -04:00
Gregory John Casamento
ba9c12ddf8 Improve documentation regarding 'object' mode and key specification 2024-06-30 22:21:04 -04:00
Gregory John Casamento
9a91d04bc0 Merge ChangeLog 2024-06-29 01:48:43 -04:00
Gregory Casamento
b0d02aa7e8
Merge branch 'master' into NSMenuToolbarItem_branch 2024-06-28 08:31:11 -04:00
Gregory John Casamento
f7afc331eb Interim changes before refactor of NSTreeController 2024-06-24 08:50:22 -04:00
Gregory John Casamento
bfb33156cf Move code over from old branch, startint new branch since NSOutlineView was refactored 2024-06-19 01:46:27 -04:00
Gregory John Casamento
cf7b9ebd39 Final changes suggested by @fredkiefer and some small fixes before merge 2024-06-16 20:52:06 -04:00
Gregory John Casamento
f9b89c41e6 Correct minor theme drawing issues, fix issue pointed out by @fredkiefer to address out of order row fetching 2024-06-16 17:36:15 -04:00
Gregory John Casamento
77bf2f823b Move method back, eliminate possible duplicate call to render outline cell, changes suggested by review with @fredkiefer 2024-06-16 16:25:00 -04:00
Gregory John Casamento
b4c98b329b Move method that renders the outline icon per discussion with @fredkiefer, also includes some whitespace fixes 2024-06-16 08:38:12 -04: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
5ab8768283 Add code to show image for NSMenuToolbarItem 2024-05-03 16:28:24 -04:00
Gregory John Casamento
bd4e093bad Add NSMenuToolbarItem skeleton 2024-05-03 13:52:23 -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
f7e4b70f54 Return the NSTableRowView for the current row 2024-04-27 09:07:56 -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 John Casamento
3345b5c0de Minor cleanup 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
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
64b35d46ca Fixed issues recommended by @fredkiefer 2024-04-22 09:00:53 -04:00
Gregory John Casamento
e55babb04e Add code to handle Title property on NSTableColumn, add code to NSTableView to set the table view to _viewBased if it responds to tableView:viewForTableColumn:row: 2024-04-22 09:00:53 -04:00