MyGUI
3.2.1
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
mygui
MyGUIEngine
include
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
12
namespace
MyGUI
13
{
14
15
struct
ImageItem
16
{
17
public
:
18
ImageItem
() :
19
frame_rate
(0)
20
{
21
}
22
23
public
:
24
float
frame_rate
;
25
std::vector<FloatRect>
images
;
26
};
27
28
typedef
std::vector<ImageItem>
VectorImages
;
29
30
struct
MYGUI_EXPORT
ImageIndexInfo
31
{
32
public
:
33
ImageIndexInfo
(
const
std::string& _texture,
const
IntSize
& _size,
const
float
_rate,
const
std::vector<IntPoint>& _frames) :
34
texture(_texture),
35
size(_size),
36
rate(_rate),
37
frames(_frames)
38
{
39
}
40
41
public
:
42
const
std::string&
texture
;
43
const
IntSize
&
size
;
44
const
float
rate
;
45
const
std::vector<IntPoint>&
frames
;
46
};
47
48
}
// namespace MyGUI
49
50
#endif // __MYGUI_IMAGE_INFO_H__
Generated on Wed Aug 20 2014 00:03:32 for MyGUI by
1.8.3.1