Mercurial > malikania
view libclient/malikania/mouse.hpp @ 52:4bc4732fa1dd
Client: add basic button, closes #601
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 15 Dec 2016 13:46:46 +0100 |
parents | |
children | 858621081b95 |
line wrap: on
line source
/* * mouse.hpp -- mouse definitions * * Copyright (c) 2013-2016 Malikania Authors * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #ifndef MALIKANIA_CLIENT_MOUSE_HPP #define MALIKANIA_CLIENT_MOUSE_HPP /** * \file mouse.hpp * \brief Mouse definitions. */ namespace mlk { /** * \brief Describe mouse button */ enum class mouse { none, //!< no buttons are pressed left, //!< left click is pressed right, //!< right click is pressed middle //!< middle click is pressed }; } // !mlk #endif // !MALIKANIA_CLIENT_MOUSE_HPP