

Public Member Functions | |
| Interface (intf_thread_t *, CBaseWindow *, HINSTANCE) | |
| ~Interface () | |
| BOOL | InitInstance () |
| HWND | CreateMenuBar (HWND, HINSTANCE) |
| void | TogglePlayButton (int i_playing_status) |
| void | Update () |
Data Fields | |
| HWND | hwndMain |
| HWND | hwndCB |
| HWND | hwndTB |
| HWND | hwndSlider |
| HWND | hwndLabel |
| HWND | hwndVol |
| HWND | hwndSB |
| HMENU | hPopUpMenu |
| HMENU | hMenu |
| Timer * | timer |
| CBaseWindow * | video |
Protected Member Functions | |
| virtual LRESULT | WndProc (HWND, UINT, WPARAM, LPARAM) |
| void | OnShowDialog (int) |
| void | OnPlayStream (void) |
| void | OnStopStream (void) |
| void | OnPrevStream (void) |
| void | OnNextStream (void) |
| void | OnSlowStream (void) |
| void | OnFastStream (void) |
| void | OnVideoOnTop (void) |
| void | OnSliderUpdate (int wp) |
| void | OnChange (int wp) |
| void | VolumeChange (int i_volume) |
| void | VolumeUpdate (void) |
Protected Attributes | |
| int | i_old_playing_status |
| Interface::Interface | ( | intf_thread_t * | p_intf, | |
| CBaseWindow * | p_parent, | |||
| HINSTANCE | h_inst | |||
| ) |
| BOOL Interface::InitInstance | ( | ) |
References CreateWindow(), CBaseWindow::GetInstance(), hwndMain, i_old_playing_status, MENU_HEIGHT, and PAUSE_S.
Referenced by MainLoop().
| HWND Interface::CreateMenuBar | ( | HWND | hwnd, | |
| HINSTANCE | hInst | |||
| ) |
References tagSHMENUBARINFO::cbSize, tagSHMENUBARINFO::hInstRes, tagSHMENUBARINFO::hwndMB, tagSHMENUBARINFO::hwndParent, ID_FILE_ABOUT, ID_FILE_EXIT, ID_FILE_OPENDIR, ID_FILE_OPENFILE, ID_FILE_OPENNET, ID_FILE_QUICKOPEN, ID_PREFERENCES, ID_VIEW_MESSAGES, ID_VIEW_PLAYLIST, ID_VIEW_STREAMINFO, IDM_AUDIO, IDM_FILE, IDM_NAVIGATION, IDM_SETTINGS, IDM_VIDEO, IDM_VIEW, IDR_MENUBAR, tagSHMENUBARINFO::nToolBarId, and SHCreateMenuBar().
Referenced by WndProc().
| void Interface::TogglePlayButton | ( | int | i_playing_status | ) |
References CBaseWindow::hInst, hwndTB, i_old_playing_status, IDB_BITMAP1, IDB_BITMAP2, NUMIMAGES, and PLAYING_S.
Referenced by Timer::Notify(), OnPlayStream(), and OnStopStream().
| void Interface::Update | ( | ) |
| LRESULT Interface::WndProc | ( | HWND | hwnd, | |
| UINT | msg, | |||
| WPARAM | wp, | |||
| LPARAM | lp | |||
| ) | [protected, virtual] |
Reimplemented from CBaseWindow.
References _, _FROMMB, tagSHRGI::cbSize, config_GetInt, CreateMenuBar(), CreateSliderBar(), CreateStaticText(), CreateStatusBar(), CreateToolBar(), CreateVideoWindow(), CreateVolTrackBar(), DestroyWindow(), tagSHRGI::dwFlags, FastStream_Event, GN_CONTEXTMENU, CBaseWindow::hInst, CBaseWindow::hWnd, hwndCB, tagSHRGI::hwndClient, hwndLabel, hwndSB, hwndSlider, hwndTB, hwndVol, ID_FILE_ABOUT, ID_FILE_EXIT, ID_FILE_OPENDIR, ID_FILE_OPENFILE, ID_FILE_OPENNET, ID_FILE_QUICKOPEN, ID_PREFERENCES, ID_VIEW_MESSAGES, ID_VIEW_PLAYLIST, ID_VIEW_STREAMINFO, NextStream_Event, Timer::Notify(), OnChange(), OnFastStream(), OnMenuEvent(), OnNextStream(), OnPlayStream(), OnPrevStream(), OnShowDialog(), OnSliderUpdate(), OnSlowStream(), OnStopStream(), CBaseWindow::p_intf, PlayStream_Event, PopupMenu(), PrevStream_Event, tagSHRGI::ptDown, RefreshAudioMenu(), RefreshNavigMenu(), RefreshSettingsMenu(), RefreshVideoMenu(), RGB, SHFS_HIDESIPBUTTON, SHFS_SHOWSIPBUTTON, SHFullScreen(), SHRecognizeGesture(), SHRG_RETURNCMD, SHSipPreference(), SIP_DOWN, SlowStream_Event, StopStream_Event, Timer(), timer, video, VLC_CompileBy(), VLC_CompileDomain(), VLC_CompileHost(), and VLC_Compiler().
| void Interface::OnShowDialog | ( | int | i_dialog_event | ) | [protected] |
References ID_FILE_OPENDIR, ID_FILE_OPENFILE, ID_FILE_OPENNET, ID_FILE_QUICKOPEN, ID_PREFERENCES, ID_VIEW_MESSAGES, ID_VIEW_PLAYLIST, ID_VIEW_STREAMINFO, INTF_DIALOG_DIRECTORY, INTF_DIALOG_FILE, INTF_DIALOG_FILE_SIMPLE, INTF_DIALOG_FILEINFO, INTF_DIALOG_MESSAGES, INTF_DIALOG_NET, INTF_DIALOG_PLAYLIST, INTF_DIALOG_PREFS, CBaseWindow::p_intf, intf_thread_t::p_sys, and intf_sys_t::pf_show_dialog.
Referenced by OnPlayStream(), and WndProc().
| void Interface::OnPlayStream | ( | void | ) | [protected] |
References FIND_ANYWHERE, vlc_value_t::i_int, ID_FILE_QUICKOPEN, OnShowDialog(), CBaseWindow::p_intf, PAUSE_S, pl_Hold, pl_Release, PLAYING_S, playlist_IsEmpty(), playlist_Play, TogglePlayButton(), var_Get, var_Set, vlc_object_find, VLC_OBJECT_INPUT, and vlc_object_release.
Referenced by WndProc().
| void Interface::OnStopStream | ( | void | ) | [protected] |
References CBaseWindow::p_intf, PAUSE_S, pl_Hold, pl_Release, playlist_Stop, and TogglePlayButton().
Referenced by WndProc().
| void Interface::OnPrevStream | ( | void | ) | [protected] |
| void Interface::OnNextStream | ( | void | ) | [protected] |
| void Interface::OnSlowStream | ( | void | ) | [protected] |
References vlc_value_t::b_bool, FIND_ANYWHERE, CBaseWindow::p_intf, var_Set, vlc_object_find, VLC_OBJECT_INPUT, and vlc_object_release.
Referenced by WndProc().
| void Interface::OnFastStream | ( | void | ) | [protected] |
References vlc_value_t::b_bool, FIND_ANYWHERE, CBaseWindow::p_intf, var_Set, vlc_object_find, VLC_OBJECT_INPUT, and vlc_object_release.
Referenced by WndProc().
| void Interface::OnVideoOnTop | ( | void | ) | [protected] |
References vlc_value_t::b_bool, FIND_ANYWHERE, CBaseWindow::p_intf, var_Get, var_Set, vlc_object_find, vlc_object_release, and VLC_OBJECT_VOUT.
| void Interface::OnSliderUpdate | ( | int | wp | ) | [protected] |
References _FROMMB, intf_sys_t::b_slider_free, vlc_value_t::f_float, hwndLabel, hwndSlider, intf_sys_t::i_slider_pos, INT64_C, MSTRTIME_MAX_SIZE, intf_sys_t::p_input, CBaseWindow::p_intf, intf_thread_t::p_sys, secstotimestr(), SLIDER_MAX_POS, var_GetTime, and var_Set.
Referenced by WndProc().
| void Interface::OnChange | ( | int | wp | ) | [protected] |
| void Interface::VolumeChange | ( | int | i_volume | ) | [protected] |
References AOUT_VOLUME_MAX, aout_VolumeSet, CBaseWindow::p_intf, pl_Hold, and pl_Release.
Referenced by OnChange().
| void Interface::VolumeUpdate | ( | void | ) | [protected] |
References AOUT_VOLUME_MAX, aout_VolumeGet, hwndVol, CBaseWindow::p_intf, pl_Hold, and pl_Release.
Referenced by Update().
| HWND Interface::hwndMain |
Referenced by InitInstance().
| HWND Interface::hwndCB |
| HWND Interface::hwndTB |
Referenced by CreateToolBar(), TogglePlayButton(), and WndProc().
Referenced by CreateSliderBar(), Timer::Notify(), OnSliderUpdate(), and WndProc().
| HWND Interface::hwndLabel |
Referenced by CreateStaticText(), Timer::Notify(), OnSliderUpdate(), and WndProc().
| HWND Interface::hwndVol |
Referenced by CreateVolTrackBar(), Timer::Notify(), OnChange(), VolumeUpdate(), and WndProc().
| HWND Interface::hwndSB |
Referenced by CreateStatusBar(), Timer::Notify(), and WndProc().
| HMENU Interface::hPopUpMenu |
| HMENU Interface::hMenu |
Referenced by WndProc(), and ~Interface().
Referenced by WndProc(), and ~Interface().
int Interface::i_old_playing_status [protected] |
Referenced by InitInstance(), and TogglePlayButton().
1.5.6