MyGUI
3.2.1
|
00001 /* 00002 * This source file is part of MyGUI. For the latest info, see http://mygui.info/ 00003 * Distributed under the MIT License 00004 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) 00005 */ 00006 00007 #ifndef __MYGUI_RESOURCE_IMAGE_SET_DATA_H__ 00008 #define __MYGUI_RESOURCE_IMAGE_SET_DATA_H__ 00009 00010 #include "MyGUI_Prerequest.h" 00011 00012 namespace MyGUI 00013 { 00014 00015 struct IndexImage 00016 { 00017 IndexImage() : 00018 rate(0) 00019 { 00020 } 00021 00022 std::string name; 00023 float rate; 00024 std::vector<IntPoint> frames; 00025 }; 00026 typedef std::vector<IndexImage> VectorIndexImage; 00027 00028 struct GroupImage 00029 { 00030 std::string name; 00031 std::string texture; 00032 IntSize size; 00033 VectorIndexImage indexes; 00034 }; 00035 typedef std::vector<GroupImage> VectorGroupImage; 00036 typedef Enumerator<VectorGroupImage> EnumeratorGroupImage; 00037 00038 } // namespace MyGUI 00039 00040 #endif // __MYGUI_RESOURCE_IMAGE_SET_DATA_H__