You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
780 B
31 lines
780 B
9 years ago
|
//
|
||
|
// CLMainWindowController.m
|
||
|
// Clocker
|
||
|
//
|
||
|
// Created by Abhishek Banthia on 2/7/16.
|
||
|
//
|
||
|
//
|
||
|
|
||
|
#import "CLMainWindowController.h"
|
||
|
|
||
|
@interface CLMainWindowController ()
|
||
|
|
||
|
@end
|
||
|
|
||
|
@implementation CLMainWindowController
|
||
|
|
||
|
- (void)windowDidLoad {
|
||
|
[super windowDidLoad];
|
||
|
|
||
|
CALayer *viewLayer = [CALayer layer];
|
||
|
[viewLayer setBackgroundColor:CGColorCreateGenericRGB(255.0, 255.0, 255.0, 0.8)]; //RGB plus Alpha Channel
|
||
|
[self.window.contentView setWantsLayer:YES]; // view's backing store is using a Core Animation Layer
|
||
|
[self.window.contentView setLayer:viewLayer];
|
||
|
self.window.titlebarAppearsTransparent = YES;
|
||
|
|
||
|
|
||
|
// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.
|
||
|
}
|
||
|
|
||
|
@end
|