summaryrefslogtreecommitdiff
path: root/VKPC/VibrantButton.m
diff options
context:
space:
mode:
authorch1p <me@ch1p.com>2015-08-14 01:04:22 +0300
committerch1p <me@ch1p.com>2015-08-14 01:04:22 +0300
commit8c1a7423a0e526f2896d17be768abeccbeb77ad7 (patch)
tree67ad777e65ff6b0cca64a27ab5bb8455b575ffae /VKPC/VibrantButton.m
initial
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