VLC
4.0.0-dev
|
Data Structures | |
struct | window_t |
struct | vout_display_window |
Macros | |
#define | DOUBLE_CLICK_TIME VLC_TICK_FROM_MS(300) |
Typedefs | |
typedef struct vout_display_window | vout_display_window_t |
Functions | |
static int | vout_window_start (void *func, bool forced, va_list ap) |
vout_window_t * | vout_window_New (vlc_object_t *obj, const char *module, const vout_window_owner_t *owner) |
Creates a new window. More... | |
int | vout_window_Enable (vout_window_t *window, const vout_window_cfg_t *restrict cfg) |
void | vout_window_Disable (vout_window_t *window) |
Disables a window. More... | |
void | vout_window_Delete (vout_window_t *window) |
Deletes a window. More... | |
static void | vout_window_UpdateInhibitionUnlocked (vout_window_t *window) |
void | vout_window_SetInhibition (vout_window_t *window, bool enabled) |
Inhibits or deinhibits the screensaver. More... | |
void | vout_window_ReportWindowed (vout_window_t *window) |
Reports that the window is not in full screen. More... | |
void | vout_window_ReportFullscreen (vout_window_t *window, const char *id) |
Reports that the window is in full screen. More... | |
static void | vout_display_window_ResizeNotify (vout_window_t *window, unsigned width, unsigned height) |
static void | vout_display_window_CloseNotify (vout_window_t *window) |
static void | vout_display_window_StateNotify (vout_window_t *window, unsigned window_state) |
static void | vout_display_window_FullscreenNotify (vout_window_t *window, const char *id) |
static void | vout_display_window_WindowingNotify (vout_window_t *window) |
static void | vout_display_window_MouseEvent (vout_window_t *window, const vout_window_mouse_event_t *ev) |
static void | vout_display_window_KeyboardEvent (vout_window_t *window, unsigned key) |
static void | vout_display_window_OutputEvent (vout_window_t *window, const char *name, const char *desc) |
vout_window_t * | vout_display_window_New (vout_thread_t *vout) |
Creates a video window, initially without any attached display. More... | |
void | vout_display_window_Delete (vout_window_t *window) |
Destroys a video window. More... | |
Variables | |
static const struct vout_window_callbacks | vout_display_window_cbs |
#define DOUBLE_CLICK_TIME VLC_TICK_FROM_MS(300) |
Referenced by vout_display_window_MouseEvent().
typedef struct vout_display_window vout_display_window_t |
|
static |
References msg_Err.
void vout_display_window_Delete | ( | vout_window_t * | window | ) |
Destroys a video window.
References vout_window_t::owner, state, vout_window_owner::sys, var_Destroy(), vout_display_window::vout, and vout_window_Delete().
Referenced by vout_Release().
|
static |
References msg_Dbg, vout_window_t::owner, state, vout_window_owner::sys, var_SetBool(), var_SetString(), and vout_display_window::vout.
|
static |
References var_SetInteger(), and vlc_object_instance.
|
static |
References vlc_mouse_t::b_double_click, vout_window_mouse_event_t::button_mask, DOUBLE_CLICK_TIME, vout_window_t::has_double_click, vout_window_t::info, vout_display_window::last_left_press, vout_display_window::mouse, MOUSE_BUTTON_LEFT, vout_window_t::owner, state, vout_window_owner::sys, vout_window_mouse_event_t::type, vlc_assert_unreachable, vlc_mouse_IsLeftPressed(), vlc_mouse_SetPosition(), vlc_mouse_SetPressed(), vlc_mouse_SetReleased(), vlc_tick_now(), vout_display_window::vout, vout_MouseState(), VOUT_WINDOW_MOUSE_DOUBLE_CLICK, VOUT_WINDOW_MOUSE_MOVED, VOUT_WINDOW_MOUSE_PRESSED, VOUT_WINDOW_MOUSE_RELEASED, vout_window_mouse_event_t::x, and vout_window_mouse_event_t::y.
vout_window_t* vout_display_window_New | ( | vout_thread_t * | vout | ) |
Creates a video window, initially without any attached display.
References vout_window_owner::cbs, vout_display_window::last_left_press, vout_display_window::mouse, state, var_Create(), var_InheritString(), vlc_mouse_Init(), VLC_VAR_BOOL, VLC_VAR_INTEGER, VLC_VAR_STRING, vout_display_window::vout, vout_display_window_cbs, and vout_window_New().
Referenced by vout_Create().
|
static |
References msg_Dbg.
|
static |
References msg_Dbg, vout_window_t::owner, state, vout_window_owner::sys, vout_display_window::vout, and vout_ChangeDisplaySize().
|
static |
|
static |
References msg_Dbg, vout_window_t::owner, state, vout_window_owner::sys, var_SetBool(), and vout_display_window::vout.
int vout_window_Enable | ( | vout_window_t * | window, |
const vout_window_cfg_t *restrict | cfg | ||
) |
References vout_window_operations::enable, vout_window_t::ops, VLC_SUCCESS, and vout_window_SetInhibition().
Referenced by vlc_gl_surface_Create(), and vout_EnableWindow().
|
static |
References VLC_OBJECT, and vlc_objres_clear().
Referenced by vout_window_New().
|
static |
References window_t::active, container_of, window_t::fullscreen, window_t::inhibit, window_t::inhibit_windowed, window_t::lock, VLC_INHIBIT_NONE, vlc_inhibit_Set(), VLC_INHIBIT_VIDEO, and vlc_mutex_assert.
Referenced by vout_window_ReportFullscreen(), vout_window_ReportWindowed(), and vout_window_SetInhibition().
|
static |
Referenced by vout_display_window_New().