Gamp v0.0.7-36-g24b1eb6
Gamp: Graphics, Audio, Multimedia and Processing
Loading...
Searching...
No Matches
PointerEvent.hpp File Reference
#include <cstdint>
#include <vector>
#include <jau/basic_types.hpp>
#include <jau/bitfield.hpp>
#include <jau/cpp_lang_util.hpp>
#include <jau/enum_util.hpp>
#include <jau/fraction_type.hpp>
#include <jau/int_math_ct.hpp>
#include <jau/io_util.hpp>
#include <jau/math/vec2i.hpp>
#include <jau/math/vec3f.hpp>
#include <jau/string_util.hpp>
#include <gamp/GampTypes.hpp>
#include <gamp/wt/event/Event.hpp>
Include dependency graph for PointerEvent.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gamp::wt::event::PointerEvent
 Pointer event of type PointerType. More...
 
class  gamp::wt::event::PointerListener
 Listener for PointerEvent. More...
 

Namespaces

namespace  gamp
 Gamp: Graphics, Audio, Multimedia and Processing Framework (Native C++, WebAssembly, ...)
 
namespace  gamp::wt
 
namespace  gamp::wt::event
 

Typedefs

typedef std::shared_ptr< PointerListenergamp::wt::event::PointerListenerRef
 

Enumerations

enum class  gamp::wt::event::PointerClass : uint16_t { gamp::wt::event::PointerClass::none = 0 , gamp::wt::event::PointerClass::offscreen = 1U << 14 , gamp::wt::event::PointerClass::onscreen = 1U << 15 }
 Class of pointer types. More...
 
enum class  gamp::wt::event::PointerType : uint16_t {
  gamp::wt::event::PointerType::none = 0 , gamp::wt::event::PointerType::mouse = number(PointerClass::offscreen) | 1U << 0 , gamp::wt::event::PointerType::touchpad = number(PointerClass::offscreen) | 1U << 1 , gamp::wt::event::PointerType::touchscreen = number(PointerClass::onscreen) | 1U << 2 ,
  gamp::wt::event::PointerType::pen = number(PointerClass::offscreen) | 1U << 3
}
 Type of pointer devices. More...
 

Functions

constexpr PointerClass gamp::wt::event::getPointerClass (PointerType pt) noexcept
 
 gamp::wt::event::JAU_MAKE_ENUM_STRING (PointerClass, offscreen, onscreen)
 
 gamp::wt::event::JAU_MAKE_ENUM_STRING (PointerType, mouse, touchpad, touchscreen, pen)