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

#include <generic_handler.h>

+ Inheritance diagram for lwpp::LayoutGenericLWPanelHandler:
+ Collaboration diagram for lwpp::LayoutGenericLWPanelHandler:

List of all members.

Public Member Functions

 LayoutGenericLWPanelHandler ()
virtual ~LayoutGenericLWPanelHandler ()
virtual int Activate ()=0
virtual LWError Options (void)
 Open LWPanel.
void setLG (LWLayoutGeneric *local)

Protected Member Functions

void addServer (const char *type, const char *name)
void addUniqueServer (const char *type, const char *name, LWItemID id=0)
void editServer (const char *type, const char *name, LWItemID id=0)
int evaluate (const char *command)
int evaluate (const std::string &command)
int execute (LWCommandCode cmd, int argc, const DynaValue *argv, DynaValue *result)
int loadScene (const char *file, const char *name)
LWCommandCode lookup (const char *cmdName)
virtual void panelActivate (const LWPanel &)
 Called when a panel is activated by the user.
virtual void panelClose (const LWPanel &)
 Called when a panel is closed.
virtual void panelDraw (const LWPanel &, DrMode)
 Handle Panel redraws.
virtual int panelKeyDown (const LWPanel &, LWDualKey)
 Called when a key has been pressed.
virtual int panelKeyUp (const LWPanel &, LWDualKey)
 Called when a key has been released.
virtual void panelMouseButton (const LWPanel &, int, int, int)
 Called when a mouse button has been pressed.
virtual void panelMouseMove (const LWPanel &, int, int, int)
 Called when the mouse has been moved.
virtual void panelOpen (const LWPanel &)
 Called when a panel is opened.
void removeServer (const char *type, const int index)
void removeServer (const char *type, const char *name, LWItemID id=0)
int saveScene (const char *file)

Static Protected Member Functions

static int findServer (const char *type, const char *name, LWItemID id=0)

Protected Attributes

LWLayoutGeneric * layoutGeneric
LWPanel Panel

Constructor & Destructor Documentation

lwpp::LayoutGenericLWPanelHandler::LayoutGenericLWPanelHandler ( )
inline
virtual lwpp::LayoutGenericLWPanelHandler::~LayoutGenericLWPanelHandler ( )
inlinevirtual

Member Function Documentation

virtual int lwpp::LayoutGenericHandler::Activate ( )
pure virtualinherited
void lwpp::LayoutGenericHandler::addServer ( const char *  type,
const char *  name 
)
inlineprotectedinherited
void lwpp::LayoutGenericHandler::addUniqueServer ( const char *  type,
const char *  name,
LWItemID  id = 0 
)
inlineprotectedinherited
void lwpp::LayoutGenericHandler::editServer ( const char *  type,
const char *  name,
LWItemID  id = 0 
)
inlineprotectedinherited
int lwpp::LayoutGenericHandler::evaluate ( const char *  command)
inlineprotectedinherited
int lwpp::LayoutGenericHandler::evaluate ( const std::string &  command)
inlineprotectedinherited
int lwpp::LayoutGenericHandler::execute ( LWCommandCode  cmd,
int  argc,
const DynaValue *  argv,
DynaValue *  result 
)
inlineprotectedinherited
static int lwpp::LayoutGenericHandler::findServer ( const char *  type,
const char *  name,
LWItemID  id = 0 
)
inlinestaticprotectedinherited
int lwpp::LayoutGenericHandler::loadScene ( const char *  file,
const char *  name 
)
inlineprotectedinherited
LWCommandCode lwpp::LayoutGenericHandler::lookup ( const char *  cmdName)
inlineprotectedinherited
virtual LWError lwpp::LWPanelInterface::Options ( void  )
inlinevirtualinherited

Open LWPanel.

virtual void lwpp::LWPanelCallbacks::panelActivate ( const LWPanel )
inlinevirtualinherited

Called when a panel is activated by the user.

virtual void lwpp::LWPanelCallbacks::panelClose ( const LWPanel )
inlinevirtualinherited

Called when a panel is closed.

virtual void lwpp::LWPanelCallbacks::panelDraw ( const LWPanel ,
DrMode   
)
inlinevirtualinherited

Handle Panel redraws.

virtual int lwpp::LWPanelCallbacks::panelKeyDown ( const LWPanel ,
LWDualKey   
)
inlinevirtualinherited

Called when a key has been pressed.

virtual int lwpp::LWPanelCallbacks::panelKeyUp ( const LWPanel ,
LWDualKey   
)
inlinevirtualinherited

Called when a key has been released.

virtual void lwpp::LWPanelCallbacks::panelMouseButton ( const LWPanel ,
int  ,
int  ,
int   
)
inlinevirtualinherited

Called when a mouse button has been pressed.

virtual void lwpp::LWPanelCallbacks::panelMouseMove ( const LWPanel ,
int  ,
int  ,
int   
)
inlinevirtualinherited

Called when the mouse has been moved.

virtual void lwpp::LWPanelCallbacks::panelOpen ( const LWPanel )
inlinevirtualinherited

Called when a panel is opened.

void lwpp::LayoutGenericHandler::removeServer ( const char *  type,
const int  index 
)
inlineprotectedinherited
void lwpp::LayoutGenericHandler::removeServer ( const char *  type,
const char *  name,
LWItemID  id = 0 
)
inlineprotectedinherited
int lwpp::LayoutGenericHandler::saveScene ( const char *  file)
inlineprotectedinherited
void lwpp::LayoutGenericHandler::setLG ( LWLayoutGeneric *  local)
inlineinherited

Member Data Documentation

LWLayoutGeneric* lwpp::LayoutGenericHandler::layoutGeneric
protectedinherited
LWPanel lwpp::LWPanelInterface::Panel
protectedinherited

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