2
* This file is part of wxSmith plugin for Code::Blocks Studio
3
* Copyright (C) 2010 Gary Harris
5
* wxSmith is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 3 of the License, or
8
* (at your option) any later version.
10
* wxSmith is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
25
#include "../wxswidget.h"
27
/** \brief Class for wxMediaCtrl widget */
28
class wxsMediaCtrl: public wxsWidget
32
wxsMediaCtrl(wxsItemResData* Data);
36
virtual void OnBuildCreatingCode();
37
virtual wxObject* OnBuildPreview(wxWindow* Parent,long Flags);
38
virtual void OnEnumWidgetProperties(long Flags);
40
wxString m_sMediaFile; //!< The media file path or URI.
41
wxString m_sProxy; //!< Proxy URI.
42
bool m_bPlay; //!< Play the animation.
43
long m_iControls; //!< wxMediaCtrlPlayerControls enum value.
44
long m_iVolume; //!< The volume level. This value is divided by 10 to obtain the actual level.
45
// wxString m_sBackend; //!< The media back-end.
46
// wxValidator m_validator; //!< The control validator.
50
#endif // wxUSE_MEDIACTRL
52
#endif // WXMEDIACTRL_H