mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Add tabview enum to header, fix signture issue.
This commit is contained in:
parent
723ddc2a22
commit
73c03767df
4 changed files with 24 additions and 15 deletions
|
@ -1,3 +1,9 @@
|
|||
2021-10-13 Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Headers/Additions/GNUstepGUI/GSTheme.h: Add tabview enum
|
||||
* Source/GSAutocompleteWindow.h: Fix signature mismatch
|
||||
* Source/GSThemeDrawing.m: Move tabview enum to header.
|
||||
|
||||
2021-10-12 Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/NSBitmapImageRep.m: Change initWithBitmapDataPlanes:...
|
||||
|
|
|
@ -391,6 +391,22 @@ typedef enum {
|
|||
GSThemeSelectedState /** A control which is selected */
|
||||
} GSThemeControlState;
|
||||
|
||||
/**
|
||||
* This enumeration is used when selecting the NSTabView.
|
||||
*/
|
||||
typedef enum {
|
||||
GSTabSelectedLeft,
|
||||
GSTabSelectedRight,
|
||||
GSTabSelectedToUnSelectedJunction,
|
||||
GSTabSelectedFill,
|
||||
GSTabUnSelectedLeft,
|
||||
GSTabUnSelectedRight,
|
||||
GSTabUnSelectedToSelectedJunction,
|
||||
GSTabUnSelectedJunction,
|
||||
GSTabUnSelectedFill,
|
||||
GSTabBackgroundFill
|
||||
} GSTabPart;
|
||||
|
||||
/** Notification sent when a theme has just become active.<br />
|
||||
* The notification is posted by the -activate method.<br />
|
||||
* This is primarily for internal use by AppKit controls which
|
||||
|
|
|
@ -65,8 +65,8 @@
|
|||
- (void) moveDownSelection;
|
||||
|
||||
// Delegate
|
||||
- (int) numberOfRowsInTableView: (NSTableView*)aTableView;
|
||||
- (NSInteger) numberOfRowsInTableView: (NSTableView*)aTableView;
|
||||
- (id) tableView: (NSTableView*)aTableView
|
||||
objectValueForTableColumn: (NSTableColumn*)aTableColumn
|
||||
row: (int)rowIndex;
|
||||
row: (NSInteger)rowIndex;
|
||||
@end
|
||||
|
|
|
@ -2075,19 +2075,6 @@ static NSDictionary *titleTextAttributes[3] = {nil, nil, nil};
|
|||
}
|
||||
}
|
||||
|
||||
typedef enum {
|
||||
GSTabSelectedLeft,
|
||||
GSTabSelectedRight,
|
||||
GSTabSelectedToUnSelectedJunction,
|
||||
GSTabSelectedFill,
|
||||
GSTabUnSelectedLeft,
|
||||
GSTabUnSelectedRight,
|
||||
GSTabUnSelectedToSelectedJunction,
|
||||
GSTabUnSelectedJunction,
|
||||
GSTabUnSelectedFill,
|
||||
GSTabBackgroundFill
|
||||
} GSTabPart;
|
||||
|
||||
- (NSImage *)imageForTabPart: (GSTabPart)part type: (NSTabViewType)type
|
||||
{
|
||||
NSMutableString *imageName = [NSMutableString stringWithCapacity: 32];
|
||||
|
|
Loading…
Reference in a new issue