Ignore:
Timestamp:
Dec 31, 2003, 2:16:47 AM (18 years ago)
Author:
Sam Hocevar
Message:
  • src/io.c: + Mouse support under X11. + Split the mouse motion and mouse click events.
  • examples/demo.c: + Mouse motion support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/caca.h

    r276 r287  
    176176enum caca_event
    177177{
    178     CACA_EVENT_NONE =        0x00000000, /**< No event. */
    179     CACA_EVENT_KEY_PRESS =   0x01000000, /**< A key was pressed. */
    180     CACA_EVENT_KEY_RELEASE = 0x02000000, /**< A key was released. */
    181     CACA_EVENT_MOUSE_CLICK = 0x04000000 /**< A mouse button was clicked. */
     178    CACA_EVENT_NONE =          0x00000000, /**< No event. */
     179    CACA_EVENT_KEY_PRESS =     0x01000000, /**< A key was pressed. */
     180    CACA_EVENT_KEY_RELEASE =   0x02000000, /**< A key was released. */
     181    CACA_EVENT_MOUSE_PRESS =   0x04000000, /**< A mouse button was pressed. */
     182    CACA_EVENT_MOUSE_RELEASE = 0x08000000, /**< A mouse button was released. */
     183    CACA_EVENT_MOUSE_MOTION =  0x10000000  /**< The mouse was moved. */
    182184};
    183185
Note: See TracChangeset for help on using the changeset viewer.