LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::XPDrawArea Class Reference

#include <xpanel.h>

List of all members.

Public Member Functions

 XPDrawArea (LWXPDrAreaID _id, int w, int h)
 XPDrawArea (LWXPDrAreaID _id, LWXPDrawFuncs *_df, int w, int h)
void clear (int r, int g, int b) const
void clear (int c) const
void drawBorder (int indent, int x, int y, int w, int h) const
void drawBox (int c, int x, int y, int w, int h) const
void drawBox (int r, int g, int b, int x, int y, int w, int h) const
void drawLine (int c, int x, int y, int x2, int y2) const
void drawPixel (int c, int x, int y) const
void drawPixel (int r, int g, int b, int x, int y) const
void drawPixel (float r, float g, float b, int x, int y) const
void drawText (const char *s, int c, int x, int y) const
int getHeight () const
LWXPDrAreaID getID ()
int getWidth () const
int textHeight (const char *s) const
int textWidth (const char *s) const

Protected Attributes

LWXPDrAreaID mAreaId
LWXPDrawFuncs * mDrawFuncs
int mHeight
int mWidth

Constructor & Destructor Documentation

lwpp::XPDrawArea::XPDrawArea ( LWXPDrAreaID  _id,
int  w,
int  h 
)
inline
lwpp::XPDrawArea::XPDrawArea ( LWXPDrAreaID  _id,
LWXPDrawFuncs *  _df,
int  w,
int  h 
)
inline

Member Function Documentation

void lwpp::XPDrawArea::clear ( int  r,
int  g,
int  b 
) const
inline
void lwpp::XPDrawArea::clear ( int  c) const
inline
void lwpp::XPDrawArea::drawBorder ( int  indent,
int  x,
int  y,
int  w,
int  h 
) const
inline
void lwpp::XPDrawArea::drawBox ( int  c,
int  x,
int  y,
int  w,
int  h 
) const
inline
void lwpp::XPDrawArea::drawBox ( int  r,
int  g,
int  b,
int  x,
int  y,
int  w,
int  h 
) const
inline
void lwpp::XPDrawArea::drawLine ( int  c,
int  x,
int  y,
int  x2,
int  y2 
) const
inline
void lwpp::XPDrawArea::drawPixel ( int  c,
int  x,
int  y 
) const
inline
void lwpp::XPDrawArea::drawPixel ( int  r,
int  g,
int  b,
int  x,
int  y 
) const
inline
void lwpp::XPDrawArea::drawPixel ( float  r,
float  g,
float  b,
int  x,
int  y 
) const
inline
void lwpp::XPDrawArea::drawText ( const char *  s,
int  c,
int  x,
int  y 
) const
inline
int lwpp::XPDrawArea::getHeight ( void  ) const
inline
LWXPDrAreaID lwpp::XPDrawArea::getID ( void  )
inline
int lwpp::XPDrawArea::getWidth ( void  ) const
inline
int lwpp::XPDrawArea::textHeight ( const char *  s) const
inline
int lwpp::XPDrawArea::textWidth ( const char *  s) const
inline

Member Data Documentation

LWXPDrAreaID lwpp::XPDrawArea::mAreaId
protected
LWXPDrawFuncs* lwpp::XPDrawArea::mDrawFuncs
protected
int lwpp::XPDrawArea::mHeight
protected
int lwpp::XPDrawArea::mWidth
protected

The documentation for this class was generated from the following file: