1 //****************************************************************************************
3 // File: NormalPulseView.h
5 // Written by: Daniel Switkin
7 // Copyright 1999, Be Incorporated
9 //****************************************************************************************
10 #ifndef NORMALPULSEVIEW_H
11 #define NORMALPULSEVIEW_H
14 #include "PulseView.h"
15 #include "ProgressBar.h"
16 #include "CPUButton.h"
19 class NormalPulseView
: public PulseView
{
21 NormalPulseView(BRect rect
);
22 virtual ~NormalPulseView();
24 virtual void Draw(BRect rect
);
26 virtual void AttachedToWindow();
28 void UpdateColors(BMessage
*message
);
31 void DetermineVendorAndProcessor();
32 void CalculateFontSizes();
34 char fVendor
[32], fProcessor
[32];
35 bigtime_t fPreviousTime
;
36 ProgressBar
**fProgressBars
;
37 CPUButton
**fCpuButtons
;
42 float fVendorFontSize
, fProcessorFontSize
;