FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
Box Struct Reference

#include <box.hpp>

Public Member Functions

void Shift (int x, int y)
 
bool Contain (int x, int y) const
 
bool IsEmpty () const
 
bool operator== (const Box &other) const
 
bool operator!= (const Box &other) const
 

Static Public Member Functions

static auto Intersection (Box a, Box b) -> Box
 
static auto Union (Box a, Box b) -> Box
 

Public Attributes

int x_min = 0
 
int x_max = 0
 
int y_min = 0
 
int y_max = 0
 

Detailed Description

Definition at line 9 of file box.hpp.

Member Data Documentation

◆ x_min

int x_min = 0

Definition at line 10 of file box.hpp.

◆ x_max

int x_max = 0

Definition at line 11 of file box.hpp.

◆ y_min

int y_min = 0

Definition at line 12 of file box.hpp.

◆ y_max

int y_max = 0

Definition at line 13 of file box.hpp.


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