| 123456789101112131415161718192021222324252627282930313233 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsPrerequisites.h"
- #include "Input/BsInputFwd.h"
- #include "Math/BsVector2I.h"
- namespace bs
- {
- /** @addtogroup GUI
- * @{
- */
- /** A text input event representing input of a single character. */
- class BS_EXPORT GUITextInputEvent
- {
- public:
- GUITextInputEvent();
- /** Character code that was input. */
- const UINT32& getInputChar() const { return mInputChar; }
- private:
- friend class GUIManager;
- /** Initializes the event data with the character that was input. */
- void setData(UINT32 inputChar);
- UINT32 mInputChar;
- };
- /** @} */
- }
|