|
CommonC++Lib RiscOSC++Lib ToolboxC++Lib
Toolbox Library for use with the RiscOS DDE C++/CFront compiler
|
#include <WimpObj.h>
Classes | |
| struct | WindDefStr |
Public Types | |
| typedef struct WimpObj::WindDefStr | WindDefStr |
| Public Types inherited from ErrorReport | |
| enum | errorEnv { CONSOLE , WIMP } |
Public Member Functions | |
| WimpObj () | |
| ~WimpObj () | |
| unsigned int | init () |
| void | closeDown () |
| unsigned int | pollIdle () |
| unsigned int | poll () |
| int | runIdle () |
| int | run () |
| void | setTaskname (char *taskname) |
| void | setMask (unsigned int mask) |
| void | addMessages (int *) |
| void | removeMessages (int *) |
| virtual void | nullReason () |
| virtual void | redrawWindowRequest () |
| virtual void | openWindowRequest () |
| virtual void | closeWindowRequest () |
| virtual void | pointerLeavingWindow () |
| virtual void | pointerEnteringWindow () |
| virtual void | mouseClick () |
| virtual void | userDragBox () |
| virtual void | keyPressed () |
| virtual void | menuSelection () |
| virtual void | scrollRequest () |
| virtual void | loseCaret () |
| virtual void | gainCaret () |
| virtual void | pollWordNonZero () |
| virtual void | userMessage () |
| virtual void | userMessageRecorded () |
| virtual void | userMessageAcknowledge () |
| virtual void | eToolboxEvent () |
| virtual void | preCloseDown () |
| virtual void | unknownWimpEvent () |
| virtual int | errorHandler () |
| void | showProperties () |
| char * | getClassName () |
| int | getClassType () |
| Public Member Functions inherited from Object | |
| Object () | |
| Public Member Functions inherited from ErrorReport | |
| ErrorReport () | |
| ~ErrorReport () | |
Static Public Member Functions | |
| static unsigned int * | getPollBlock () |
| static void | setHandle (unsigned int) |
| static unsigned int | getHandle () |
| static unsigned int | getEvent () |
| static void | setPollIdleInterval (unsigned int) |
| static unsigned int | getPollIdleInterval () |
| static void | setPollWord (int *) |
| static int * | getPollWord () |
| static unsigned int * | getWorkspace () |
| static void | redrawIconBar () |
| static void | redrawScreen () |
| static void | openWindow () |
| static void | closeWindow () |
| static WimpRedrawWindowBlock * | updateWindow (WimpRedrawWindowBlock *) |
| static void | closeWindow (int) |
| static void | openTemplate (char *) |
| static void | closeTemplate () |
| 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 () |
Static Public Attributes | |
| static int | quit = 0 |
Additional Inherited Members | |
| Protected Member Functions inherited from Object | |
| ~Object () | |
RiscOSC++Lib
Class which underlays all Wimp applications which uses this library. Has all the member functions which can be overloaded to handle Wimp events. The class also has within it member functions which call WimpPoll from which events are dispatched to the overloaded event member functions.
| typedef struct WimpObj::WindDefStr WimpObj::WindDefStr |
| WimpObj::WimpObj | ( | ) |
| WimpObj::~WimpObj | ( | ) |
| void WimpObj::addMessages | ( | int * | messages | ) |
| void WimpObj::closeDown | ( | ) |
Call to remove the Wimp task, the handle to use is taken from the private member variable.
|
static |
|
static |
|
static |
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
Reimplemented in ToolboxTask.
|
inlinevirtual |
|
inlinevirtual |
Implements Object.
|
inlinevirtual |
Implements Object.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| unsigned int WimpObj::init | ( | ) |
Used to initialise the Wimp, returns the task handle. The returned task handle is also stored in a private member variable of an object of WimpObj. Not needed to be called if the application uses the Toolbox.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
static |
|
static |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
| unsigned int WimpObj::poll | ( | ) |
Enters a Wimp Poll routine, returning an event number, no dispatch to any overloaded event handlers being made.
| unsigned int WimpObj::pollIdle | ( | ) |
Enters a Wimp Poll routine, returning an event number on an idle poll, no dispatch to any overloaded event handlers being made.
|
inlinevirtual |
|
inlinevirtual |
|
static |
|
static |
|
inlinevirtual |
| void WimpObj::removeMessages | ( | int * | messages | ) |
| int WimpObj::run | ( | ) |
Enters a Wimp Poll routine, returning an event number on an poll, dispatches to overloaded event handlers are made.
| int WimpObj::runIdle | ( | ) |
Enters a Wimp Poll routine, returning an event number on an idle poll, dispatches to overloaded event handlers are made.
|
inlinevirtual |
|
static |
| void WimpObj::setMask | ( | unsigned int | mask | ) |
Sets the tasks poll mask.
| [in] | mask | Used. |
|
static |
|
static |
| void WimpObj::setTaskname | ( | char * | taskname | ) |
Sets the tasks name.
| [in] | *taskname | pointer to a zero terminated array of characters holding the name of the task. |
|
inlinevirtual |
Implements Object.
|
inlinevirtual |
|
static |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
static |