|
static void | getSysInfo (unsigned int reason_code, _kernel_swi_regs *regs) |
static ObjectId | createObject (unsigned int flags, void *name_or_template) |
static void | deleteObject (unsigned int flags, ObjectId id) |
static void | showObject (unsigned int flags, ObjectId id, int show_type, void *type, ObjectId parent, ComponentId parent_component) |
static void | hideObject (unsigned int flags, ObjectId id) |
static unsigned int | getObjectState (unsigned int flags, ObjectId id, unsigned int *state) |
static void | setClientHandle (unsigned int flags, ObjectId id, void *client_handle) |
static unsigned int | getClientHandle (unsigned int flags, ObjectId id, void *client_handle) |
static ObjectClass | getObjectClass (unsigned int flags, ObjectId id) |
static ObjectClass | getObjectClass (unsigned int flags, ObjectId id, ObjectClass *object_class) |
static void | getParent (unsigned int flags, ObjectId id, ObjectId *parent, ComponentId *parent_component) |
static void | getAncestor (unsigned int flags, ObjectId id, ObjectId *parent, ComponentId *ancestor_component) |
static void | raiseToolboxEvent (unsigned int flags, ObjectId id, ComponentId component, ToolboxEvent *event) |
static void | toolboxLoadResources (unsigned int flags, char *resources) |
static void * | templateLookup (unsigned int flags, char *name) |
static int | init (unsigned int flags, int *wimpMessages, int *toolboxEvents, char *directory, MessagesFD *mfd, IdBlock *idb) |
static int | getWimpVersion () |
static void | setWimpVersion (int version) |
static int | getTaskHandle () |
static void * | getSpriteAreaPtr () |
static void | getPointerInfo (unsigned int flags, int &x_pos, int &y_pos, int &buttons, ObjectId &window, ComponentId &component) |
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 () |
|
enum | Toolbox_Event {
Error = 0x44ec0
, ObjectAutoCreated
, ObjectDeleted
, WindowAboutToBeShown = 0x82880
,
ActionButtonSelected
, OptionButtonStateChanged
, RadioButtonStateChanged
, WritableFieldValueChanged = 0x82885
,
SliderValueChanged
, DraggableDragStarted
, DraggableDragEnded
, PopUpAboutToBeShown = 0x8288b
,
AdjusterClicked
, NumberRangeValueChanged
, StringSetValueChanged
, StringSetAboutToBeShown
,
WindowHasBeenHidden
, MenuAboutToBeShown = 0x828c0
, MenuHasBeenHidden
, MenuSubMenu
,
MenuSelection
, IconbarClicked = 0x82900
, IconbarSelectAboutToBeShown
, IconbarAdjustAboutToBeShown
,
ColourMenuAboutToBeShown = 0x82980
, ColourMenuHasBeenHidden
, ColourMenuSelection
, ColourDboxAboutToBeShown = 0x829c0
,
ColourDboxDialogueCompleted
, ColourDboxColourSelected
, FontDboxAboutToBeShown = 0x82a00
, FontDboxDialogueCompleted
,
FontDboxApplyFont
, FontMenuAboutToBeShown = 0x82a40
, FontMenuHasBeenHidden
, FontMenuFontSelection
,
DCSAboutToBeShown = 0x82a80
, DCSDiscard
, DCSSave
, DCSDialogueCompleted
,
DCSCancel
, QuitAboutToBeShown = 0x82a90
, QuitQuit
, QuitDialogueCompleted
,
QuitCancel
, FileInfoAboutToBeShown = 0x82ac0
, FileInfoDialogueCompleted
, PrintDboxAboutToBeShown = 0x82b00
,
PrintDboxDialogueCompleted
, PrintDboxSetUpAboutToBeShown
, PrintDboxSave
, PrintDboxSetUp
,
PrintDboxPrint
, ProgInfoAboutToBeShown = 0x82b40
, ProgInfoDialogueCompleted
, SaveAsAboutToBeShown = 0x82bc0
,
SaveAsDialogueCompleted
, SaveAsSaveToFile
, SaveAsFillBuffer
, SaveAsSaveCompleted
,
ScaleAboutToBeShown = 0x82c00
, ScaleDialogueCompleted
, ScaleApplyFactor
, ToolActionSelection = 0x140140
,
ScrollListSelection = 0x140181
, TreeViewNodeSelected = 0x140280
, TreeViewNodeExpanded
, TreeViewNodeRenamed
,
TreeViewNodeClicked
, TreeViewNodeDragged
, TreeViewScroll
, TabsSelection = 0x1402c0
} |
enum | Toolbox_ObjectClass {
WindowObjectClass = 0x82880
, MenuObjectClass = 0x828c0
, IconbarObjectClass = 0x82900
, ColourMenuObjectClass = 0x82980
,
ColourDboxObjectClass = 0x829c0
, FontDboxObjectClass = 0x82a00
, FontMenuObjectClass = 0x82a40
, DCSObjectClass = 0x82a80
,
QuitObjectClass = 0x82a90
, FileInfoObjectClass = 0x82ac0
, PrintDboxObjectClass = 0x82b00
, ProgInfoObjectClass = 0x82b40
,
SaveAsObjectClass = 0x82bc0
, ScaleObjectClass = 0x82c00
} |
enum | errorEnv { CONSOLE
, WIMP
} |
ToolboxCoreObj
Library ToolboxC++Lib
Class which defines a number of static member variables holding important values for a Toolbox/Wimp task. It also defines a number of static methods not linked to any particular Toolbox window type or gadget. All the Toolbox event methods which can be overloaded by a users Toolbox application are defined in this class. This class is extended by ToolboxTask, it is ToolboxTask which needs to be exended by users application.