HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields | Friends
tt::HitBox Struct Reference

Public Types

enum class  Type : uint8_t {
  Outside , Default , Button , TextEdit ,
  MoveArea , BottomResizeBorder , TopResizeBorder , LeftResizeBorder ,
  RightResizeBorder , BottomLeftResizeCorner , BottomRightResizeCorner , TopLeftResizeCorner ,
  TopRightResizeCorner , ApplicationIcon
}
 

Public Member Functions

 HitBox (Widget const *widget=nullptr, float elevation=-std::numeric_limits< float >::max(), Type type=Type::Outside) noexcept
 

Data Fields

Widget const * widget
 
float elevation
 
Type type
 

Friends

bool operator== (HitBox const &lhs, HitBox const &rhs) noexcept
 
bool operator!= (HitBox const &lhs, HitBox const &rhs) noexcept
 
bool operator< (HitBox const &lhs, HitBox const &rhs) noexcept
 
bool operator> (HitBox const &lhs, HitBox const &rhs) noexcept
 
bool operator<= (HitBox const &lhs, HitBox const &rhs) noexcept
 
bool operator>= (HitBox const &lhs, HitBox const &rhs) noexcept
 

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