 |
events.h |
Header File |
Routines for event-driven programming and for mode settings
Functions
- ABT_dialog
- Starts "ABOUT" dialog "applet".
![]()
- CAT_dialog
- Starts "CATALOG" dialog "applet".
![]()
- EV_captureEvents
- Sets the event message handler (i.e. installs an event driven application).
![]()
- EV_centralDispatcher
- Enters the main controlling loop of the TIOS.
![]()
- EV_clearPasteString
- Clears the event paste buffer.
![]()
- EV_defaultHandler
- Processes an event message using the default handler.
![]()
- EV_eventLoop
- Enters the loop in which main event messages are collected and dispatched.
![]()
- EV_getAppID
- Finds a task ID number for an application.
![]()
- EV_getc
- Waits for the keypress, then fills an event structure with the keypress.
![]()
- EV_getSplitRect
- Gets the screen rectangle for a given side.
![]()
- EV_notifySwitchGraph
- Notify appropriate applications of graph switching.
![]()
- EV_paintOneWindow
- Repaints the topmost window.
![]()
- EV_paintWindows
- Repaints all windows.
![]()
- EV_registerMenu
- Attaches a menu to an application.
![]()
- EV_restorePainting
- Restores previous state of window painting.
![]()
- EV_sendEvent
- Sends an event message from the current side.
![]()
- EV_sendEventSide
- Sends an event message from the given side.
![]()
- EV_sendString
- Sends XR string to the running application.
![]()
- EV_setCmdCheck
- Checks/unchecks a menu item in the current application.
![]()
- EV_setCmdState
- Changes the status (active/inactive) of a menu command in the current application.
![]()
- EV_setFKeyState
- Changes the status (active/inactive) of a toolbox in the menu associated with current application.
![]()
- EV_startApp
- Starts an application from any state.
![]()
- EV_startSide
- Starts the given side.
![]()
- EV_startTask
- Starts a particular task in the running application.
![]()
- EV_suspendPainting
- Suspends window painting.
![]()
- EV_switch
- Performs switching of sides.
![]()
- handleRclKey
- Displays the standard "Recall Variable" dialog.
![]()
- handleVarLinkKey
- Displays the standard "Var-Link" dialog.
![]()
- MO_currentOptions
- Fills in options structure from current mode settings.
![]()
- MO_defaults
- Sets default mode settings.
![]()
- MO_digestOptions
- Updates system mode settings from options structure.
![]()
- MO_isMultigraphTask
- Checks whether a task is multigraph task.
![]()
- MO_modeDialog
- Executes "MODE" dialog.
![]()
- MO_notifyModeChange
- Sends mode change notify message to all applications.
![]()
- MO_sendQuit
- Quits an application on given side.
Global Variables
- EV_hook
- A global variable pointing to the "hook" event handler.
Constants
- MO_option
- Contains a pointer to the global mode settings array.
![]()
- ModeSettings
- Contains a pointer to the global MO_OPTIONS structure.
![]()
- NULL
- A null-pointer value.
Predefined Types
- Bool
- An enumeration to describe true or false values.
![]()
- EVENT_HANDLER
- A pointer to an event handler.
![]()
- EVENT
- A structure describing an event message.
![]()
- EventIDs
- An enumeration describing IDs of system messages.
![]()
- HANDLE
- Represents a handle associated with an allocated memory block.
![]()
- MO_OPTIONS
- A structure containing all system mode settings.
![]()
- MoNotifyFlags
- Enumerates notify messages for the MO_notifyModeChange function.
![]()
- PaintFlags
- An enumeration describing whether painting is suspended or enabled.
![]()
- SCR_RECT
- A scructure for defining a rectangular area.
![]()
- SCR_STATE
- A structure for saving the state of the graphics system.
![]()
- ST_ACTIVITIES
- Contains status bar activity flags.
![]()
- StandardTaskIDs
- An enumeration describing task ID constants.
![]()
- StartTypes
- A pseudo-enumeration describing start types for EV_startTask.
![]()
- SystemDataTypes
- Describes valid variable types in the "Var-Link" dialog, and for the GetDataType and SmapTypeStrings functions.
![]()
- WIN_RECT
- A structure for defining a rectangular area.
![]()
- WINDOW
- The main window-describing structure.
![]()
- WinFlags
- An enumeration for describing flags which control the window manager.
Note: Event-related functions are intended mainly for
flash applications, although some of them may be useful even in user programs.
Anyway, they are intended for serious programmers, not for beginners.
Don't try to make an event-driven application if you don't understand this file really well!
If your program uses functions from this header file, you may have to
define SET_FILE_IN_USE_BIT
.