From 8c1a7423a0e526f2896d17be768abeccbeb77ad7 Mon Sep 17 00:00:00 2001 From: ch1p Date: Fri, 14 Aug 2015 01:04:22 +0300 Subject: initial --- VKPC/VibrantButton.m | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 VKPC/VibrantButton.m (limited to 'VKPC/VibrantButton.m') diff --git a/VKPC/VibrantButton.m b/VKPC/VibrantButton.m new file mode 100644 index 0000000..64488cf --- /dev/null +++ b/VKPC/VibrantButton.m @@ -0,0 +1,23 @@ +// +// VKPCButton.m +// VKPC +// +// Created by Eugene on 10/28/14. +// Copyright (c) 2014 Eugene Z. All rights reserved. +// + +#import "VibrantButton.h" + +@implementation VibrantButton + +- (void)drawRect:(NSRect)dirtyRect { + [super drawRect:dirtyRect]; + + // Drawing code here. +} + +- (BOOL)allowsVibrancy { + return YES; +} + +@end -- cgit v1.2.3