* Source/NSToolbarFrameworkPrivate.h,

* Source/GSToolbarView.m,
* Source/NSToolbar.m: Minor changes to format code, remove unused
methods and introduce some new helper methods.
This commit is contained in:
fredkiefer 2020-12-06 22:10:13 +01:00
parent 59b4b15f7e
commit 5cee71869b
4 changed files with 111 additions and 166 deletions

View file

@ -86,17 +86,12 @@
// Few other private methods
- (void) _build;
- (int) _indexOfItem: (NSToolbarItem *)item;
- (void) _concludeRemoveItem: (NSToolbarItem *)item
atIndex: (int)index
broadcast: (BOOL)broadcast;
- (void) _insertPassivelyItem: (NSToolbarItem *)item atIndex: (int)newIndex;
- (void) _performRemoveItem: (NSToolbarItem *)item; // Used by drag setup
- (NSToolbar *) _toolbarModel;
- (void) _validate: (NSWindow *)observedWindow;
- (void) _toolbarViewWillMoveToSuperview: (NSView *)newSuperview;
- (NSDictionary *) _config;
- (void) _saveConfig;
- (void) _resetConfig;
- (NSArray *) _itemsFromConfig;
- (BOOL) _containsItemWithIdentifier: (NSString *) identifier;
// Accessors