Keyboard.cpp File Reference

#include <common/Keyboard.h>
#include <common/Defines.h>
#include <XML/XMLFile.h>

Go to the source code of this file.

Defines

#define UTF16_IS_HIGH_SURROGATE(U)   ((Uint16)((U) - 0xD800) < 0x0400)
#define UTF16_IS_LOW_SURROGATE(U)   ((Uint16)((U) - 0xDC00) < 0x0400)
#define UTF16_SURROGATE_PAIR_TO_UTF32(H, L)   (((H) << 10) + (L) - (0xD800 << 10) - 0xDC00 + 0x00010000)


Define Documentation

#define UTF16_IS_HIGH_SURROGATE (  )     ((Uint16)((U) - 0xD800) < 0x0400)

Definition at line 79 of file Keyboard.cpp.

Referenced by Keyboard::handleUnicodeUTF16().

#define UTF16_IS_LOW_SURROGATE (  )     ((Uint16)((U) - 0xDC00) < 0x0400)

Definition at line 80 of file Keyboard.cpp.

Referenced by Keyboard::handleUnicodeUTF16().

#define UTF16_SURROGATE_PAIR_TO_UTF32 ( H,
 )     (((H) << 10) + (L) - (0xD800 << 10) - 0xDC00 + 0x00010000)

Definition at line 81 of file Keyboard.cpp.

Referenced by Keyboard::handleUnicodeUTF16().


Generated on Mon Feb 16 15:14:57 2009 for Scorched3D by  doxygen 1.5.3