mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-29 14:45:53 +08:00
18 lines
268 B
C++
18 lines
268 B
C++
|
#ifndef FTXUI_SCREEN_BOX_HPP
|
||
|
#define FTXUI_SCREEN_BOX_HPP
|
||
|
|
||
|
namespace ftxui {
|
||
|
|
||
|
struct Box {
|
||
|
int x_min;
|
||
|
int x_max;
|
||
|
int y_min;
|
||
|
int y_max;
|
||
|
|
||
|
static Box Intersection(Box a, Box b);
|
||
|
};
|
||
|
|
||
|
}; // namespace ftxui
|
||
|
|
||
|
#endif /* end of include guard: FTXUI_SCREEN_BOX_HPP */
|