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_MACROS_H__ 00008 #define __MYGUI_MACROS_H__ 00009 00010 #include "MyGUI_Prerequest.h" 00011 #include <limits> 00012 #include <stddef.h> 00013 00014 namespace MyGUI 00015 { 00016 00017 const size_t ITEM_NONE = (std::numeric_limits<size_t>::max)(); 00018 const int DEFAULT = -1; 00019 const float ALPHA_MAX = 1.0f; 00020 const float ALPHA_MIN = 0.0f; 00021 00022 //FIXME заменить на шаблоны 00023 #define MYGUI_FLAG_NONE 0 00024 #define MYGUI_FLAG(num) (1<<(num)) 00025 00026 } // namespace MyGUI 00027 00028 #endif // __MYGUI_MACROS_H__