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

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

Public Member Functions

constexpr FocusEvent (bool gained_focus)
 
constexpr auto is_focus_in () const
 
constexpr auto is_focus_out () const
 
auto operator== (FocusEvent const &) const -> bool=default
 

Static Public Member Functions

static constexpr auto focus_in () -> FocusEvent
 
static constexpr auto focus_out () -> FocusEvent
 

Friends

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

Constructor & Destructor Documentation

◆ FocusEvent()

ttx::FocusEvent::FocusEvent ( bool gained_focus)
inlineexplicitconstexpr

Member Function Documentation

◆ focus_in()

static constexpr auto ttx::FocusEvent::focus_in ( ) -> FocusEvent
inlinestaticconstexpr

◆ focus_out()

static constexpr auto ttx::FocusEvent::focus_out ( ) -> FocusEvent
inlinestaticconstexpr

◆ is_focus_in()

auto ttx::FocusEvent::is_focus_in ( ) const
inlineconstexpr

◆ is_focus_out()

auto ttx::FocusEvent::is_focus_out ( ) const
inlineconstexpr

◆ operator==()

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

Friends And Related Symbol Documentation

◆ tag_invoke

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

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