repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / pulse / MiniPulseView.h
blobec7c1ae1d6dab8932c27d0fc0807aa4ce6ba2789
1 //****************************************************************************************
2 //
3 // File: MiniPulseView.h
4 //
5 // Written by: Arve Hjonnevag and Daniel Switkin
6 //
7 // Copyright 1999, Be Incorporated
8 //
9 //****************************************************************************************
11 #ifndef MINIPULSEVIEW_H
12 #define MINIPULSEVIEW_H
14 #include "PulseView.h"
15 #include "Prefs.h"
17 class MiniPulseView : public PulseView {
18 public:
19 MiniPulseView(BRect rect, const char *name, Prefs *prefs);
20 MiniPulseView(BRect rect, const char *name);
21 MiniPulseView(BMessage *message);
22 ~MiniPulseView();
23 void Draw(BRect rect);
24 void AttachedToWindow();
25 void Pulse();
26 void FrameResized(float width, float height);
27 void UpdateColors(BMessage *message);
29 protected:
30 BMenuItem *quit;
31 rgb_color frame_color, active_color, idle_color;
34 #endif