18 #include "pandabase.h"
42 void setup(PN_stdfloat width, PN_stdfloat height, PN_stdfloat range);
44 INLINE
void set_range(PN_stdfloat range);
45 INLINE PN_stdfloat get_range()
const;
47 INLINE
void set_value(PN_stdfloat value);
48 INLINE PN_stdfloat get_value()
const;
50 INLINE PN_stdfloat get_percent()
const;
58 PN_stdfloat _range, _value;
67 static void init_type() {
69 register_type(_type_handle,
"PGWaitBar",
70 PGItem::get_class_type());
73 return get_class_type();
75 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
81 #include "pgWaitBar.I"
A basic node of the scene graph or data graph.
This is the base class for all the various kinds of gui widget objects.
This collects together the pieces of data that are accumulated for each node while walking the scene ...
This is a particular kind of PGItem that draws a little bar that fills from left to right to indicate...
TypeHandle is the identifier used to differentiate C++ class types.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling...