Classes | Functions

Gamepad Dialog Elements
[Gamepad Library APIs]

Collaboration diagram for Gamepad Dialog Elements:

Classes

class  gamepad::TypeVgfxRenderer
 use this object to render a particular gamepad Type -- assuming it has a vgfx file. More...

Functions

virtual void gamepad::TypeVgfxRenderer::setIntensity (IN const char *logical_name, IN float intensity)=0
 set the intensity of the given control.
virtual void gamepad::TypeVgfxRenderer::setPosition (IN const char *logical_name, IN float x, IN float y)=0
 sets position of the given control.
virtual void gamepad::TypeVgfxRenderer::draw (IN int xOffset, IN int yOffset, IN int width, IN int height)=0
static smart_ptr
< TypeVgfxRenderer > 
gamepad::TypeVgfxRenderer::create (IN Type *type, IN smart_ptr< vgfx::Drawer > &drawer)

Function Documentation

virtual void gamepad::TypeVgfxRenderer::setIntensity ( IN const char *  logical_name,
IN float  intensity 
) [pure virtual, inherited]

set the intensity of the given control.

0 is completely faded out, 1 is full intensity. Only values from 0 to 1 are allowed.

virtual void gamepad::TypeVgfxRenderer::setPosition ( IN const char *  logical_name,
IN float  x,
IN float  y 
) [pure virtual, inherited]

sets position of the given control.

x and y vary from 0 to 1. single-dimension controls (pots, buttons) only use the x value.

virtual void gamepad::TypeVgfxRenderer::draw ( IN int  xOffset,
IN int  yOffset,
IN int  width,
IN int  height 
) [pure virtual, inherited]
smart_ptr< TypeVgfxRenderer > gamepad::TypeVgfxRenderer::create ( IN Type type,
IN smart_ptr< vgfx::Drawer > &  drawer 
) [static, inherited]

Definition at line 648 of file gamepad-vgfx.cpp.