Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 20 lines (15 sloc) 0.44 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
//
// SCSwitchButtonCell.h
// SCSwitchButton
//
// Created by Vincent on 1/7/11.
// Copyright 2011 Vincent S. Wang. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface SCSwitchButtonCell : NSButtonCell {
BOOL tracking;
NSPoint initialTrackingPoint, trackingPoint;
NSRect trackingCellFrame; //Set by drawWithFrame: when tracking is true.
CGFloat trackingThumbCenterX; //Set by drawWithFrame: when tracking is true.
}

@end
Something went wrong with that request. Please try again.