#import FOUNDATION_EXPORT NSString *const DYThemeDidChange; FOUNDATION_EXPORT NSArray *DYThemeNames(void); FOUNDATION_EXPORT NSInteger DYThemeIndex(void); FOUNDATION_EXPORT void DYSetThemeIndex(NSInteger index); FOUNDATION_EXPORT NSDictionary *DYThemePalette(void); FOUNDATION_EXPORT NSColor *DYThemeColor(NSString *role); FOUNDATION_EXPORT BOOL DYThemeIsLight(void); FOUNDATION_EXPORT BOOL DYThemeUsesRelief(void); FOUNDATION_EXPORT BOOL DYThemeWorkspaceContext(NSView *view); // Opaque relief with a directional reflective rim; native controls retain their actions. FOUNDATION_EXPORT void DYDrawSoftControl(NSRect rect, CGFloat radius, BOOL recessed, BOOL emphasized, BOOL pressed); // Shared AppKit controls keep native actions, focus, and accessibility. FOUNDATION_EXPORT NSShadow *DYThemeTextShadow(void); FOUNDATION_EXPORT NSDictionary *DYThemeTextAttributes(NSFont *font, NSColor *color); FOUNDATION_EXPORT void DYDrawThemeSurface(NSBezierPath *path, BOOL card); @interface DYThemeLabel : NSTextField @end @interface DYThemeButton : NSButton @end @interface DYThemePopUpButton : NSPopUpButton @end