Go to the source code of this file.
|
static void | vlc_mouse_Init (vlc_mouse_t *p_mouse) |
|
static void | vlc_mouse_SetPressed (vlc_mouse_t *p_mouse, int i_button) |
|
static void | vlc_mouse_SetReleased (vlc_mouse_t *p_mouse, int i_button) |
|
static void | vlc_mouse_SetPosition (vlc_mouse_t *p_mouse, int i_x, int i_y) |
|
static bool | vlc_mouse_IsPressed (const vlc_mouse_t *p_mouse, int i_button) |
|
static bool | vlc_mouse_IsLeftPressed (const vlc_mouse_t *p_mouse) |
|
static bool | vlc_mouse_IsCenterPressed (const vlc_mouse_t *p_mouse) |
|
static bool | vlc_mouse_IsRightPressed (const vlc_mouse_t *p_mouse) |
|
static bool | vlc_mouse_IsWheelUpPressed (const vlc_mouse_t *p_mouse) |
|
static bool | vlc_mouse_IsWheelDownPressed (const vlc_mouse_t *p_mouse) |
|
static void | vlc_mouse_GetMotion (int *pi_x, int *pi_y, const vlc_mouse_t *p_old, const vlc_mouse_t *p_new) |
|
static bool | vlc_mouse_HasChanged (const vlc_mouse_t *p_old, const vlc_mouse_t *p_new) |
|
static bool | vlc_mouse_HasMoved (const vlc_mouse_t *p_old, const vlc_mouse_t *p_new) |
|
static bool | vlc_mouse_HasButton (const vlc_mouse_t *p_old, const vlc_mouse_t *p_new) |
|
static bool | vlc_mouse_HasPressed (const vlc_mouse_t *p_old, const vlc_mouse_t *p_new, int i_button) |
|
static bool | vlc_mouse_HasReleased (const vlc_mouse_t *p_old, const vlc_mouse_t *p_new, int i_button) |
|
◆ vlc_mouse_event
typedef void(* vlc_mouse_event) (const vlc_mouse_t *mouse, void *user_data) |
Mouse event callback.
- Parameters
-
mouse | new mouse event to process, can be NULL for an invalidate state (a new vout is created or restarted). |
user_data | |
◆ vlc_mouse_t
◆ vlc_mouse_button
Mouse buttons.
Enumerator |
---|
MOUSE_BUTTON_LEFT | |
MOUSE_BUTTON_CENTER | |
MOUSE_BUTTON_RIGHT | |
MOUSE_BUTTON_WHEEL_UP | |
MOUSE_BUTTON_WHEEL_DOWN | |
MOUSE_BUTTON_WHEEL_LEFT | |
MOUSE_BUTTON_WHEEL_RIGHT | |
MOUSE_BUTTON_MAX | |
◆ vlc_mouse_GetMotion()
static void vlc_mouse_GetMotion |
( |
int * |
pi_x, |
|
|
int * |
pi_y, |
|
|
const vlc_mouse_t * |
p_old, |
|
|
const vlc_mouse_t * |
p_new |
|
) |
| |
|
inlinestatic |
◆ vlc_mouse_HasButton()
◆ vlc_mouse_HasChanged()
◆ vlc_mouse_HasMoved()
◆ vlc_mouse_HasPressed()
◆ vlc_mouse_HasReleased()
◆ vlc_mouse_Init()
◆ vlc_mouse_IsCenterPressed()
static bool vlc_mouse_IsCenterPressed |
( |
const vlc_mouse_t * |
p_mouse | ) |
|
|
inlinestatic |
◆ vlc_mouse_IsLeftPressed()
static bool vlc_mouse_IsLeftPressed |
( |
const vlc_mouse_t * |
p_mouse | ) |
|
|
inlinestatic |
◆ vlc_mouse_IsPressed()
static bool vlc_mouse_IsPressed |
( |
const vlc_mouse_t * |
p_mouse, |
|
|
int |
i_button |
|
) |
| |
|
inlinestatic |
◆ vlc_mouse_IsRightPressed()
static bool vlc_mouse_IsRightPressed |
( |
const vlc_mouse_t * |
p_mouse | ) |
|
|
inlinestatic |
◆ vlc_mouse_IsWheelDownPressed()
static bool vlc_mouse_IsWheelDownPressed |
( |
const vlc_mouse_t * |
p_mouse | ) |
|
|
inlinestatic |
◆ vlc_mouse_IsWheelUpPressed()
static bool vlc_mouse_IsWheelUpPressed |
( |
const vlc_mouse_t * |
p_mouse | ) |
|
|
inlinestatic |
◆ vlc_mouse_SetPosition()
static void vlc_mouse_SetPosition |
( |
vlc_mouse_t * |
p_mouse, |
|
|
int |
i_x, |
|
|
int |
i_y |
|
) |
| |
|
inlinestatic |
◆ vlc_mouse_SetPressed()
static void vlc_mouse_SetPressed |
( |
vlc_mouse_t * |
p_mouse, |
|
|
int |
i_button |
|
) |
| |
|
inlinestatic |
◆ vlc_mouse_SetReleased()
static void vlc_mouse_SetReleased |
( |
vlc_mouse_t * |
p_mouse, |
|
|
int |
i_button |
|
) |
| |
|
inlinestatic |