Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 93412b4434
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (25 sloc) 0.742 kb
//
// TitlebarButton.h
// Notation
//
// Created by Zachary Schneirov on 1/25/10.
// Copyright 2010 Northwestern University. All rights reserved.
//
#import <Cocoa/Cocoa.h>
typedef enum { NoIcon, DownArrowIcon, SynchronizingIcon, AlertIcon } TitleBarButtonIcon;
@interface TitlebarButtonCell : NSPopUpButtonCell {
TitleBarButtonIcon iconType;
BOOL isHovering;
NSUInteger rotationStep;
NSTimer *synchronizingTimer;
}
- (TitleBarButtonIcon)iconType;
- (void)setIsHovering:(BOOL)hovering;
- (void)setStatusIconType:(TitleBarButtonIcon)anIconType;
@end
@interface TitlebarButton : NSPopUpButton {
NSPoint _initialDragPoint;
}
- (void)setStatusIconType:(TitleBarButtonIcon)anIconType;
- (void)addToWindow:(NSWindow*)aWin;
@end
Jump to Line
Something went wrong with that request. Please try again.