35 lines
861 B
C++
35 lines
861 B
C++
//****************************************************************************************
|
|
//
|
|
// File: MiniPulseView.h
|
|
//
|
|
// Written by: Arve Hjonnevag and Daniel Switkin
|
|
//
|
|
// Copyright 1999, Be Incorporated
|
|
//
|
|
//****************************************************************************************
|
|
|
|
#ifndef MINIPULSEVIEW_H
|
|
#define MINIPULSEVIEW_H
|
|
|
|
#include "PulseView.h"
|
|
#include "Prefs.h"
|
|
|
|
class MiniPulseView : public PulseView {
|
|
public:
|
|
MiniPulseView(BRect rect, const char *name, Prefs *prefs);
|
|
MiniPulseView(BRect rect, const char *name);
|
|
MiniPulseView(BMessage *message);
|
|
~MiniPulseView();
|
|
void Draw(BRect rect);
|
|
void AttachedToWindow();
|
|
void Pulse();
|
|
void FrameResized(float width, float height);
|
|
void UpdateColors(BMessage *message);
|
|
|
|
protected:
|
|
BMenuItem *quit;
|
|
rgb_color frame_color, active_color, idle_color;
|
|
};
|
|
|
|
#endif
|