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

« back to all changes in this revision

Viewing changes to Tools/LayoutEditor/PanelExtensionProperties.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           12/2010
5
 
*/
6
 
#ifndef __PANEL_EXTENSION_PROPERTIES_H__
7
 
#define __PANEL_EXTENSION_PROPERTIES_H__
8
 
 
9
 
#include "BaseLayout/BaseLayout.h"
10
 
#include "PanelView/BasePanelViewItem.h"
11
 
#include "WidgetTypes.h"
12
 
#include "WidgetContainer.h"
13
 
#include "IPropertyField.h"
14
 
 
15
 
namespace tools
16
 
{
17
 
        class PanelExtensionProperties :
18
 
                public wraps::BasePanelViewItem
19
 
        {
20
 
        public:
21
 
                PanelExtensionProperties();
22
 
 
23
 
                virtual void initialise();
24
 
                virtual void shutdown();
25
 
 
26
 
                void update(MyGUI::Widget* _currentWidget);
27
 
 
28
 
        private:
29
 
                void notifyAction(const std::string& _name, const std::string& _value, bool _final);
30
 
 
31
 
                void AddParametrs(WidgetStyle* widgetType, WidgetContainer* widgetContainer, MyGUI::Widget* _currentWidget);
32
 
                void destroyPropertyFields();
33
 
 
34
 
                void updateSize();
35
 
 
36
 
        private:
37
 
                typedef std::vector<IPropertyField*> VectorPropertyField;
38
 
                VectorPropertyField mFields;
39
 
                MyGUI::Widget* mCurrentWidget;
40
 
        };
41
 
 
42
 
} // namespace tools
43
 
 
44
 
#endif // __PANEL_EXTENSION_PROPERTIES_H__
 
1
/*!
 
2
        @file
 
3
        @author         Albert Semenov
 
4
        @date           12/2010
 
5
*/
 
6
 
 
7
#ifndef _cb28cb28_cd8a_4233_9919_9860bf4f1bb2_
 
8
#define _cb28cb28_cd8a_4233_9919_9860bf4f1bb2_
 
9
 
 
10
#include "BaseLayout/BaseLayout.h"
 
11
#include "PanelView/BasePanelViewItem.h"
 
12
#include "WidgetTypes.h"
 
13
#include "WidgetContainer.h"
 
14
#include "IPropertyField.h"
 
15
 
 
16
namespace tools
 
17
{
 
18
 
 
19
        class PanelExtensionProperties :
 
20
                public wraps::BasePanelViewItem
 
21
        {
 
22
        public:
 
23
                PanelExtensionProperties();
 
24
 
 
25
                virtual void initialise();
 
26
                virtual void shutdown();
 
27
 
 
28
                void update(MyGUI::Widget* _currentWidget);
 
29
 
 
30
        private:
 
31
                void notifyAction(const std::string& _name, const std::string& _value, bool _final);
 
32
 
 
33
                void AddParametrs(WidgetStyle* widgetType, WidgetContainer* widgetContainer, MyGUI::Widget* _currentWidget);
 
34
                void destroyPropertyFields();
 
35
 
 
36
                void updateSize();
 
37
 
 
38
        private:
 
39
                typedef std::vector<IPropertyField*> VectorPropertyField;
 
40
                VectorPropertyField mFields;
 
41
                MyGUI::Widget* mCurrentWidget;
 
42
        };
 
43
 
 
44
}
 
45
 
 
46
#endif