MyGUI_ResourceImageSetData.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_RESOURCE_IMAGE_SET_DATA_H_
#define MYGUI_RESOURCE_IMAGE_SET_DATA_H_
#include "MyGUI_Prerequest.h"
namespace MyGUI
{
struct IndexImage
{
std::string name;
float rate{0};
std::vector<IntPoint> frames;
};
using VectorIndexImage = std::vector<IndexImage>;
struct GroupImage
{
std::string name;
std::string texture;
IntSize size;
VectorIndexImage indexes;
};
using VectorGroupImage = std::vector<GroupImage>;
using EnumeratorGroupImage = Enumerator<VectorGroupImage>;
} // namespace MyGUI
#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