
Defines | |
| #define | osd_Find(o) (osd_Find)(o, false, __func__) |
| #define | osd_FindVisible(o) (osd_Find)(o, true, __func__) |
Functions | |
| static void | osd_UpdateState (osd_menu_state_t *, int, int, int, int, picture_t *) |
| static osd_state_t * | osd_VolumeStateChange (osd_state_t *, int) |
| static int | osd_VolumeStep (vlc_object_t *, int, int) |
| static bool | osd_ParserLoad (osd_menu_t *, const char *) |
| static void | osd_ParserUnload (osd_menu_t *) |
| static bool | osd_isVisible (osd_menu_t *p_osd) |
| static osd_state_t * | osd_StateChange (osd_button_t *p_button, const int i_state) |
| Change state on an osd_button_t. | |
| osd_menu_t * | osd_MenuCreate (vlc_object_t *p_this, const char *psz_file) |
| Initialize an osd_menu_t object. | |
| void | osd_MenuDelete (vlc_object_t *p_this, osd_menu_t *p_osd) |
| Delete the osd_menu_t object. | |
| static osd_menu_t * | osd_Find (vlc_object_t *p_this, bool visible, const char *func) |
| void | osd_MenuShow (vlc_object_t *p_this) |
| Show the OSD menu. | |
| void | osd_MenuHide (vlc_object_t *p_this) |
| Hide the OSD menu. | |
| void | osd_MenuActivate (vlc_object_t *p_this) |
| Activate the action of this OSD menu item. | |
| void | osd_MenuNext (vlc_object_t *p_this) |
| Next OSD menu item. | |
| void | osd_MenuPrev (vlc_object_t *p_this) |
| Previous OSD menu item. | |
| void | osd_MenuUp (vlc_object_t *p_this) |
| OSD menu item above. | |
| void | osd_MenuDown (vlc_object_t *p_this) |
| OSD menu item below. | |
| void | osd_Volume (vlc_object_t *p_this) |
| Display current audio volume bitmap. | |
| osd_button_t * | osd_ButtonFind (vlc_object_t *p_this, int i_x, int i_y, int i_window_height, int i_window_width, int i_scale_width, int i_scale_height) |
| Find OSD Menu button at position x,y. | |
| void | osd_ButtonSelect (vlc_object_t *p_this, osd_button_t *p_button) |
| Select the button provided as the new active button. | |
Variables | |
| static vlc_mutex_t | osd_mutex = PTHREAD_MUTEX_INITIALIZER |
| #define osd_Find | ( | o | ) | (osd_Find)(o, false, __func__) |
Referenced by osd_MenuHide(), and osd_MenuShow().
| #define osd_FindVisible | ( | o | ) | (osd_Find)(o, true, __func__) |
Referenced by osd_ButtonFind(), osd_ButtonSelect(), osd_MenuActivate(), osd_MenuDown(), osd_MenuNext(), osd_MenuPrev(), osd_MenuUp(), and osd_Volume().
| static osd_menu_t* osd_Find | ( | vlc_object_t * | p_this, | |
| bool | visible, | |||
| const char * | func | |||
| ) | [static] |
References msg_Err, osd_isVisible(), osd_mutex, var_GetAddress, vlc_mutex_lock(), and vlc_mutex_unlock().
| static bool osd_isVisible | ( | osd_menu_t * | p_osd | ) | [inline, static] |
References var_GetBool.
Referenced by osd_Find().
| static bool osd_ParserLoad | ( | osd_menu_t * | p_menu, | |
| const char * | psz_file | |||
| ) | [static] |
References image_HandlerCreate, module_need, msg_Err, osd_menu_t::p_image, osd_menu_t::p_parser, psz_ext, osd_menu_t::psz_file, and strdup().
Referenced by osd_MenuCreate().
| static void osd_ParserUnload | ( | osd_menu_t * | p_menu | ) | [static] |
References image_HandlerDelete(), module_unneed, osd_menu_t::p_image, osd_menu_t::p_parser, and osd_menu_t::psz_file.
Referenced by osd_MenuDelete().
| static osd_state_t* osd_StateChange | ( | osd_button_t * | p_button, | |
| const int | i_state | |||
| ) | [static] |
Change state on an osd_button_t.
This function selects the specified state and returns a pointer vlc_custom_create to it. The following states are currently supported:
References osd_state_t::i_height, osd_button_t::i_height, osd_state_t::i_state, osd_state_t::i_width, osd_button_t::i_width, osd_state_t::i_x, osd_button_t::i_x, osd_state_t::i_y, osd_button_t::i_y, osd_state_t::p_next, and osd_button_t::p_states.
Referenced by osd_ButtonSelect(), osd_MenuActivate(), osd_MenuCreate(), osd_MenuDown(), osd_MenuNext(), osd_MenuPrev(), osd_MenuShow(), and osd_MenuUp().
| static void osd_UpdateState | ( | osd_menu_state_t * | p_state, | |
| int | i_x, | |||
| int | i_y, | |||
| int | i_width, | |||
| int | i_height, | |||
| picture_t * | p_pic | |||
| ) | [static] |
References osd_menu_state_t::i_height, osd_menu_state_t::i_width, osd_menu_state_t::i_x, osd_menu_state_t::i_y, and osd_menu_state_t::p_pic.
Referenced by osd_ButtonSelect(), osd_MenuActivate(), osd_MenuCreate(), osd_MenuDown(), osd_MenuHide(), osd_MenuNext(), osd_MenuPrev(), osd_MenuShow(), osd_MenuUp(), and osd_Volume().
| static osd_state_t * osd_VolumeStateChange | ( | osd_state_t * | p_current, | |
| int | i_steps | |||
| ) | [inline, static] |
References osd_state_t::p_next.
Referenced by osd_MenuCreate(), and osd_Volume().
| static int osd_VolumeStep | ( | vlc_object_t * | p_this, | |
| int | i_volume, | |||
| int | i_steps | |||
| ) | [static] |
References config_GetInt.
Referenced by osd_MenuCreate(), and osd_Volume().
vlc_mutex_t osd_mutex = PTHREAD_MUTEX_INITIALIZER [static] |
1.7.1