summaryrefslogtreecommitdiff
path: root/sigalatvision/doc/html/structTEvent.html
diff options
context:
space:
mode:
Diffstat (limited to 'sigalatvision/doc/html/structTEvent.html')
-rw-r--r--sigalatvision/doc/html/structTEvent.html182
1 files changed, 182 insertions, 0 deletions
diff --git a/sigalatvision/doc/html/structTEvent.html b/sigalatvision/doc/html/structTEvent.html
new file mode 100644
index 0000000..490a4fb
--- /dev/null
+++ b/sigalatvision/doc/html/structTEvent.html
@@ -0,0 +1,182 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>TEvent struct Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body bgcolor="#ffffff">
+<!-- Generated by Doxygen 1.2.8.1 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
+<hr><h1>TEvent Struct Reference</h1>Information about events.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="system_8h-source.html">system.h</a>&gt;</code>
+<p>
+<a href="structTEvent-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td><td valign=bottom><a class="el" href="structTEvent.html#m0">what</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="structMouseEventType.html">MouseEventType</a>&nbsp;</td><td valign=bottom><a class="el" href="structTEvent.html#m1">mouse</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="structKeyDownEvent.html">KeyDownEvent</a>&nbsp;</td><td valign=bottom><a class="el" href="structTEvent.html#m2">keyDown</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="structMessageEvent.html">MessageEvent</a>&nbsp;</td><td valign=bottom><a class="el" href="structTEvent.html#m3">message</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+TEvent holds a union of objects of type:
+<p>
+<a class="el" href="structKeyDownEvent.html">KeyDownEvent</a> <a class="el" href="structMessageEvent.html">MessageEvent</a> <a class="el" href="structMouseEventType.html">MouseEventType</a>
+<p>
+keyed by the what field. The <a class="el" href="classTView.html#a41">TView::handleEvent</a>() member functions and its derived classes take a TEvent object as argument and respond with the appropriate action.
+<p>
+
+<p>
+Definition at line <a class="el" href="system_8h-source.html#l00349">349</a> of file <a class="el" href="system_8h-source.html">system.h</a>.<hr><h2>Member Data Documentation</h2>
+<a name="m2" doxytag="TEvent::keyDown"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="structKeyDownEvent.html">KeyDownEvent</a> TEvent::keyDown
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Undocumented.
+<p>
+Definition at line <a class="el" href="system_8h-source.html#l00401">401</a> of file <a class="el" href="system_8h-source.html">system.h</a>. </td>
+ </tr>
+</table>
+<a name="m3" doxytag="TEvent::message"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="structMessageEvent.html">MessageEvent</a> TEvent::message
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Undocumented.
+<p>
+Definition at line <a class="el" href="system_8h-source.html#l00405">405</a> of file <a class="el" href="system_8h-source.html">system.h</a>. </td>
+ </tr>
+</table>
+<a name="m1" doxytag="TEvent::mouse"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="structMouseEventType.html">MouseEventType</a> TEvent::mouse
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Undocumented.
+<p>
+Definition at line <a class="el" href="system_8h-source.html#l00397">397</a> of file <a class="el" href="system_8h-source.html">system.h</a>. </td>
+ </tr>
+</table>
+<a name="m0" doxytag="TEvent::what"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="ttypes_8h.html#a0">ushort</a> TEvent::what
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This field reports the event's type. Some mnemonics are defined to indicate types of events to TVision event handlers. The following evXXXX constants are used in several places: in the what data member of an TEvent structure, in the <a class="el" href="classTView.html#m3">TView::eventMask</a> data member of a view object, and in the <a class="el" href="views_8h.html#a107">positionalEvents</a> and <a class="el" href="views_8h.html#a108">focusedEvents</a> variables.
+<p>
+The following event values designate standard event types:
+<p>
+<pre>
+ Constant Value Meaning
+
+ <a class="el" href="system_8h.html#a0">evMouseDown</a> 0x0001 Mouse button pressed
+ <a class="el" href="system_8h.html#a1">evMouseUp</a> 0x0002 Mouse button released
+ <a class="el" href="system_8h.html#a2">evMouseMove</a> 0x0004 Mouse changed location
+ <a class="el" href="system_8h.html#a3">evMouseAuto</a> 0x0008 Periodic event while mouse button held down
+ <a class="el" href="system_8h.html#a4">evKeyDown</a> 0x0010 Key pressed
+ <a class="el" href="system_8h.html#a5">evCommand</a> 0x0100 Command event
+ <a class="el" href="system_8h.html#a6">evBroadcast</a> 0x0200 Broadcast event
+ </pre>
+<p>
+The following constants can be used to mask types of events:
+<p>
+<pre>
+ Constant Value Meaning
+
+ <a class="el" href="system_8h.html#a7">evNothing</a> 0x0000 Event already handled
+ <a class="el" href="system_8h.html#a8">evMouse</a> 0x000F Mouse event
+ <a class="el" href="system_8h.html#a9">evKeyboard</a> 0x0010 Keyboard event
+ <a class="el" href="system_8h.html#a10">evMessage</a> 0xFF00 Message (command, broadcast, or user-defined) event
+ </pre>
+<p>
+The above standard event masks can be used to determine whether an event belongs to a particular "family" of events. For example:
+<p>
+<pre>
+ if ((event.what &amp; <a class="el" href="system_8h.html#a8">evMouse</a>) != 0) doMouseEvent();
+ </pre>
+<p>
+Definition at line <a class="el" href="system_8h-source.html#l00391">391</a> of file <a class="el" href="system_8h-source.html">system.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="system_8h-source.html">system.h</a></ul>
+<hr><address><small>Generated at Sat Sep 22 20:19:24 2001 for TVision by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.gif" alt="doxygen" align="middle" border=0
+width=110 height=53></a>1.2.8.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
+ &copy;&nbsp;1997-2001</small></address>
+</body>
+</html>