TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::uint2 Struct Reference

#include <gui_core/gui_base_types.h>

Public Member Functions

uint32_t & operator[] (int index)
const uint32_t & operator[] (int index) const
bool operator== (const uint2 &other) const
bool operator!= (const uint2 &other) const
uint2 operator- (const uint2 &other) const
uint2 operator+ (const uint2 &other) const
uint2 & operator-= (const uint2 &other)
uint2 & operator+= (const uint2 &other)

Public Attributes

uint32_t x = 0
uint32_t y = 0

Member Function Documentation

◆ operator[]() [1/2]

uint32_t & tachyon::uint2::operator[] ( int index)
inline

◆ operator[]() [2/2]

const uint32_t & tachyon::uint2::operator[] ( int index) const
inline

◆ operator==()

bool tachyon::uint2::operator== ( const uint2 & other) const
inline

◆ operator!=()

bool tachyon::uint2::operator!= ( const uint2 & other) const
inline

◆ operator-()

uint2 tachyon::uint2::operator- ( const uint2 & other) const
inline

◆ operator+()

uint2 tachyon::uint2::operator+ ( const uint2 & other) const
inline

◆ operator-=()

uint2 & tachyon::uint2::operator-= ( const uint2 & other)
inline

◆ operator+=()

uint2 & tachyon::uint2::operator+= ( const uint2 & other)
inline

Member Data Documentation

◆ x

uint32_t tachyon::uint2::x = 0

◆ y

uint32_t tachyon::uint2::y = 0

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