Procházet zdrojové kódy

Better caca_get_event_mouse_button() documentation.

tags/v0.99.beta17
Sam Hocevar sam před 16 roky
rodič
revize
516aa6b6ee
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. +3
    -0
      caca/event.c

+ 3
- 0
caca/event.c Zobrazit soubor

@@ -248,6 +248,9 @@ int caca_get_event_key_utf8(caca_event_t const *ev, char *utf8)
* type \c CACA_EVENT_MOUSE_PRESS or \c CACA_EVENT_MOUSE_RELEASE, or the * type \c CACA_EVENT_MOUSE_PRESS or \c CACA_EVENT_MOUSE_RELEASE, or the
* results will be undefined. See caca_get_event_type() for more information. * results will be undefined. See caca_get_event_type() for more information.
* *
* This function returns 1 for the left mouse button, 2 for the right mouse
* button, and 3 for the middle mouse button.
*
* \param ev The libcaca event. * \param ev The libcaca event.
* \return The event's mouse button. * \return The event's mouse button.
*/ */


Načítá se…
Zrušit
Uložit