MyGUI: MyGUI_ResourceImageSetData.h Source File

MyGUI 3.2.2

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 {
17 IndexImage() :
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;
32 IntSize size;
33 VectorIndexImage indexes;
34 };
35 typedef std::vector<GroupImage> VectorGroupImage;
36 typedef Enumerator<VectorGroupImage> EnumeratorGroupImage;
37
38 } // namespace MyGUI
39
40 #endif // MYGUI_RESOURCE_IMAGE_SET_DATA_H_
MyGUI::VectorGroupImage
std::vector< GroupImage > VectorGroupImage
Definition: MyGUI_ResourceImageSetData.h:35
MyGUI::IndexImage::name
std::string name
Definition: MyGUI_ResourceImageSetData.h:22
MyGUI::IndexImage::IndexImage
IndexImage()
Definition: MyGUI_ResourceImageSetData.h:17
MyGUI::GroupImage::indexes
VectorIndexImage indexes
Definition: MyGUI_ResourceImageSetData.h:33
MyGUI::VectorIndexImage
std::vector< IndexImage > VectorIndexImage
Definition: MyGUI_ResourceImageSetData.h:26
MyGUI::GroupImage::texture
std::string texture
Definition: MyGUI_ResourceImageSetData.h:31
MyGUI_Prerequest.h
MyGUI::IndexImage
Definition: MyGUI_ResourceImageSetData.h:15
MyGUI::GroupImage
Definition: MyGUI_ResourceImageSetData.h:28
MyGUI::Enumerator
Definition: MyGUI_Enumerator.h:48
MyGUI::types::TSize< int >
MyGUI::GroupImage::name
std::string name
Definition: MyGUI_ResourceImageSetData.h:30
MyGUI::IndexImage::frames
std::vector< IntPoint > frames
Definition: MyGUI_ResourceImageSetData.h:24
MyGUI::GroupImage::size
IntSize size
Definition: MyGUI_ResourceImageSetData.h:32
MyGUI::IndexImage::rate
float rate
Definition: MyGUI_ResourceImageSetData.h:23
MyGUI::EnumeratorGroupImage
Enumerator< VectorGroupImage > EnumeratorGroupImage
Definition: MyGUI_ResourceImageSetData.h:36
MyGUI
Definition: MyGUI_ActionController.h:14