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

« back to all changes in this revision

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