From c89d7432a4de1470dc04b9ae9520762dd831d267 Mon Sep 17 00:00:00 2001 From: Frederik Carlier Date: Tue, 5 Nov 2024 08:00:07 +0000 Subject: [PATCH] Expose additional GSTheme method(s) for adding NSTabView theming to WinUXTheme (#308) Co-authored-by: Marcian Lytwyn --- Headers/Additions/GNUstepGUI/GSTheme.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Headers/Additions/GNUstepGUI/GSTheme.h b/Headers/Additions/GNUstepGUI/GSTheme.h index 54e6d4587..643617cac 100644 --- a/Headers/Additions/GNUstepGUI/GSTheme.h +++ b/Headers/Additions/GNUstepGUI/GSTheme.h @@ -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