MyGUI 3.5.3
MyGUI_ImageInfo.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_IMAGE_INFO_H_
8#define MYGUI_IMAGE_INFO_H_
9
10#include "MyGUI_Prerequest.h"
11#include "MyGUI_Types.h"
12
13namespace MyGUI
14{
15
16 struct ImageItem
17 {
18 float frame_rate{0};
19 std::vector<FloatRect> images;
20 };
21
22 using VectorImages = std::vector<ImageItem>;
23
24 struct MYGUI_EXPORT ImageIndexInfo
25 {
26 std::string_view texture;
27 IntSize size;
28 float rate{};
29 std::vector<IntPoint> frames;
30 };
31
32} // namespace MyGUI
33
34#endif // MYGUI_IMAGE_INFO_H_
#define MYGUI_EXPORT
types::TSize< int > IntSize
Definition MyGUI_Types.h:29
std::vector< ImageItem > VectorImages
std::vector< FloatRect > images