public
Description: My OS X Thermometer client.
Clone URL: git://github.com/dustin/osx-thermometer.git
osx-thermometer / ThermometerCell.h
100644 35 lines (26 sloc) 0.622 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// ThermometerCell.h
// Thermometer
//
// Created by Dustin Sallings on Sat Mar 22 2003.
// Copyright (c) 2003 SPY internetworking. All rights reserved.
//
 
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
 
#import "Thermometer.h"
 
@interface ThermometerCell : NSButtonCell
{
    BOOL celsius;
    
    NSImage *cImage;
    NSImage *fImage;
    Thermometer *therm;
    BOOL _showTrend;
}
 
-(id)initWithUnits:(NSString *)u;
 
-(void)setCImage: (NSImage *)to;
-(void)setFImage: (NSImage *)to;
-(void)setTherm: (Thermometer *)t;
-(void)setUnits:(NSString *)to;
-(id)therm;
 
-(void)newReading:(float)r;
 
@end