ttx 0.1.0
Loading...
Searching...
No Matches
ttx::MouseCoordinate Class Reference

#include </home/runner/work/ttx/ttx/lib/include/ttx/mouse.h>

Public Member Functions

 MouseCoordinate ()=default
 
constexpr MouseCoordinate (u32 x, u32 y)
 
constexpr auto x () const -> u32
 
constexpr auto y () const -> u32
 
auto operator== (MouseCoordinate const &) const -> bool=default
 

Friends

constexpr friend auto tag_invoke (di::Tag< di::reflect >, di::InPlaceType< MouseCoordinate >)
 

Constructor & Destructor Documentation

◆ MouseCoordinate() [1/2]

ttx::MouseCoordinate::MouseCoordinate ( )
default

◆ MouseCoordinate() [2/2]

ttx::MouseCoordinate::MouseCoordinate ( u32 x,
u32 y )
inlineconstexpr

Member Function Documentation

◆ operator==()

auto ttx::MouseCoordinate::operator== ( MouseCoordinate const & ) const -> bool=default
default

◆ x()

auto ttx::MouseCoordinate::x ( ) const -> u32
inlineconstexpr

◆ y()

auto ttx::MouseCoordinate::y ( ) const -> u32
inlineconstexpr

Friends And Related Symbol Documentation

◆ tag_invoke

friend auto tag_invoke ( di::Tag< di::reflect > ,
di::InPlaceType< MouseCoordinate >  )
friend

The documentation for this class was generated from the following file: