public
Description: OS X: displays recent CPU usage in the Dock or a floating window
Homepage: http://cbowns.com/cpuhistory/
Clone URL: git://github.com/cbowns/cpu-history.git
cpu-history / TranslucentView.h
100644 24 lines (17 sloc) 0.452 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
//
// TranslucentView.h
//
// Created by Takashi T. Hamada on Thu Nov 01 2000.
// Copyright (c) 2000,2001 Takashi T. Hamada. All rights reserved.
//
 
#import <Cocoa/Cocoa.h>
 
 
@interface TranslucentView : NSView
{
    id theContentDrawer;
    SEL theDrawingMethod;
 
    NSTrackingRectTag calBGViewRectTag;
    float ImageOpacity;
}
 
- (void)mouseDown:(NSEvent *)theEvent;
- (void)setContentDrawer:(id)theDrawer method:(SEL)theMethod;
 
@end