Host-neutral model of the single Win32 capture bracket owned by an editor. More...
#include <win_pointer_input.hpp>
Classes | |
| struct | Terminal |
Public Types | |
| enum class | Phase { idle , raw , gesture_candidate , gesture_claimed , terminal } |
Public Member Functions | |
| bool | begin (MouseButton button) noexcept |
| bool | active () const noexcept |
| bool | accepts (MouseButton button) const noexcept |
| bool | accepts (uint64_t generation, MouseButton button) const noexcept |
| bool | gesture_in_flight () const noexcept |
| bool | claimed () const noexcept |
| MouseButton | button () const noexcept |
| Phase | phase () const noexcept |
| uint64_t | generation () const noexcept |
| void | mark_claimed () noexcept |
| Terminal | terminalize () noexcept |
| void | finish_terminal (const Terminal &terminal) noexcept |
Host-neutral model of the single Win32 capture bracket owned by an editor.
Win32 can synchronously re-enter the wndproc from capture calls and view callbacks, so transitions must be visible before those calls happen.
|
strong |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |