public
Description: My OS X Thermometer client.
Clone URL: git://github.com/dustin/osx-thermometer.git
osx-thermometer / SparklineCell.h
100644 35 lines (25 sloc) 0.581 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
//
// SparklineCell.h
// VisualStatWatch
//
// Created by Dustin Sallings on 2005/5/5.
// Copyright 2005 Dustin Sallings <dustin@spy.net>. All rights reserved.
//
 
#import <Cocoa/Cocoa.h>
 
@interface SparklineDatum : NSObject {
  long timestamp;
  NSNumber *value;
}
 
-(id)initWithTimestamp:(long)ts value:(NSNumber *)v;
-(long)timestamp;
-(NSNumber *)value;
 
@end
 
@interface SparklineCell : NSCell {
 
  // This will remember the frame of the cell that is being tracked
  NSRect trackingCell;
  NSView *trackingView;
  BOOL displaying;
 
  double minValue;
  double maxValue;
 
}
 
@end