Expose additional GSTheme method(s) for adding NSTabView theming to WinUXTheme (#308)

Co-authored-by: Marcian Lytwyn <marcian.lytwyn@eggplant.io>
This commit is contained in:
Frederik Carlier 2024-11-05 08:00:07 +00:00 committed by GitHub
parent c71f9dd715
commit c89d7432a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1265,6 +1265,8 @@ APPKIT_EXPORT_CLASS
- (NSRect) browserHeaderDrawingRectForCell: (NSTableHeaderCell*)cell
withFrame: (NSRect)rect;
- (CGFloat) tabHeightForType: (NSTabViewType)type;
- (NSRect) tabViewContentRectForBounds: (NSRect)aRect
tabViewType: (NSTabViewType)type
tabView: (NSTabView *)view;
@ -1275,6 +1277,10 @@ APPKIT_EXPORT_CLASS
- (NSRect) tabViewBackgroundRectForBounds: (NSRect)aRect
tabViewType: (NSTabViewType)type;
- (void) drawTabViewBezelRect: (NSRect)aRect
tabViewType: (NSTabViewType)type
inView: (NSView *)view;
- (void) drawTabViewRect: (NSRect)rect
inView: (NSView *)view
withItems: (NSArray *)items