1 //****************************************************************************************
3 // File: DeskbarPulseView.h
5 // Written by: Daniel Switkin
7 // Copyright 1999, Be Incorporated
9 //****************************************************************************************
11 #ifndef DESKBARPULSEVIEW_H
12 #define DESKBARPULSEVIEW_H
14 #include "MiniPulseView.h"
15 #include "PrefsWindow.h"
16 #include <app/MessageRunner.h>
18 class DeskbarPulseView
: public MiniPulseView
{
20 DeskbarPulseView(BRect rect
);
21 DeskbarPulseView(BMessage
*message
);
23 void MouseDown(BPoint point
);
24 void AttachedToWindow();
27 void MessageReceived(BMessage
*message
);
28 static DeskbarPulseView
*Instantiate(BMessage
*data
);
29 virtual status_t
Archive(BMessage
*data
, bool deep
= true) const;
33 void SetMode(bool normal
);
35 PrefsWindow
*prefswindow
;
37 BMessageRunner
*messagerunner
;