vlm_slider_manager.hpp

来自「uclinux 下的vlc播放器源代码」· HPP 代码 · 共 69 行

HPP
69
字号
/***************************************************************************** * vlm_slider_manager.hpp: Header for slider_manager ***************************************************************************** * Copyright (C) 1999-2005 the VideoLAN team * $Id: vlm_slider_manager.hpp 14187 2006-02-07 16:37:40Z courmisch $ * * Authors: Clément Stenac <zorglub@videolan.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/#ifndef _VLM_SLIDER_MANAGER_H_#define _VLM_SLIDER_MANAGER_H_#include "wxwidgets.hpp"namespace wxvlc{    class VLMBroadcastStreamPanel;    /**     * This class manages a slider corresponding to the main input     */    class VLMSliderManager    {    public:        VLMSliderManager( intf_thread_t *, VLMBroadcastStreamPanel * );        virtual ~VLMSliderManager();        wxString time_string;        void Update();        void ProcessUpdate( wxScrollEvent & );    protected:        vlc_bool_t b_slider_free;        virtual void UpdateInput();        virtual void UpdateButtons( vlc_bool_t );        virtual void UpdateTime( char *, char *);        virtual vlc_bool_t IsShown();        virtual vlc_bool_t IsFree();        virtual vlc_bool_t IsPlaying();        virtual void HideSlider();        virtual void ShowSlider();        VLMBroadcastStreamPanel * p_sp;        intf_thread_t * p_intf;        input_thread_t *p_input;        wxSlider *slider;            ///< Slider for this input        int i_slider_pos;            ///< Current slider position    };};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?