mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2025-02-26 14:56:51 +00:00
merge 90d3aea
This commit is contained in:
commit
d256e6d266
@ -2,6 +2,7 @@
|
||||
#import <AppKit/NSGraphicsContext.h>
|
||||
#import <Onyx2D/O2Context.h>
|
||||
#import <Onyx2D/O2Surface.h>
|
||||
#import <AppKit/NSTableHeaderView.h>
|
||||
#import <AppKit/NSImage.h>
|
||||
#import <AppKit/NSFont.h>
|
||||
#import <AppKit/NSColor.h>
|
||||
@ -882,8 +883,9 @@ static inline RECT transformToRECT(O2AffineTransform matrix,NSRect rect) {
|
||||
@implementation NSGraphicsStyle_uxtheme (NSTextField)
|
||||
|
||||
-(void)drawTextFieldBorderInRect:(NSRect)rect bezeledNotLine:(BOOL)bezeledNotLine {
|
||||
if(![self drawPartId:EP_EDITTEXT stateId:ETS_NORMAL uxthClassId:uxthEDIT inRect:rect])
|
||||
[super drawTextFieldBorderInRect:rect bezeledNotLine:bezeledNotLine];
|
||||
if (![_view isKindOfClass:[NSTableHeaderView class]])
|
||||
if(![self drawPartId:EP_EDITTEXT stateId:ETS_NORMAL uxthClassId:uxthEDIT inRect:rect])
|
||||
[super drawTextFieldBorderInRect:rect bezeledNotLine:bezeledNotLine];
|
||||
}
|
||||
|
||||
-(void)drawBoxWithBezelInRect:(NSRect)rect clipRect:(NSRect)clipRect {
|
||||
|
Loading…
x
Reference in New Issue
Block a user