1 //****************************************************************************************
5 // Written by: David Ramsey and Daniel Switkin
7 // Copyright 1999, Be Incorporated
9 //****************************************************************************************
14 #include <interface/View.h>
24 class ProgressBar
: public BView
{
26 ProgressBar(BRect r
, char* name
);
27 virtual void Draw(BRect rect
);
28 void Set(int32 value
);
29 void UpdateColors(int32 color
, bool fade
);
30 virtual void AttachedToWindow();
31 virtual void MouseDown(BPoint point
);
39 void Render(bool all
= false);
42 int32 current_value
, previous_value
;