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_CHILD_SKIN_INFO_H__ 00008 #define __MYGUI_CHILD_SKIN_INFO_H__ 00009 00010 #include "MyGUI_Prerequest.h" 00011 #include "MyGUI_WidgetStyle.h" 00012 00013 namespace MyGUI 00014 { 00015 00016 struct MYGUI_EXPORT ChildSkinInfo 00017 { 00018 public: 00019 ChildSkinInfo(); 00020 ChildSkinInfo(const std::string& _type, const WidgetStyle& _style, const std::string& _skin, const IntCoord& _coord, const Align& _align, const std::string& _layer, const std::string& _name); 00021 00022 void addParam(const std::string& _key, const std::string& _value); 00023 00024 public: 00025 std::string type, skin, name, layer; 00026 WidgetStyle style; 00027 IntCoord coord; 00028 Align align; 00029 MapString params; 00030 }; 00031 00032 typedef std::vector<ChildSkinInfo> VectorChildSkinInfo; 00033 00034 } // namespace MyGUI 00035 00036 00037 #endif // __MYGUI_CHILD_SKIN_INFO_H__