mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 02:40:59 +00:00
Use HUD style buttons in HUD style test window.
This commit is contained in:
1 parent
a6f4e20078
commit
79dde7bb9b
1 file changed
+4
@@ -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