MiniPulseView.h revision 52a380120846174213ccce9c4aab0dda17c72083
1//****************************************************************************************
2//
3//	File:		MiniPulseView.h
4//
5//	Written by:	Arve Hjonnevag and Daniel Switkin
6//
7//	Copyright 1999, Be Incorporated
8//
9//****************************************************************************************
10
11#ifndef MINIPULSEVIEW_H
12#define MINIPULSEVIEW_H
13
14#include "PulseView.h"
15#include "Prefs.h"
16
17class 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);
28
29	protected:
30		BMenuItem *quit;
31		rgb_color frame_color, active_color, idle_color;
32};
33
34#endif
35