28 explicit PGWaitBar(
const std::string &name =
"");
39 void setup(PN_stdfloat width, PN_stdfloat height, PN_stdfloat range);
41 INLINE
void set_range(PN_stdfloat range);
42 INLINE PN_stdfloat get_range()
const;
44 INLINE
void set_value(PN_stdfloat value);
45 INLINE PN_stdfloat get_value()
const;
47 INLINE PN_stdfloat get_percent()
const;
55 PN_stdfloat _range, _value;
64 static void init_type() {
67 PGItem::get_class_type());
70 return get_class_type();
72 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
A basic node of the scene graph or data graph.
This is the base class for all the various kinds of gui widget objects.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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,...