The following table summarizes all events supported by the graPHIGS APIscreen In this table, columns titled as "major" and "minor" show the contents of major and minor code parameters for various event related functions. When the column has "None", the corresponding parameter is not set by the graPHIGS APIscreen The last column shows a GET function to be used for retrieving the detail event data of each event. When it has "None", the event has no event data to be retrieved. In this case, a GET function will result in an error.
Class | Meaning | Major | Minor | Data |
---|---|---|---|---|
1 | Locator | Workstation ID | Device number | Locator |
2 | Stroke | Workstation ID | Device number | Stroke |
3 | Valuator | Workstation ID | Device number | Valuator |
4 | Choice | Workstation ID | Device number | Choice |
5 | Pick | Workstation ID | Device number | (Extended) Pick |
6 | String | Workstation ID | Device number | String |
11 | Locator_Break Event | Workstation ID | Device Number | None |
12 | Stroke_Break Event | Workstation ID | Device Number | None |
13 | Valuator_Break Event | Workstation ID | Device Number | None |
14 | Choice_Break Event | Workstation ID | Device Number | None |
15 | Pick_Break Event | Workstation ID | Device Number | None |
16 | String_Break Event | Workstation ID | Device Number | None |
101 | Link switch out | Workstation ID | 0 | None |
102 | Link switch in | Workstation ID | 0 | None |
103 | Update completion | Workstation ID | Display status | None |
104 | Input overflow events | Workstation ID | 0 | None |
105 | Window Resize Notification Event | Workstation ID | 0 | None |
106 | Window Exposure Notification Event | Workstation ID | 0 | Exposure data |
107 | Window Deletion Notification Event | Workstation ID | 0 | None |
201 | Broadcast message | Sender supplied | Sender supplied | Message |
202 | Private message | Sender supplied | Sender supplied | Message |
301 | Threshold Exceeded | Structure Store ID | Threshold value | None |
401 | Error Event | Error Number | 0 | None |
When the application specifies an event exit routine, the following event data and its length are also passed to the routine.
--------------------- WORD 1 | view | Fullword integer --------------------- 2-4 | position | 3 short floating-point numbers ---------------------
The length of this event data is always 16.
--------------------- WORD 1 | view | Fullword integer --------------------- 2 | number | Fullword integer --------------------- 3-n | plist | Array of 3 short / / floating-point numbers | | ---------------------
The length of this event data is n x 12 + 8.
--------------------- WORD 1 | value | Short floating-point number ---------------------
The length of this event data is always 4.
--------------------- WORD 1 | status | Fullword integer --------------------- 2 | choice | Fullword integer ---------------------
The length of this event data is always 8.
--------------------- WORD 1 | status | Fullword integer --------------------- --------------------- WORD 1 | status | Fullword integer --------------------- 2 | depth | Fullword integer --------------------- 3-n | n-path | Array of 3 fullword integers / / | | --------------------- --------------------- WORD 1 | status | Fullword integer --------------------- 2 | view | Fullword integer --------------------- 3-18 | modelx | 16 short floating-point numbers | | --------------------- 19-21 | pos | 3 short floating-point numbers | | --------------------- 22 | depth | Fullword integer --------------------- 23-n | x-path | Array of 4 fullword integers / / | | ---------------------
--------------------- WORD 1 | length | Fullword integer --------------------- 2-n | string | Character string / / | | ---------------------
--------------------- WORD 1 | Exposure data | 0-31 bits --------------------- WORD 2 | Exposure data | 32-63 bits ---------------------
--------------------- WORD 1 | length | Fullword integer --------------------- 2-n | message data | Byte string / / | | ---------------------