1 //****************************************************************************************
5 // Written by: David Ramsey and Daniel Switkin
7 // Copyright 1999, Be Incorporated
9 //****************************************************************************************
14 #include <interface/View.h>
15 #include <interface/PopUpMenu.h>
16 #include <interface/MenuItem.h>
19 class PulseView
: public BView
{
21 PulseView(BRect rect
, const char *name
);
22 PulseView(BMessage
*message
);
24 virtual void MouseDown(BPoint point
);
25 void ChangeCPUState(BMessage
*message
);
31 BPopUpMenu
*popupmenu
;
32 BMenuItem
*mode1
, *mode2
, *preferences
, *about
;
33 BMenuItem
**cpu_menu_items
;
35 const int32 kCPUCount
;
38 bigtime_t
* prev_active
;