MyGUI
3.4.2
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
MyGUIEngine
include
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 <cstddef>
13
#include <cstdint>
14
15
namespace
MyGUI
16
{
17
18
const
size_t
ITEM_NONE
= (std::numeric_limits<size_t>::max)();
19
const
int
DEFAULT
= -1;
20
const
float
ALPHA_MAX
= 1.0f;
21
const
float
ALPHA_MIN
= 0.0f;
22
23
const
int
MYGUI_FLAG_NONE
= 0;
24
constexpr
int
MYGUI_FLAG
(
uint8_t
num
) {
return
1 <<
num
; }
25
26
}
// namespace MyGUI
27
28
#endif
// MYGUI_MACROS_H_
MyGUI_Prerequest.h
MyGUI::Enumerator
Definition
MyGUI_Enumerator.h:49
MyGUI
Definition
MyGUI_ActionController.h:15
MyGUI::MYGUI_FLAG_NONE
const int MYGUI_FLAG_NONE
Definition
MyGUI_Macros.h:23
MyGUI::DEFAULT
const int DEFAULT
Definition
MyGUI_Macros.h:19
MyGUI::MYGUI_FLAG
constexpr int MYGUI_FLAG(uint8_t num)
Definition
MyGUI_Macros.h:24
MyGUI::ALPHA_MIN
const float ALPHA_MIN
Definition
MyGUI_Macros.h:21
MyGUI::ALPHA_MAX
const float ALPHA_MAX
Definition
MyGUI_Macros.h:20
MyGUI::ITEM_NONE
const size_t ITEM_NONE
Definition
MyGUI_Macros.h:18
Generated by
1.9.8