vlc_linux/vlc-3.0.16/modules/gui/qt/menus.cpp
/* Navigation stuff, and general menus ( open ), used only for skins */
Navigation stuff, and general menus ( open ), used only for skins
Navigation stuff and general menus ( open ) used only for skins
QMenu* VLCMenuBar::MiscPopupMenu( intf_thread_t *p_intf, bool show )
{
    POPUP_BOILERPLATE
    menu = new QMenu();
    if( p_input )
    {
        InputAutoMenuBuilder( p_input, objects, varnames );
        menu->addSeparator();
    }
    Populate( p_intf, menu, varnames, objects );
    menu->addSeparator();
    PopupMenuPlaylistEntries( menu, p_intf, p_input );
    menu->addSeparator();
    PopupMenuControlEntries( menu, p_intf );
    menu->addSeparator();
    PopupMenuStaticEntries( menu );
    if( show )
        menu->popup( QCursor::pos() );
    return menu;
}
QMenu * VLCMenuBar :: MiscPopupMenu ( intf_thread_t * p_intf , bool show ) { POPUP_BOILERPLATE menu = new QMenu ( ) ; if ( p_input ) { InputAutoMenuBuilder ( p_input , objects , varnames ) ; menu -> addSeparator ( ) ; } Populate ( p_intf , menu , varnames , objects ) ; menu -> addSeparator ( ) ; PopupMenuPlaylistEntries ( menu , p_intf , p_input ) ; menu -> addSeparator ( ) ; PopupMenuControlEntries ( menu , p_intf ) ; menu -> addSeparator ( ) ; PopupMenuStaticEntries ( menu ) ; if ( show ) menu -> popup ( QCursor :: pos ( ) ) ; return menu ; }
Navigation stuff, and general menus ( open ), used only for skins
Navigation stuff and general menus ( open ) used only for skins