~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/plugins/contrib/wxSmith/wxwidgets/defitems/wxsmediactrl.h

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
* This file is part of wxSmith plugin for Code::Blocks Studio
 
3
* Copyright (C) 2010  Gary Harris
 
4
*
 
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.
 
9
*
 
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.
 
14
*
 
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/>.
 
17
*
 
18
*/
 
19
 
 
20
#ifndef WXMEDIACTRL_H
 
21
#define WXMEDIACTRL_H
 
22
 
 
23
#if wxUSE_MEDIACTRL
 
24
 
 
25
#include "../wxswidget.h"
 
26
 
 
27
/** \brief Class for wxMediaCtrl widget */
 
28
class wxsMediaCtrl: public wxsWidget
 
29
{
 
30
    public:
 
31
 
 
32
        wxsMediaCtrl(wxsItemResData* Data);
 
33
 
 
34
    private:
 
35
 
 
36
        virtual void OnBuildCreatingCode();
 
37
        virtual wxObject* OnBuildPreview(wxWindow* Parent,long Flags);
 
38
        virtual void OnEnumWidgetProperties(long Flags);
 
39
 
 
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.
 
47
 
 
48
};
 
49
 
 
50
#endif // wxUSE_MEDIACTRL
 
51
 
 
52
#endif // WXMEDIACTRL_H