bState = val.b_bool ? TBSTATE_CHECKED : 0;
SendMessage( hwndTB, TB_SETSTATE, Repeat_Event,
MAKELONG(bState | TBSTATE_ENABLED, 0) );
- pl_Release( p_playlist );
+ pl_Release( p_intf );
GetClientRect( hwnd, &rect );
hListView = CreateWindow( WC_LISTVIEW, NULL, WS_VISIBLE | WS_CHILD |
if( (int)lplvcd->nmcd.dwItemSpec == p_playlist->i_index )
{
lplvcd->clrText = RGB(255,0,0);
- pl_Release( p_playlist );
+ pl_Release( p_intf );
return CDRF_NEWFONT;
}
(int)lplvcd->nmcd.dwItemSpec );
if( !p_item )
{
- pl_Release( p_playlist );
+ pl_Release( p_intf );
return CDRF_DODEFAULT;
}
if( p_item->b_enabled == false )
{
lplvcd->clrText = RGB(192,192,192);
- pl_Release( p_playlist );
+ pl_Release( p_intf );
return CDRF_NEWFONT;
}
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
return CDRF_DODEFAULT;
}
vlc_object_unlock( p_playlist );
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
/**********************************************************************
ListView_SetItemState( hListView, i_focused, LVIS_FOCUSED,
LVIS_STATEIMAGEMASK );
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
/**********************************************************************
if( !p_item )
{
- pl_Release(p_playlist);
+ pl_Release( p_intf );
return;
}
ListView_SetItemText( hListView, i, 3, _FROMMB(psz_duration) );
- pl_Release(p_playlist);
+ pl_Release( p_intf );
}
/**********************************************************************
playlist_Delete( p_playlist, item );
ListView_DeleteItem( hListView, item );
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
/**********************************************************************
if( p_playlist )
{
playlist_Import( p_playlist, p_arg->psz_results[0] );
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
}
}
else psz_export = "export-m3u";
playlist_Export( p_playlist, p_arg->psz_results[0], psz_export );
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
}
}
UpdateItem( item );
}
}
- pl_Release( p_playlist);
+ pl_Release( p_intf );
}
void Playlist::OnDisableSelection()
UpdateItem( item );
}
}
- pl_Release( p_playlist);
+ pl_Release( p_intf );
}
void Playlist::OnSelectAll()
playlist_Goto( p_playlist, i_item );
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
void Playlist::ShowInfos( HWND hwnd, int i_item )
delete iteminfo_dialog;
}
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
/********************************************************************
LVIS_STATEIMAGEMASK );
}
}
- pl_Release( p_playlist );
+ pl_Release( p_intf );
return;
}
ListView_SetItemState( hListView, i_item + 1, LVIS_FOCUSED,
LVIS_STATEIMAGEMASK );
}
- pl_Release( p_playlist );
+ pl_Release( p_intf );
return;
}
if( p_playlist == NULL ) return;
var_Set( p_playlist , "random", val );
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
void Playlist::OnLoop ()
if( p_playlist == NULL ) return;
var_Set( p_playlist , "loop", val );
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
void Playlist::OnRepeat ()
if( p_playlist == NULL ) return;
var_Set( p_playlist , "repeat", val );
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
/********************************************************************
break;
}
- pl_Release( p_playlist );
+ pl_Release( p_intf );
b_need_update = true;
break;
}
- pl_Release( p_playlist );
+ pl_Release( p_intf );
b_need_update = true;
playlist_Goto( p_playlist, i_popup_item );
}
- pl_Release( p_playlist );
+ pl_Release( p_intf );
}
void Playlist::OnPopupDel()
playlist_Enable( p_playlist, p_item );
}
- pl_Release( p_playlist);
+ pl_Release( p_intf );
UpdateItem( i_popup_item );
}