VLC  4.0.0-dev
Data Structures | Typedefs | Enumerations | Functions
vlc_vout_window.h File Reference
Include dependency graph for vlc_vout_window.h:

Go to the source code of this file.

Data Structures

struct  vout_window_mouse_event_t
 Window mouse event. More...
 
struct  vout_window_cfg_t
 Window (desired) configuration. More...
 
struct  vout_window_callbacks
 Window event callbacks structure. More...
 
struct  vout_window_owner
 Window callbacks and opaque data. More...
 
struct  vout_window_operations
 Window implementation callbacks. More...
 
struct  vout_window_t
 Window object. More...
 

Typedefs

typedef struct vout_window_mouse_event_t vout_window_mouse_event_t
 Window mouse event. More...
 
typedef struct vout_window_cfg_t vout_window_cfg_t
 Window (desired) configuration. More...
 
typedef void(* vout_window_ack_cb) (struct vout_window_t *, void *)
 Callback prototype for window event acknowledgement. More...
 
typedef struct vout_window_owner vout_window_owner_t
 Window callbacks and opaque data. More...
 
typedef struct vout_window_t vout_window_t
 Window object. More...
 

Enumerations

enum  vout_window_type {
  VOUT_WINDOW_TYPE_DUMMY, VOUT_WINDOW_TYPE_XID, VOUT_WINDOW_TYPE_HWND, VOUT_WINDOW_TYPE_NSOBJECT,
  VOUT_WINDOW_TYPE_ANDROID_NATIVE, VOUT_WINDOW_TYPE_WAYLAND, VOUT_WINDOW_TYPE_DCOMP
}
 Window handle type. More...
 
enum  vout_window_state { VOUT_WINDOW_STATE_NORMAL, VOUT_WINDOW_STATE_ABOVE, VOUT_WINDOW_STATE_BELOW }
 Window states. More...
 
enum  vout_window_mouse_event_type { VOUT_WINDOW_MOUSE_MOVED, VOUT_WINDOW_MOUSE_PRESSED, VOUT_WINDOW_MOUSE_RELEASED, VOUT_WINDOW_MOUSE_DOUBLE_CLICK }
 Window mouse event types. More...
 

Functions

VLC_EXPORT vout_window_tvout_window_New (vlc_object_t *obj, const char *module, const vout_window_owner_t *owner)
 Creates a new window. More...
 
VLC_EXPORT void vout_window_Delete (vout_window_t *window)
 Deletes a window. More...
 
void vout_window_SetInhibition (vout_window_t *window, bool enabled)
 Inhibits or deinhibits the screensaver. More...
 
static void vout_window_SetState (vout_window_t *window, unsigned state)
 Requests a new window state. More...
 
static void vout_window_SetSize (vout_window_t *window, unsigned width, unsigned height)
 Requests a new window size. More...
 
static void vout_window_SetFullScreen (vout_window_t *window, const char *id)
 Requests fullscreen mode. More...
 
static void vout_window_UnsetFullScreen (vout_window_t *window)
 Requests windowed mode. More...
 
static void vout_window_SetTitle (vout_window_t *window, const char *title)
 Request a new window title. More...
 
VLC_EXPORT int vout_window_Enable (vout_window_t *window, const vout_window_cfg_t *cfg)
 Enables a window. More...
 
VLC_EXPORT void vout_window_Disable (vout_window_t *window)
 Disables a window. More...
 
static void vout_window_ReportSize (vout_window_t *window, unsigned width, unsigned height)
 Reports the current window size. More...
 
static void vout_window_ReportClose (vout_window_t *window)
 Reports a request to close the window. More...
 
static void vout_window_ReportState (vout_window_t *window, unsigned state)
 Reports the current window state. More...
 
VLC_EXPORT void vout_window_ReportWindowed (vout_window_t *wnd)
 Reports that the window is not in full screen. More...
 
VLC_EXPORT void vout_window_ReportFullscreen (vout_window_t *wnd, const char *id)
 Reports that the window is in full screen. More...
 
static void vout_window_SendMouseEvent (vout_window_t *window, const vout_window_mouse_event_t *mouse)
 
static void vout_window_ReportMouseMoved (vout_window_t *window, int x, int y)
 Reports a pointer movement. More...
 
static void vout_window_ReportMousePressed (vout_window_t *window, int button)
 Reports a mouse button press. More...
 
static void vout_window_ReportMouseReleased (vout_window_t *window, int button)
 Reports a mouse button release. More...
 
static void vout_window_ReportMouseDoubleClick (vout_window_t *window, int button)
 Reports a mouse double-click. More...
 
static void vout_window_ReportKeyPress (vout_window_t *window, int key)
 Reports a keyboard key press. More...
 
static void vout_window_ReportOutputDevice (vout_window_t *window, const char *id, const char *name)
 Adds/removes a fullscreen output. More...
 

Detailed Description

Window modules interface