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

« back to all changes in this revision

Viewing changes to Tools/SkinEditor/ChangeSkinSizeAction.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           07/2012
 
5
*/
 
6
 
 
7
#ifndef _b326e060_1d2c_4f1f_89cc_79cc0b385452_
 
8
#define _b326e060_1d2c_4f1f_89cc_79cc0b385452_
 
9
 
 
10
#include "ActionChangeDataProperty.h"
 
11
#include "Data.h"
 
12
 
 
13
namespace tools
 
14
{
 
15
 
 
16
        class ChangeSkinSizeAction :
 
17
                public ActionChangeDataProperty
 
18
        {
 
19
        public:
 
20
                ChangeSkinSizeAction();
 
21
                virtual ~ChangeSkinSizeAction();
 
22
 
 
23
                virtual void doAction();
 
24
                virtual void undoAction();
 
25
                virtual bool doMerge(Action* _action);
 
26
 
 
27
        private:
 
28
                typedef std::pair<PropertyPtr, std::string> PairProprty;
 
29
                typedef std::vector<PairProprty> VectorPairProperty;
 
30
                void storeRegionValues(DataPtr _skinData, VectorPairProperty& _store);
 
31
 
 
32
                void storeOldValues();
 
33
                void setNewValues();
 
34
 
 
35
        private:
 
36
                VectorPairProperty mOldValues;
 
37
        };
 
38
 
 
39
}
 
40
 
 
41
#endif