MyGUI: MyGUI_ResourceImageSetData.h Source File

MyGUI 3.4.3

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 std::string name;
18 float rate{0};
19 std::vector<IntPoint> frames;
20 };
21 using VectorIndexImage = std::vector<IndexImage>;
22
23 struct GroupImage
24 {
25 std::string name;
26 std::string texture;
27 IntSize size;
28 VectorIndexImage indexes;
29 };
30 using VectorGroupImage = std::vector<GroupImage>;
31 using EnumeratorGroupImage = Enumerator<VectorGroupImage>;
32
33} // namespace MyGUI
34
35#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:21
MyGUI::IntSize
types::TSize< int > IntSize
Definition MyGUI_Types.h:30
MyGUI::EnumeratorGroupImage
Enumerator< VectorGroupImage > EnumeratorGroupImage
Definition MyGUI_ResourceImageSetData.h:31
MyGUI::VectorGroupImage
std::vector< GroupImage > VectorGroupImage
Definition MyGUI_ResourceImageSetData.h:30
MyGUI::GroupImage
Definition MyGUI_ResourceImageSetData.h:24
MyGUI::GroupImage::indexes
VectorIndexImage indexes
Definition MyGUI_ResourceImageSetData.h:28
MyGUI::GroupImage::texture
std::string texture
Definition MyGUI_ResourceImageSetData.h:26
MyGUI::GroupImage::size
IntSize size
Definition MyGUI_ResourceImageSetData.h:27
MyGUI::GroupImage::name
std::string name
Definition MyGUI_ResourceImageSetData.h:25
MyGUI::IndexImage
Definition MyGUI_ResourceImageSetData.h:16
MyGUI::IndexImage::rate
float rate
Definition MyGUI_ResourceImageSetData.h:18
MyGUI::IndexImage::frames
std::vector< IntPoint > frames
Definition MyGUI_ResourceImageSetData.h:19
MyGUI::IndexImage::name
std::string name
Definition MyGUI_ResourceImageSetData.h:17