Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PGWaitBar Class Reference

#include <pgWaitBar.h>

Inheritance diagram for PGWaitBar:

PGItem PandaNode TypedWritable Namable BoundedObject ReferenceCount TypedObject List of all members.

Public Member Functions

virtual PandaNodemake_copy () const
virtual bool has_cull_callback () const
virtual bool cull_callback (CullTraverser *trav, CullTraverserData &data)
INLINE void set_range (float range)
INLINE float get_range () const
INLINE void set_value (float value)
INLINE float get_value () const
INLINE float get_percent () const
INLINE void set_bar_style (const PGFrameStyle &style)
INLINE PGFrameStyle get_bar_style () const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Public Attributes

PUBLISHED __pad1__: void setup(float width
PUBLISHED float height
PUBLISHED float float range

Protected Member Functions

 PGWaitBar (const PGWaitBar &copy)

Private Member Functions

virtual ~PGWaitBar ()
void update ()

Private Attributes

PUBLISHED __pad0__: PGWaitBar(const string &name = "")
float _range
float _value
int _bar_state
PGFrameStyle _bar_style
NodePath _bar

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

PGWaitBar::~PGWaitBar  )  [private, virtual]
 

Definition at line 45 of file pgWaitBar.cxx.

PGWaitBar::PGWaitBar const PGWaitBar &  copy  )  [protected]
 

Definition at line 54 of file pgWaitBar.cxx.

References _bar_state.

Referenced by make_copy().


Member Function Documentation

bool PGWaitBar::cull_callback CullTraverser trav,
CullTraverserData data
[virtual]
 

Reimplemented from PGItem.

Definition at line 109 of file pgWaitBar.cxx.

References PGItem::cull_callback(), data, and update().

virtual TypeHandle PGWaitBar::force_init_type void   )  [inline, virtual]
 

Reimplemented from PGItem.

Definition at line 80 of file pgWaitBar.h.

References PGItem::get_class_type(), and PGItem::init_type().

INLINE PGFrameStyle PGWaitBar::get_bar_style  )  const
 

TypeHandle PGWaitBar::get_class_type void   )  [inline, static]
 

Reimplemented from PGItem.

Definition at line 69 of file pgWaitBar.h.

INLINE float PGWaitBar::get_percent  )  const
 

INLINE float PGWaitBar::get_range  )  const
 

virtual TypeHandle PGWaitBar::get_type void   )  const [inline, virtual]
 

Reimplemented from PGItem.

Definition at line 77 of file pgWaitBar.h.

References PGItem::get_class_type().

INLINE float PGWaitBar::get_value  )  const
 

bool PGWaitBar::has_cull_callback  )  const [virtual]
 

Reimplemented from PGItem.

Definition at line 85 of file pgWaitBar.cxx.

void PGWaitBar::init_type void   )  [inline, static]
 

Reimplemented from PGItem.

Definition at line 72 of file pgWaitBar.h.

References PGItem::get_class_type(), PGItem::init_type(), and register_type().

Referenced by init_libpgui().

PandaNode * PGWaitBar::make_copy  )  const [virtual]
 

Reimplemented from PGItem.

Definition at line 71 of file pgWaitBar.cxx.

References PGWaitBar().

INLINE void PGWaitBar::set_bar_style const PGFrameStyle style  ) 
 

INLINE void PGWaitBar::set_range float  range  ) 
 

INLINE void PGWaitBar::set_value float  value  ) 
 

void PGWaitBar::update  )  [private]
 

Definition at line 146 of file pgWaitBar.cxx.

References _bar, _bar_state, _bar_style, _range, _value, PGFrameStyle::generate_into(), PGItem::get_frame(), PGItem::get_frame_style(), PGItem::get_state(), PGItem::get_state_def(), PGFrameStyle::get_width(), NodePath::remove_node(), root, and width.

Referenced by cull_callback().


Member Data Documentation

PUBLISHED PGWaitBar::__pad0__ [private]
 

Reimplemented from PGItem.

Definition at line 35 of file pgWaitBar.h.

PUBLISHED PGWaitBar::__pad1__
 

Reimplemented from PGItem.

Definition at line 47 of file pgWaitBar.h.

NodePath PGWaitBar::_bar [private]
 

Definition at line 66 of file pgWaitBar.h.

Referenced by update().

int PGWaitBar::_bar_state [private]
 

Definition at line 64 of file pgWaitBar.h.

Referenced by PGWaitBar(), and update().

PGFrameStyle PGWaitBar::_bar_style [private]
 

Definition at line 65 of file pgWaitBar.h.

Referenced by update().

float PGWaitBar::_range [private]
 

Definition at line 63 of file pgWaitBar.h.

Referenced by update().

TypeHandle PGWaitBar::_type_handle [static, private]
 

Reimplemented from PGItem.

Definition at line 24 of file pgWaitBar.cxx.

float PGWaitBar::_value [private]
 

Definition at line 63 of file pgWaitBar.h.

Referenced by update().

PUBLISHED float PGWaitBar::height
 

Definition at line 47 of file pgWaitBar.h.

PUBLISHED float float PGWaitBar::range
 

Definition at line 47 of file pgWaitBar.h.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:13:07 2003 for Panda by doxygen1.3