mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-19 08:53:30 +00:00
Use HUD style buttons in HUD style test window.
This commit is contained in:
@@ -100,6 +100,10 @@
|
||||
[_otherCloseButton setTarget:self];
|
||||
[_otherCloseButton setAction:unsetAction];
|
||||
[[aWindow contentView] addSubview:_otherCloseButton positioned:CPWindowAbove relativeTo:nil];
|
||||
|
||||
if ([aWindow styleMask] & CPHUDBackgroundWindowMask)
|
||||
[[_closeButton, _altCloseButton, _otherCloseButton] makeObjectsPerformSelector:@selector(setTheme:) withObject:[CPTheme defaultHudTheme]];
|
||||
|
||||
}
|
||||
|
||||
- (SheetWindowController)initWithStyleMask:(int)styleMask debug:(int)debug
|
||||
|
||||
Reference in New Issue
Block a user