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

« back to all changes in this revision

Viewing changes to Tools/EditorFramework/PropertyInt2Control.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
 
 
7
#ifndef _b3697c6a_b56b_4edd_b9e0_1f2e871d0da1_
 
8
#define _b3697c6a_b56b_4edd_b9e0_1f2e871d0da1_
 
9
 
 
10
#include "PropertyControl.h"
 
11
 
 
12
namespace tools
 
13
{
 
14
 
 
15
        class MYGUI_EXPORT_DLL PropertyInt2Control :
 
16
                public PropertyControl
 
17
        {
 
18
        public:
 
19
                PropertyInt2Control();
 
20
                virtual ~PropertyInt2Control();
 
21
 
 
22
        protected:
 
23
                virtual void updateCaption();
 
24
                virtual void updateProperty();
 
25
                virtual void OnInitialise(Control* _parent, MyGUI::Widget* _place, const std::string& _layoutName);
 
26
 
 
27
        private:
 
28
                void notifyEditTextChange(MyGUI::EditBox* _sender);
 
29
 
 
30
                bool isValidate();
 
31
                MyGUI::UString getClearValue();
 
32
                void setColour(bool _validate);
 
33
 
 
34
        private:
 
35
                MyGUI::TextBox* mName;
 
36
                MyGUI::EditBox* mEdit;
 
37
        };
 
38
 
 
39
}
 
40
 
 
41
#endif