~ubuntu-branches/ubuntu/vivid/mygui/vivid

« back to all changes in this revision

Viewing changes to Tools/SkinEditor/SeparatorListControl.h

  • Committer: Package Import Robot
  • Author(s): Scott Howard, Bret Curtis, Scott Howard
  • Date: 2014-09-18 17:57:48 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140918175748-dd8va78mvpw1jbes
Tags: 3.2.1-1
[ Bret Curtis ]
* Updated license for majority of files from LGPL to Expat (MIT)

[ Scott Howard ]
* New upstream release
* Updated patch to add build option for system GLEW libraries
* All patches accepted upstream except shared_libraries.patch
* Bumped SONAME due to dropped symbols, updated *.symbols and package
  names
* Updated license of debian/* to Expat with permission of all authors
* Don't install Doxygen autogenerated md5 and map files (thanks
  lintian)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*!
2
 
        @file
3
 
        @author         Albert Semenov
4
 
        @date           08/2010
5
 
*/
6
 
#ifndef __SEPARATOR_LIST_CONTROL_H__
7
 
#define __SEPARATOR_LIST_CONTROL_H__
8
 
 
9
 
#include "BaseLayout/BaseLayout.h"
10
 
#include "SkinItem.h"
11
 
#include "PropertyAdvisor.h"
12
 
 
13
 
namespace tools
14
 
{
15
 
 
16
 
        class SeparatorListControl :
17
 
                public wraps::BaseLayout,
18
 
                public PropertyAdvisor
19
 
        {
20
 
        public:
21
 
                SeparatorListControl(MyGUI::Widget* _parent);
22
 
                virtual ~SeparatorListControl();
23
 
 
24
 
        private:
25
 
                void notifyChangePosition(MyGUI::ListBox* _sender, size_t _index);
26
 
                void notifyComboChangePosition(MyGUI::ComboBox* _sender, size_t _index);
27
 
 
28
 
                virtual void updateSeparatorProperties();
29
 
                virtual void updateSkinProperties();
30
 
 
31
 
                virtual void updateSeparatorProperty(Property* _sender, const MyGUI::UString& _owner);
32
 
 
33
 
                void updateList();
34
 
 
35
 
                void fillPresets();
36
 
                void updatePreset();
37
 
 
38
 
        private:
39
 
                MyGUI::UString mTypeName;
40
 
 
41
 
                MyGUI::ListBox* mList;
42
 
                MyGUI::ComboBox* mPresets;
43
 
        };
44
 
 
45
 
} // namespace tools
46
 
 
47
 
#endif // __SEPARATOR_LIST_CONTROL_H__
 
1
/*!
 
2
        @file
 
3
        @author         Albert Semenov
 
4
        @date           07/2012
 
5
*/
 
6
 
 
7
#ifndef _655d5259_42ad_447e_a3bc_17890df040c2_
 
8
#define _655d5259_42ad_447e_a3bc_17890df040c2_
 
9
 
 
10
#include "Control.h"
 
11
#include "Data.h"
 
12
#include "ListBoxDataControl.h"
 
13
 
 
14
namespace tools
 
15
{
 
16
 
 
17
        class SeparatorListControl :
 
18
                public Control,
 
19
                public sigslot::has_slots<>
 
20
        {
 
21
        public:
 
22
                SeparatorListControl();
 
23
                virtual ~SeparatorListControl();
 
24
 
 
25
        protected:
 
26
                virtual void OnInitialise(Control* _parent, MyGUI::Widget* _place, const std::string& _layoutName);
 
27
 
 
28
        private:
 
29
                ListBoxDataControl* mListBoxControl;
 
30
        };
 
31
 
 
32
}
 
33
 
 
34
#endif