MyGUI
3.4.0
MyGUIEngine
include
MyGUI_Constants.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_CONSTANTS_H_
8
#define MYGUI_CONSTANTS_H_
9
10
#include "
MyGUI_Prerequest.h
"
11
#include "
MyGUI_UString.h
"
12
#include "
MyGUI_Types.h
"
13
14
namespace
MyGUI
15
{
16
17
class
MYGUI_EXPORT
Constants
18
{
19
public
:
20
static
const
UString
&
getEmptyUString
()
21
{
22
return
mUString;
23
}
24
static
const
std::string&
getEmptyString
()
25
{
26
return
mString;
27
}
28
static
const
IntSize
&
getZeroIntSize
()
29
{
30
return
mIntSize;
31
}
32
static
const
IntPoint
&
getZeroIntPoint
()
33
{
34
return
mIntPoint;
35
}
36
37
private
:
38
static
UString
mUString;
39
static
std::string mString;
40
static
IntSize
mIntSize;
41
static
IntPoint
mIntPoint;
42
};
43
44
}
// namespace MyGUI
45
46
#endif // MYGUI_CONSTANTS_H_
MyGUI_UString.h
MyGUI::Constants::getZeroIntSize
static const IntSize & getZeroIntSize()
Definition:
MyGUI_Constants.h:28
MyGUI::Constants
Definition:
MyGUI_Constants.h:18
MyGUI::types::TPoint< int >
MyGUI::Constants::getZeroIntPoint
static const IntPoint & getZeroIntPoint()
Definition:
MyGUI_Constants.h:32
MyGUI::UString
A UTF-16 string with implicit conversion to/from std::string and std::wstring.
Definition:
MyGUI_UString.h:168
MyGUI_Prerequest.h
MyGUI::Constants::getEmptyString
static const std::string & getEmptyString()
Definition:
MyGUI_Constants.h:24
MyGUI::types::TSize< int >
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition:
MyGUI_Platform.h:89
MyGUI_Types.h
MyGUI::Constants::getEmptyUString
static const UString & getEmptyUString()
Definition:
MyGUI_Constants.h:20
MyGUI
Definition:
MyGUI_ActionController.h:15
Generated by
1.8.20