diff options
Diffstat (limited to 'VKPC/NonVibrantButton.m')
-rw-r--r-- | VKPC/NonVibrantButton.m | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/VKPC/NonVibrantButton.m b/VKPC/NonVibrantButton.m new file mode 100644 index 0000000..4092820 --- /dev/null +++ b/VKPC/NonVibrantButton.m @@ -0,0 +1,23 @@ +// +// NonVibrantButton.m +// VKPC +// +// Created by Eugene on 11/18/14. +// Copyright (c) 2014 Eugene Z. All rights reserved. +// + +#import "NonVibrantButton.h" + +@implementation NonVibrantButton + +- (void)drawRect:(NSRect)dirtyRect { + [super drawRect:dirtyRect]; + + // Drawing code here. +} + +- (BOOL)allowsVibrancy { + return NO; +} + +@end |