Evas.h | Evas.h | |||
---|---|---|---|---|
skipping to change at line 2087 | skipping to change at line 2087 | |||
* the mouse pointer and sets the contents of the Evas_Coords pointed | * the mouse pointer and sets the contents of the Evas_Coords pointed | |||
* to by @p x and @p y to contain these co-ordinates. If @p e is not a | * to by @p x and @p y to contain these co-ordinates. If @p e is not a | |||
* valid canvas the results of this function are undefined. | * valid canvas the results of this function are undefined. | |||
* | * | |||
* Example: | * Example: | |||
* @code | * @code | |||
* extern Evas *evas; | * extern Evas *evas; | |||
* Evas_Coord mouse_x, mouse_y; | * Evas_Coord mouse_x, mouse_y; | |||
* | * | |||
* evas_pointer_output_xy_get(evas, &mouse_x, &mouse_y); | * evas_pointer_output_xy_get(evas, &mouse_x, &mouse_y); | |||
* printf("Mouse is at canvas position %f, %f\n", mouse_x, mouse_y); | * printf("Mouse is at canvas position %d, %d\n", mouse_x, mouse_y); | |||
* @endcode | * @endcode | |||
*/ | */ | |||
EAPI void evas_pointer_canvas_xy_get(const Evas *e, Evas_Coord *x, Evas_Coord *y) EINA_ARG_NONNULL(1); | EAPI void evas_pointer_canvas_xy_get(const Evas *e, Evas_Coord *x, Evas_Coord *y) EINA_ARG_NONNULL(1); | |||
/** | /** | |||
* Returns a bitmask with the mouse buttons currently pressed, set to 1 | * Returns a bitmask with the mouse buttons currently pressed, set to 1 | |||
* | * | |||
* @param e The pointer to the Evas Canvas | * @param e The pointer to the Evas Canvas | |||
* @return A bitmask of the currently depressed buttons on the canvas | * @return A bitmask of the currently depressed buttons on the canvas | |||
* @ingroup Evas_Pointer_Group | * @ingroup Evas_Pointer_Group | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||