Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::gui::laf::chameleon::CheckBoxDelegate Class Reference

Inheritance diagram for ONE::gui::laf::chameleon::CheckBoxDelegate:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CheckBoxDelegate (const std::string &, const UVRect &)
void draw (render::Renderer2D *, const Displayable *, const int &, const int &, const int &, const int &) const
 draws an object or portions of it
float getAlpha (const Point &txl) const
ONE::render::ImagegetImage () const
const ONE::render::TextureRef getTexture () const
bool isInside (const Point &, const Displayable *) const
 checks if pt is inside the clickable area of obj.
Point toTexel (const Point &pt, const Size &sz, const UVRect &uv) const

Static Public Attributes

static const float ALPHA_THRESH
static const Fringe FOCUS_FRINGE

Protected Member Functions

bool doIsInside (const Point &, const Bounds &) const

Protected Attributes

UVRect center

Constructor & Destructor Documentation

ONE::gui::laf::chameleon::CheckBoxDelegate::CheckBoxDelegate const std::string &  ,
const UVRect
 


Member Function Documentation

bool ONE::gui::laf::chameleon::PlainDelegate::doIsInside const Point ,
const Bounds
const [protected, inherited]
 

void ONE::gui::laf::chameleon::CheckBoxDelegate::draw render::Renderer2D ,
const Displayable ,
const int &  ,
const int &  ,
const int &  ,
const int & 
const [virtual]
 

draws an object or portions of it

This function draws the object within the given bounds. Implementations may assume that obj is visible and must only draw obj itself. Other tasks such as border and subcomponent drawing are performed by the component itself.

Parameters:
r the renderer used to draw obj
obj the object
x the horizontal position of the area
y the vertical position of the area
w the width of the area
h the height of the area

Reimplemented from ONE::gui::laf::chameleon::PlainDelegate.

float ONE::gui::laf::chameleon::DelegateBase::getAlpha const Point txl  )  const [inherited]
 

ONE::render::Image* ONE::gui::laf::chameleon::DelegateBase::getImage  )  const [inline, inherited]
 

const ONE::render::TextureRef ONE::gui::laf::chameleon::DelegateBase::getTexture  )  const [inline, inherited]
 

bool ONE::gui::laf::chameleon::PlainDelegate::isInside const Point ,
const Displayable
const [virtual, inherited]
 

checks if pt is inside the clickable area of obj.

Implementations of this function may assume that a prior bounding box check (obj->getBounds().isInside(pt) ) has been performed. If obj 's clickable area is identical to its bounds, this function need only return true.

Implements ONE::gui::UIDelegate.

Reimplemented in ONE::gui::laf::chameleon::FrameDelegate, ONE::gui::laf::chameleon::PanelDelegate, ONE::gui::laf::chameleon::TextFieldDelegate, ONE::gui::laf::chameleon::ViewportDelegate, and ONE::gui::laf::chameleon::WindowDelegate.

Point ONE::gui::laf::chameleon::DelegateBase::toTexel const Point pt,
const Size sz,
const UVRect uv
const [inherited]
 


Member Data Documentation

const float ONE::gui::laf::chameleon::DelegateBase::ALPHA_THRESH [static, inherited]
 

UVRect ONE::gui::laf::chameleon::PlainDelegate::center [protected, inherited]
 

const Fringe ONE::gui::laf::chameleon::DelegateBase::FOCUS_FRINGE [static, inherited]
 


Generated on Wed Sep 7 19:03:22 2005 for ONEngine by  doxygen 1.4.3