MyGUI: MyGUI_Macros.h Source File

MyGUI 3.2.2

MyGUI_Macros.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_MACROS_H_
8 #define MYGUI_MACROS_H_
9
10 #include "MyGUI_Prerequest.h"
11 #include <limits>
12 #include <stddef.h>
13
14 namespace MyGUI
15 {
16
17 const size_t ITEM_NONE = (std::numeric_limits<size_t>::max)();
18 const int DEFAULT = -1;
19 const float ALPHA_MAX = 1.0f;
20 const float ALPHA_MIN = 0.0f;
21
22 //FIXME заменить на шаблоны
23 #define MYGUI_FLAG_NONE 0
24 #define MYGUI_FLAG(num) (1<<(num))
25
26 } // namespace MyGUI
27
28 #endif // MYGUI_MACROS_H_
MyGUI::ALPHA_MAX
const float ALPHA_MAX
Definition: MyGUI_Macros.h:19
MyGUI::ITEM_NONE
const size_t ITEM_NONE
Definition: MyGUI_Macros.h:17
MyGUI_Prerequest.h
MyGUI::DEFAULT
const int DEFAULT
Definition: MyGUI_Macros.h:18
MyGUI
Definition: MyGUI_ActionController.h:14
MyGUI::ALPHA_MIN
const float ALPHA_MIN
Definition: MyGUI_Macros.h:20