ChartView.h
by Pierre Raynaud-Richard.
*/
Copyright 1999, Be Incorporated. All Rights Reserved.
This file may be used under the terms of the Be Sample Code License.
*/
#ifndef CHART_VIEW_H
#define CHART_VIEW_H
#include <View.h>
#include <ColorControl.h>
to draw and handle mouse down event. */
class ChartView : public BView {
public:
ChartView(BRect frame);
virtual void Draw(BRect updateRect);
virtual void MouseDown(BPoint where);
};
class InstantView : public BView {
public:
int32 step;
InstantView(BRect frame);
virtual void Draw(BRect updateRect);
};
that doesn't allow live feedback when changing the color. */
class ChartColorControl : public BColorControl {
public:
ChartColorControl(BPoint start, BMessage *message);
virtual void SetValue(int32 color_value);
};
#endif