aboutsummaryrefslogtreecommitdiff
path: root/VKPC/VibrantButton.m
diff options
context:
space:
mode:
Diffstat (limited to 'VKPC/VibrantButton.m')
-rw-r--r--VKPC/VibrantButton.m23
1 files changed, 23 insertions, 0 deletions
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