// Copyright (C) 2012 Jérôme Leclercq // This file is part of the "Nazara Engine - Utility module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_INPUTIMPL_HPP #define NAZARA_INPUTIMPL_HPP #include #include #include #include class NzEventImpl { public: static NzString GetKeyName(NzKeyboard::Key key); static NzVector2i GetMousePosition(); static NzVector2i GetMousePosition(const NzWindow& relativeTo); static bool IsKeyPressed(NzKeyboard::Key key); static bool IsMouseButtonPressed(NzMouse::Button button); static void SetMousePosition(int x, int y); static void SetMousePosition(int x, int y, const NzWindow& relativeTo); }; #endif // NAZARA_INPUTIMPL_HPP