MyGUI  3.4.1
MyGUI_ResourceImageSetData.h
Go to the documentation of this file.
1 /*
2  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3  * Distributed under the MIT License
4  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5  */
6 
7 #ifndef MYGUI_RESOURCE_IMAGE_SET_DATA_H_
8 #define MYGUI_RESOURCE_IMAGE_SET_DATA_H_
9 
10 #include "MyGUI_Prerequest.h"
11 
12 namespace MyGUI
13 {
14 
15  struct IndexImage
16  {
18  rate(0)
19  {
20  }
21 
22  std::string name;
23  float rate;
24  std::vector<IntPoint> frames;
25  };
26  typedef std::vector<IndexImage> VectorIndexImage;
27 
28  struct GroupImage
29  {
30  std::string name;
31  std::string texture;
34  };
35  typedef std::vector<GroupImage> VectorGroupImage;
37 
38 } // namespace MyGUI
39 
40 #endif // MYGUI_RESOURCE_IMAGE_SET_DATA_H_
std::vector< IndexImage > VectorIndexImage
Enumerator< VectorGroupImage > EnumeratorGroupImage
std::vector< GroupImage > VectorGroupImage
std::vector< IntPoint > frames