CommonC++Lib RiscOSC++Lib ToolboxC++Lib
Toolbox Library for use with the RiscOS DDE C++/CFront compiler
Loading...
Searching...
No Matches
ToolboxDraggable Class Reference

#include <ToolboxDraggable.h>

Inheritance diagram for ToolboxDraggable:
ToolboxGadget ErrorReport Object

Public Member Functions

 ToolboxDraggable ()
 ToolboxDraggable (ObjectId windowId, ComponentId gadgetId)
 ToolboxDraggable (ObjectId windowId, ComponentId gadgetId, unsigned int flags)
ToolboxDraggablesetSprite (char *spriteName)
int getSprite ()
int getSprite (char *buffer, int bufSize)
ToolboxDraggablesetText (char *text)
int getText ()
int getText (char *buffer, int bufSize)
ToolboxDraggablesetState (int state)
int getState ()
ToolboxDraggablegadgetMethod (int methodCode, _kernel_swi_regs *regs)
ToolboxDraggablesetFocus ()
ToolboxDraggablesetFlags (unsigned int flags)
ToolboxDraggablesetObjectId (ObjectId windowId)
ToolboxDraggablesetComponentId (ComponentId gadgetId)
ToolboxDraggablesetGadgetFlags (unsigned int flags)
ToolboxDraggablesetHelpMessage (char *message)
ToolboxDraggablemoveGadget (BBox *newBbox)
void showProperties ()
char * getClassName ()
int getClassType ()
Public Member Functions inherited from ToolboxGadget
 ToolboxGadget ()
 ToolboxGadget (ObjectId windowId, ComponentId gadgetId)
 ToolboxGadget (ObjectId windowId, ComponentId gadgetId, unsigned int flags)
 ~ToolboxGadget ()
int getGadgetFlags ()
int getHelpMessage ()
int getHelpMessage (char *buffer, int bufSize)
int getIconList ()
int getIconList (int *buffer, int bufSize)
int getType ()
void getBbox (BBox *box)
unsigned int getFlags ()
int getObjectId ()
int getComponentId ()
ToolboxGadgetgadgetMethod (int methodCode, _kernel_swi_regs *regs)
ToolboxGadgetsetFocus ()
ToolboxGadgetsetFlags (unsigned int flags)
ToolboxGadgetsetObjectId (ObjectId windowId)
ToolboxGadgetsetComponentId (ComponentId gadgetId)
ToolboxGadgetsetGadgetFlags (unsigned int flags)
ToolboxGadgetsetHelpMessage (char *message)
ToolboxGadgetmoveGadget (BBox *newBbox)
void showProperties ()
char * getClassName ()
int getClassType ()
Public Member Functions inherited from ErrorReport
 ErrorReport ()
 ~ErrorReport ()
Public Member Functions inherited from Object
 Object ()
 ~Object ()

Additional Inherited Members

Public Types inherited from ErrorReport
enum  errorEnv { CONSOLE , WIMP }
Static Public Member Functions inherited from ErrorReport
static void setLastError (_kernel_oserror *, unsigned int)
static void setLastError (_kernel_oserror *, unsigned int, char *location)
static _kernel_oserror * getLastError ()
static void setErrFlags (unsigned int)
static unsigned int getErrFlags ()
static void setAsWimpTask (char *)
static void setAsConsoleTask ()
static void setLocation (char *)
static char * getLocation ()
static char * getTaskName ()
static void clearError ()
static int getEnvironment ()
static void setTrap (int, int *)
static void clearTrap ()

Constructor & Destructor Documentation

◆ ToolboxDraggable() [1/3]

ToolboxDraggable::ToolboxDraggable ( )

◆ ToolboxDraggable() [2/3]

ToolboxDraggable::ToolboxDraggable ( ObjectId windowId,
ComponentId gadgetId )

◆ ToolboxDraggable() [3/3]

ToolboxDraggable::ToolboxDraggable ( ObjectId windowId,
ComponentId gadgetId,
unsigned int flags )

Member Function Documentation

◆ gadgetMethod()

ToolboxDraggable & ToolboxDraggable::gadgetMethod ( int methodCode,
_kernel_swi_regs * regs )

◆ getClassName()

char * ToolboxDraggable::getClassName ( )
inlinevirtual

Implements Object.

◆ getClassType()

int ToolboxDraggable::getClassType ( )
inlinevirtual

Implements Object.

◆ getSprite() [1/2]

int ToolboxDraggable::getSprite ( )

◆ getSprite() [2/2]

int ToolboxDraggable::getSprite ( char * buffer,
int bufSize )

◆ getState()

int ToolboxDraggable::getState ( )

◆ getText() [1/2]

int ToolboxDraggable::getText ( )

◆ getText() [2/2]

int ToolboxDraggable::getText ( char * buffer,
int bufSize )

◆ moveGadget()

ToolboxDraggable & ToolboxDraggable::moveGadget ( BBox * newBbox)

◆ setComponentId()

ToolboxDraggable & ToolboxDraggable::setComponentId ( ComponentId gadgetId)

◆ setFlags()

ToolboxDraggable & ToolboxDraggable::setFlags ( unsigned int flags)

◆ setFocus()

ToolboxDraggable & ToolboxDraggable::setFocus ( )

◆ setGadgetFlags()

ToolboxDraggable & ToolboxDraggable::setGadgetFlags ( unsigned int flags)

◆ setHelpMessage()

ToolboxDraggable & ToolboxDraggable::setHelpMessage ( char * message)

◆ setObjectId()

ToolboxDraggable & ToolboxDraggable::setObjectId ( ObjectId windowId)

◆ setSprite()

ToolboxDraggable & ToolboxDraggable::setSprite ( char * spriteName)

◆ setState()

ToolboxDraggable & ToolboxDraggable::setState ( int state)

◆ setText()

ToolboxDraggable & ToolboxDraggable::setText ( char * text)

◆ showProperties()

void ToolboxDraggable::showProperties ( )
inlinevirtual

Implements Object.


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