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.
29 lines
439 B
29 lines
439 B
8 years ago
|
//
|
||
|
// CLUnderlinedButton.m
|
||
|
// Clocker
|
||
|
//
|
||
|
// Created by Abhishek Banthia on 1/14/17.
|
||
|
//
|
||
|
//
|
||
|
|
||
|
#import "CLUnderlinedButton.h"
|
||
|
|
||
|
@implementation CLUnderlinedButton
|
||
|
|
||
|
- (void)drawRect:(NSRect)dirtyRect {
|
||
|
[super drawRect:dirtyRect];
|
||
|
|
||
|
// Drawing code here.
|
||
|
}
|
||
|
|
||
|
-(void)resetCursorRects
|
||
|
{
|
||
|
if (self.cursor) {
|
||
|
[self addCursorRect:[self bounds] cursor: self.cursor];
|
||
|
} else {
|
||
|
[super resetCursorRects];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@end
|