Changeset 1104 for libcaca/trunk/caca
- Timestamp:
- Sep 25, 2006, 6:00:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/caca.h
r1006 r1104 44 44 * The \e type field is always valid. The validity of the \e data union 45 45 * depends on the value of the \e type field: 46 * 47 * \li \b CACA_EVENT_NONE: no other field is valid. 48 * 49 * \li \b CACA_EVENT_KEY_PRESS, \b CACA_EVENT_KEY_RELEASE: the \e data.key.ch 46 * - \b CACA_EVENT_NONE: no other field is valid. 47 * - \b CACA_EVENT_KEY_PRESS, \b CACA_EVENT_KEY_RELEASE: the \e data.key.ch 50 48 * field is valid and contains either the ASCII value for the key, or 51 49 * an \e enum \e caca_key value. If the value is a printable ASCII … … 54 52 * representations of the character. Otherwise, their content is 55 53 * undefined. 56 * 57 * \li \b CACA_EVENT_MOUSE_PRESS, \b CACA_EVENT_MOUSE_RELEASE: the 54 * - \b CACA_EVENT_MOUSE_PRESS, \b CACA_EVENT_MOUSE_RELEASE: the 58 55 * \e data.mouse.button field is valid and contains the index of the 59 56 * mouse button that was pressed. 60 * 61 * \li \b CACA_EVENT_MOUSE_MOTION: the \e data.mouse.x and \e data.mouse.y 57 * - \b CACA_EVENT_MOUSE_MOTION: the \e data.mouse.x and \e data.mouse.y 62 58 * fields are valid and contain the mouse coordinates in character 63 59 * cells. 64 * 65 * \li \b CACA_EVENT_RESIZE: the \e data.resize.w and \e data.resize.h 60 * - \b CACA_EVENT_RESIZE: the \e data.resize.w and \e data.resize.h 66 61 * fields are valid and contain the new width and height values of 67 62 * the \e libcucul canvas attached to \e libcaca. 68 * 69 * \li \b CACA_EVENT_QUIT: no other field is valid. 63 * - \b CACA_EVENT_QUIT: no other field is valid. 70 64 * 71 65 * The result of accessing data members outside the above conditions is
Note: See TracChangeset
for help on using the changeset viewer.