37 virtual void draw (LWCustomObjAccess *co_access)
45 virtual const char *
help (LWToolEvent *lwtool_event)
58 virtual int count (LWToolEvent *lwtool_event)
68 int handle (LWToolEvent *lwtool_event,
int i, LWDVector handle_pos)
76 int start (LWToolEvent *lwtool_event)
87 virtual int adjust (LWToolEvent *lwtool_event,
int i)
97 int down (LWToolEvent *lwtool_event)
105 virtual void move (LWToolEvent *lwtool_event)
114 void up (LWToolEvent *lwtool_event)
153 static int Activate (
int version, GlobalFunc *global, LWInstance inst,
void *serverData)
158 if ( version != LWLAYOUTTOOL_VERSION )
return AFUNC_BADVERSION;
160 LWLayoutTool *plugin =
static_cast<LWLayoutTool *
>(inst);
166 plugin->tool->done = Done;
171 catch (std::exception &e)
180 static void Done (LWInstance instance)
184 T *plugin = (T *) instance;
187 catch (std::exception &e)