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

PGFrameStyle Class Reference

#include <pgFrameStyle.h>

List of all members.

Public Member Functions

bool xform (const LMatrix4f &mat)
NodePath generate_into (const NodePath &parent, const LVecBase4f &frame)

Private Types

enum  Type {
  T_none, T_flat, T_bevel_out, T_bevel_in,
  T_groove, T_ridge
}

Private Member Functions

INLINE PGFrameStyle (const PGFrameStyle &copy)
INLINE void operator= (const PGFrameStyle &copy)
INLINE ~PGFrameStyle ()
INLINE void set_type (Type type)
INLINE Type get_type () const
INLINE void set_color (float r, float g, float b, float a)
INLINE void set_color (const Colorf &color)
INLINE const Colorfget_color () const
INLINE void set_width (float x, float y)
INLINE void set_width (const LVecBase2f &width)
INLINE const LVecBase2f & get_width () const
void output (ostream &out) const
 PT (PandaNode) generate_flat_geom(const LVecBase4f &frame)
 PT (PandaNode) generate_bevel_geom(const LVecBase4f &frame
 PT (PandaNode) generate_groove_geom(const LVecBase4f &frame

Private Attributes

PUBLISHED __pad0__: INLINE PGFrameStyle()
bool in
Type _type
Colorf _color
LVecBase2f _width


Member Enumeration Documentation

enum PGFrameStyle::Type [private]
 

Enumeration values:
T_none 
T_flat 
T_bevel_out 
T_bevel_in 
T_groove 
T_ridge 

Definition at line 41 of file pgFrameStyle.h.


Constructor & Destructor Documentation

INLINE PGFrameStyle::PGFrameStyle const PGFrameStyle &  copy  )  [private]
 

INLINE PGFrameStyle::~PGFrameStyle  )  [private]
 


Member Function Documentation

NodePath PGFrameStyle::generate_into const NodePath parent,
const LVecBase4f &  frame
 

Definition at line 113 of file pgFrameStyle.cxx.

References _color, NodePath::attach_new_node(), TransparencyAttrib::M_alpha, NULL, PT(), T_bevel_in, T_bevel_out, T_flat, T_groove, T_none, and T_ridge.

Referenced by PGWaitBar::update().

INLINE const Colorf& PGFrameStyle::get_color  )  const [private]
 

INLINE Type PGFrameStyle::get_type  )  const [private]
 

INLINE const LVecBase2f& PGFrameStyle::get_width  )  const [private]
 

Referenced by PGWaitBar::update().

INLINE void PGFrameStyle::operator= const PGFrameStyle &  copy  )  [private]
 

void PGFrameStyle::output ostream &  out  )  const [private]
 

Definition at line 59 of file pgFrameStyle.cxx.

References _color, _type, and _width.

PGFrameStyle::PT PandaNode   )  const [private]
 

PGFrameStyle::PT PandaNode   )  const [private]
 

PGFrameStyle::PT PandaNode   )  const [private]
 

Referenced by generate_into().

INLINE void PGFrameStyle::set_color const Colorf color  )  [private]
 

INLINE void PGFrameStyle::set_color float  r,
float  g,
float  b,
float  a
[private]
 

Referenced by PGEntry::setup(), and PGButton::setup().

INLINE void PGFrameStyle::set_type Type  type  )  [private]
 

Referenced by PGEntry::setup(), and PGButton::setup().

INLINE void PGFrameStyle::set_width const LVecBase2f &  width  )  [private]
 

INLINE void PGFrameStyle::set_width float  x,
float  y
[private]
 

Referenced by PGEntry::setup(), and PGButton::setup().

bool PGFrameStyle::xform const LMatrix4f &  mat  ) 
 

Definition at line 72 of file pgFrameStyle.cxx.

References _width, T_bevel_in, T_bevel_out, T_flat, T_groove, T_none, T_ridge, x, and z.


Member Data Documentation

PUBLISHED PGFrameStyle::__pad0__ [private]
 

Definition at line 35 of file pgFrameStyle.h.

Colorf PGFrameStyle::_color [private]
 

Definition at line 74 of file pgFrameStyle.h.

Referenced by generate_into(), and output().

Type PGFrameStyle::_type [private]
 

Definition at line 73 of file pgFrameStyle.h.

Referenced by output().

LVecBase2f PGFrameStyle::_width [private]
 

Definition at line 75 of file pgFrameStyle.h.

Referenced by output(), and xform().

bool PGFrameStyle::in [private]
 

Definition at line 70 of file pgFrameStyle.h.


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