X-Git-Url: http://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=blobdiff_plain;f=include%2Fvlc_vout_display.h;h=f7c436d48dd84a4631c0be62a63a7ceeb429ba94;hp=f7c1677a4a580b889b4055b4231ae8546050be9e;hb=ce75037724b80da41af208a55f81b40e778eb06e;hpb=657524ff32a87f213131113738be4c6863a33778 diff --git a/include/vlc_vout_display.h b/include/vlc_vout_display.h index f7c1677a4a..f7c436d48d 100644 --- a/include/vlc_vout_display.h +++ b/include/vlc_vout_display.h @@ -133,7 +133,7 @@ enum { VOUT_DISPLAY_CHANGE_FULLSCREEN, /* const vout_display_cfg_t *p_cfg */ /* Ask the module to acknowledge/refuse the "always on top" state change - * after being requested externally */ + * after being requested externally or by VOUT_DISPLAY_EVENT_ON_TOP */ VOUT_DISPLAY_CHANGE_ON_TOP, /* int b_on_top */ /* Ask the module to acknowledge/refuse the display size change requested @@ -173,6 +173,7 @@ enum { VOUT_DISPLAY_EVENT_PICTURES_INVALID, /* The buffer are now invalid and need to be changed */ VOUT_DISPLAY_EVENT_FULLSCREEN, + VOUT_DISPLAY_EVENT_ON_TOP, VOUT_DISPLAY_EVENT_DISPLAY_SIZE, /* The display size need to change : int i_width, int i_height, bool is_fullscreen */ @@ -337,6 +338,10 @@ static inline void vout_display_SendEventFullscreen(vout_display_t *vd, bool is_ { vout_display_SendEvent(vd, VOUT_DISPLAY_EVENT_FULLSCREEN, is_fullscreen); } +static inline void vout_display_SendEventOnTop(vout_display_t *vd, bool is_on_top) +{ + vout_display_SendEvent(vd, VOUT_DISPLAY_EVENT_ON_TOP, is_on_top); +} /* The mouse position (State and Moved event) must be expressed against vout_display_t::source unit */ static inline void vout_display_SendEventMouseState(vout_display_t *vd, int x, int y, int button_mask) {