MyGUI: MyGUI_ResourceImageSetData.h Source File

MyGUI 3.4.2

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files
- Examples

- File List
- Globals

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
12namespace 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_Prerequest.h
MyGUI::Enumerator
Definition MyGUI_Enumerator.h:49
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::VectorIndexImage
std::vector< IndexImage > VectorIndexImage
Definition MyGUI_ResourceImageSetData.h:26
MyGUI::EnumeratorGroupImage
Enumerator< VectorGroupImage > EnumeratorGroupImage
Definition MyGUI_ResourceImageSetData.h:36
MyGUI::VectorGroupImage
std::vector< GroupImage > VectorGroupImage
Definition MyGUI_ResourceImageSetData.h:35
MyGUI::GroupImage
Definition MyGUI_ResourceImageSetData.h:29
MyGUI::GroupImage::indexes
VectorIndexImage indexes
Definition MyGUI_ResourceImageSetData.h:33
MyGUI::GroupImage::texture
std::string texture
Definition MyGUI_ResourceImageSetData.h:31
MyGUI::GroupImage::size
IntSize size
Definition MyGUI_ResourceImageSetData.h:32
MyGUI::GroupImage::name
std::string name
Definition MyGUI_ResourceImageSetData.h:30
MyGUI::IndexImage
Definition MyGUI_ResourceImageSetData.h:16
MyGUI::IndexImage::IndexImage
IndexImage()
Definition MyGUI_ResourceImageSetData.h:17
MyGUI::IndexImage::rate
float rate
Definition MyGUI_ResourceImageSetData.h:23
MyGUI::IndexImage::frames
std::vector< IntPoint > frames
Definition MyGUI_ResourceImageSetData.h:24
MyGUI::IndexImage::name
std::string name
Definition MyGUI_ResourceImageSetData.h:22
MyGUI::types::TSize< int >