

Public Member Functions | |
| Playlist (intf_thread_t *, CBaseWindow *, HINSTANCE) | |
| virtual | ~Playlist () |
| void | UpdatePlaylist () |
| void | ShowPlaylist (bool) |
Protected Member Functions | |
| void | Rebuild () |
| void | UpdateItem (int) |
| LRESULT | ProcessCustomDraw (LPARAM lParam) |
| void | HandlePopupMenu (HWND hwnd, POINT point) |
| void | DeleteItem (input_item_t *item) |
| void | OnOpen () |
| void | OnSave () |
| void | OnDeleteSelection () |
| void | OnInvertSelection () |
| void | OnEnableSelection () |
| void | OnDisableSelection () |
| void | OnSelectAll () |
| void | OnActivateItem (int i_item) |
| void | ShowInfos (HWND hwnd, int i_item) |
| void | OnUp () |
| void | OnDown () |
| void | OnRandom () |
| void | OnLoop () |
| void | OnRepeat () |
| void | OnSort (UINT event) |
| void | OnColSelect (int iSubItem) |
| void | OnPopupPlay () |
| void | OnPopupDel () |
| void | OnPopupEna () |
| void | OnPopupInfo (HWND hwnd) |
| virtual LRESULT | WndProc (HWND, UINT, WPARAM, LPARAM) |
Protected Attributes | |
| bool | b_need_update |
| vlc_mutex_t | lock |
| int | i_title_sorted |
| int | i_author_sorted |
| HWND | hwndCB |
| HWND | hwndTB |
| HWND | hListView |
| Playlist::Playlist | ( | intf_thread_t * | p_intf, | |
| CBaseWindow * | p_parent, | |||
| HINSTANCE | h_inst | |||
| ) |
References b_need_update, hListView, i_author_sorted, and i_title_sorted.
| virtual Playlist::~Playlist | ( | ) | [inline, virtual] |
| void Playlist::UpdatePlaylist | ( | ) |
References b_need_update, playlist_t::i_current_index, intf_sys_t::i_playing, CBaseWindow::p_intf, intf_thread_t::p_sys, pl_Hold, PL_LOCK, pl_Release, PL_UNLOCK, playlist_CurrentSize(), and Rebuild().
Referenced by WndProc().
| void Playlist::ShowPlaylist | ( | bool | b_show | ) |
References Rebuild(), and CBaseWindow::Show().
| void Playlist::Rebuild | ( | ) | [protected] |
References _FROMMB, hListView, playlist_item_t::i_id, playlist_item_t::p_input, CBaseWindow::p_intf, playlist_t::p_local_onelevel, pl_Hold, PL_LOCK, pl_Release, PL_UNLOCK, playlist_GetNextLeaf(), input_item_t::psz_name, and UpdateItem().
Referenced by ShowPlaylist(), and UpdatePlaylist().
| void Playlist::UpdateItem | ( | int | i | ) | [protected] |
References _, _FROMMB, hListView, input_item_GetDuration(), input_item_GetInfo(), MSTRTIME_MAX_SIZE, playlist_item_t::p_input, CBaseWindow::p_intf, p_item, pl_Hold, PL_LOCK, pl_Release, PL_UNLOCK, playlist_ItemGetById(), input_item_t::psz_name, and secstotimestr().
Referenced by OnDisableSelection(), OnEnableSelection(), OnPopupEna(), Rebuild(), and ShowInfos().
| LRESULT Playlist::ProcessCustomDraw | ( | LPARAM | lParam | ) | [protected] |
< Is it disabled ?
References playlist_t::i_current_index, playlist_item_t::i_flags, CBaseWindow::p_intf, p_item, pl_Hold, PL_LOCK, pl_Release, PL_UNLOCK, PLAYLIST_DBL_FLAG, playlist_ItemGetById(), and RGB.
Referenced by WndProc().
| void Playlist::HandlePopupMenu | ( | HWND | hwnd, | |
| POINT | point | |||
| ) | [protected] |
References PopupDel_Event, PopupEna_Event, PopupInfo_Event, PopupPlay_Event, and TrackPopupMenu.
Referenced by WndProc().
| void Playlist::DeleteItem | ( | input_item_t * | item | ) | [protected] |
References hListView, CBaseWindow::p_intf, pl_Hold, pl_Release, and playlist_DeleteFromInput().
Referenced by OnDeleteSelection(), and OnPopupDel().
| void Playlist::OnOpen | ( | ) | [protected] |
| void Playlist::OnSave | ( | ) | [protected] |
References intf_dialog_args_t::b_save, INTF_DIALOG_FILE_GENERIC, OnSaveCB(), intf_dialog_args_t::p_arg, CBaseWindow::p_intf, intf_thread_t::p_sys, intf_dialog_args_t::pf_callback, intf_sys_t::pf_show_dialog, intf_dialog_args_t::psz_extensions, intf_dialog_args_t::psz_title, and strdup().
Referenced by WndProc().
| void Playlist::OnDeleteSelection | ( | ) | [protected] |
| void Playlist::OnEnableSelection | ( | ) | [protected] |
< Is it disabled ?
References hListView, playlist_item_t::i_flags, CBaseWindow::p_intf, p_item, pl_Hold, PL_LOCK, pl_Release, PL_UNLOCK, PLAYLIST_DBL_FLAG, playlist_ItemGetById(), and UpdateItem().
Referenced by WndProc().
| void Playlist::OnDisableSelection | ( | ) | [protected] |
< Is it disabled ?
References hListView, playlist_item_t::i_flags, CBaseWindow::p_intf, p_item, pl_Hold, PL_LOCK, pl_Release, PL_UNLOCK, PLAYLIST_DBL_FLAG, playlist_ItemGetById(), and UpdateItem().
Referenced by WndProc().
| void Playlist::OnActivateItem | ( | int | i_item | ) | [protected] |
References playlist_t::i_current_index, CBaseWindow::p_intf, pl_Hold, pl_Release, and playlist_Skip.
Referenced by WndProc().
| void Playlist::ShowInfos | ( | HWND | hwnd, | |
| int | i_item | |||
| ) | [protected] |
References CBaseWindow::CreateDialogBox(), CBaseWindow::hInst, CBaseWindow::p_intf, p_item, pl_Hold, PL_LOCK, pl_Release, PL_UNLOCK, playlist_ItemGetById(), and UpdateItem().
Referenced by OnPopupInfo().
| void Playlist::OnUp | ( | ) | [protected] |
References hListView, CBaseWindow::p_intf, pl_Hold, pl_Release, playlist_CurrentSize(), and playlist_Prev.
Referenced by WndProc().
| void Playlist::OnDown | ( | ) | [protected] |
References hListView, CBaseWindow::p_intf, pl_Hold, pl_Release, playlist_CurrentSize(), and playlist_Next.
Referenced by WndProc().
| void Playlist::OnRandom | ( | ) | [protected] |
References vlc_value_t::b_bool, hwndTB, CBaseWindow::p_intf, pl_Hold, pl_Release, Random_Event, and var_Set.
Referenced by WndProc().
| void Playlist::OnLoop | ( | ) | [protected] |
References vlc_value_t::b_bool, hwndTB, Loop_Event, CBaseWindow::p_intf, pl_Hold, pl_Release, and var_Set.
Referenced by WndProc().
| void Playlist::OnRepeat | ( | ) | [protected] |
References vlc_value_t::b_bool, hwndTB, CBaseWindow::p_intf, pl_Hold, pl_Release, Repeat_Event, and var_Set.
Referenced by WndProc().
| void Playlist::OnSort | ( | UINT | event | ) | [protected] |
References b_need_update, ID_SORT_AUTHOR, ID_SORT_RAUTHOR, ID_SORT_RTITLE, ID_SORT_SHUFFLE, ID_SORT_TITLE, ORDER_NORMAL, ORDER_REVERSE, CBaseWindow::p_intf, playlist_t::p_root_onelevel, pl_Hold, pl_Release, playlist_RecursiveNodeSort(), SORT_ARTIST, SORT_RANDOM, and SORT_TITLE.
Referenced by WndProc().
| void Playlist::OnColSelect | ( | int | iSubItem | ) | [protected] |
References b_need_update, i_author_sorted, i_title_sorted, ORDER_NORMAL, ORDER_REVERSE, CBaseWindow::p_intf, playlist_t::p_root_onelevel, pl_Hold, pl_Release, playlist_RecursiveNodeSort(), SORT_ARTIST, and SORT_TITLE.
Referenced by WndProc().
| void Playlist::OnPopupPlay | ( | ) | [protected] |
References hListView, playlist_t::i_current_index, CBaseWindow::p_intf, pl_Hold, pl_Release, and playlist_Skip.
Referenced by WndProc().
| void Playlist::OnPopupDel | ( | ) | [protected] |
| void Playlist::OnPopupEna | ( | ) | [protected] |
< Is it disabled ?
< Is it disabled ?
< Is it disabled ?
References hListView, playlist_item_t::i_flags, playlist_t::items, playlist_item_array_t::p_elems, CBaseWindow::p_intf, p_item, pl_Hold, PL_LOCK, pl_Release, PL_UNLOCK, PLAYLIST_DBL_FLAG, playlist_ItemGetById(), and UpdateItem().
Referenced by WndProc().
| void Playlist::OnPopupInfo | ( | HWND | hwnd | ) | [protected] |
| LRESULT Playlist::WndProc | ( | HWND | hwnd, | |
| UINT | msg, | |||
| WPARAM | wp, | |||
| LPARAM | lp | |||
| ) | [protected, virtual] |
Reimplemented from CBaseWindow.
References vlc_value_t::b_bool, b_need_update, BUTTONHEIGHT, BUTTONWIDTH, code, CreateMenuBar(), CreateWindow(), Down_Event, tagSHINITDLGINFO::dwFlags, tagSHINITDLGINFO::dwMask, GN_CONTEXTMENU, HandlePopupMenu(), tagSHINITDLGINFO::hDlg, CBaseWindow::hInst, hListView, hwndCB, hwndTB, ID_MANAGE_ADDDIRECTORY, ID_MANAGE_ADDFILE, ID_MANAGE_ADDMRL, ID_MANAGE_OPENPL, ID_MANAGE_SAVEPL, ID_SEL_DELETE, ID_SEL_DISABLE, ID_SEL_ENABLE, ID_SEL_INVERT, ID_SEL_SELECTALL, ID_SORT_AUTHOR, ID_SORT_RAUTHOR, ID_SORT_RTITLE, ID_SORT_SHUFFLE, ID_SORT_TITLE, IDB_BITMAP3, IMAGEHEIGHT, IMAGEWIDTH, Infos_Event, INTF_DIALOG_DIRECTORY, INTF_DIALOG_FILE, INTF_DIALOG_FILE_SIMPLE, Loop_Event, MENU_HEIGHT, NUMIMAGES, OnActivateItem(), OnColSelect(), OnDeleteSelection(), OnDisableSelection(), OnDown(), OnEnableSelection(), OnInvertSelection(), OnLoop(), OnOpen(), OnPopupDel(), OnPopupEna(), OnPopupInfo(), OnPopupPlay(), OnRandom(), OnRepeat(), OnSave(), OnSelectAll(), OnSort(), OnUp(), CBaseWindow::p_intf, intf_thread_t::p_sys, intf_sys_t::pf_show_dialog, pl_Hold, pl_Release, PopupDel_Event, PopupEna_Event, PopupInfo_Event, PopupPlay_Event, ProcessCustomDraw(), Random_Event, Repeat_Event, SHFS_HIDESIPBUTTON, SHFullScreen(), SHIDIF_DONEBUTTON, SHIDIF_FULLSCREENNOMENUBAR, SHIDIF_SIPDOWN, SHIDIM_FLAGS, SHInitDialog(), SHSipPreference(), SIP_DOWN, szToolTips2, tbButton2, Up_Event, UpdatePlaylist(), and var_Get.
bool Playlist::b_need_update [protected] |
Referenced by OnColSelect(), OnSort(), Playlist(), UpdatePlaylist(), and WndProc().
vlc_mutex_t Playlist::lock [protected] |
int Playlist::i_title_sorted [protected] |
Referenced by OnColSelect(), and Playlist().
int Playlist::i_author_sorted [protected] |
Referenced by OnColSelect(), and Playlist().
HWND Playlist::hwndCB [protected] |
HWND Playlist::hwndTB [protected] |
Referenced by OnLoop(), OnRandom(), OnRepeat(), and WndProc().
HWND Playlist::hListView [protected] |
1.5.6