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

« back to all changes in this revision

Viewing changes to Tools/SkinEditor/SettingsResourcePathsControl.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           09/2010
5
 
*/
6
 
#ifndef __SETTINGS_RESOURCE_PATHS_CONTROL_H__
7
 
#define __SETTINGS_RESOURCE_PATHS_CONTROL_H__
8
 
 
9
 
#include "BaseLayout/BaseLayout.h"
10
 
#include "Tools/OpenSaveFileDialog.h"
11
 
 
12
 
namespace tools
13
 
{
14
 
        class SettingsResourcePathsControl :
15
 
                public wraps::BaseLayout
16
 
        {
17
 
        public:
18
 
                SettingsResourcePathsControl(MyGUI::Widget* _parent = nullptr);
19
 
                virtual ~SettingsResourcePathsControl();
20
 
 
21
 
                void loadSettings();
22
 
                void saveSettings();
23
 
 
24
 
        private:
25
 
                void notifyClickResourcePathAdd(MyGUI::Widget* _sender);
26
 
                void notifyClickResourcePathDelete(MyGUI::Widget* _sender);
27
 
 
28
 
                void notifyEndDialogOpenSaveFile(Dialog* _sender, bool _result);
29
 
 
30
 
        private:
31
 
                MyGUI::Button* mResourcePathAdd;
32
 
                MyGUI::Button* mResourcePathDelete;
33
 
                MyGUI::ListBox* mResourcePaths;
34
 
 
35
 
                OpenSaveFileDialog* mOpenSaveFileDialog;
36
 
        };
37
 
 
38
 
} // namespace tools
39
 
 
40
 
#endif // __SETTINGS_RESOURCE_PATHS_CONTROL_H__
 
1
/*!
 
2
        @file
 
3
        @author         Albert Semenov
 
4
        @date           09/2010
 
5
*/
 
6
 
 
7
#ifndef _a5f70053_8679_4663_81f8_928be16e5873_
 
8
#define _a5f70053_8679_4663_81f8_928be16e5873_
 
9
 
 
10
#include "Control.h"
 
11
#include "OpenSaveFileDialog.h"
 
12
 
 
13
namespace tools
 
14
{
 
15
 
 
16
        class SettingsResourcePathsControl :
 
17
                public Control,
 
18
                public sigslot::has_slots<>
 
19
        {
 
20
        public:
 
21
                SettingsResourcePathsControl();
 
22
                virtual ~SettingsResourcePathsControl();
 
23
 
 
24
        protected:
 
25
                virtual void OnInitialise(Control* _parent, MyGUI::Widget* _place, const std::string& _layoutName);
 
26
                virtual void OnCommand(const std::string& _command);
 
27
 
 
28
        private:
 
29
                void loadSettings();
 
30
                void saveSettings();
 
31
 
 
32
                void notifyClickAdd(MyGUI::Widget* _sender);
 
33
                void notifyClickDelete(MyGUI::Widget* _sender);
 
34
 
 
35
                void notifyEndDialogOpenSaveFile(Dialog* _sender, bool _result);
 
36
 
 
37
        private:
 
38
                MyGUI::Button* mResourcePathAdd;
 
39
                MyGUI::Button* mResourcePathDelete;
 
40
                MyGUI::ListBox* mResourcePaths;
 
41
 
 
42
                OpenSaveFileDialog* mOpenSaveFileDialog;
 
43
        };
 
44
 
 
45
}
 
46
 
 
47
#endif