mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-15 23:48:15 +08:00
Reverse selection are now possible
This commit is contained in:

committed by
ArthurSonzogni

parent
92586f76bc
commit
437439c945
@@ -15,6 +15,7 @@ struct Box {
|
||||
static auto Intersection(Box a, Box b) -> Box;
|
||||
static auto Union(Box a, Box b) -> Box;
|
||||
bool Contain(int x, int y) const;
|
||||
Box Clean() const;
|
||||
bool IsEmpty() const;
|
||||
bool operator==(const Box& other) const;
|
||||
bool operator!=(const Box& other) const;
|
||||
|
@@ -65,6 +65,7 @@ class Screen : public Image {
|
||||
|
||||
bool selection_enabled = false;
|
||||
CapturedMouse selection_pending;
|
||||
Box mouse_selection_region;
|
||||
Box selection_region;
|
||||
std::string selection_text;
|
||||
|
||||
|
Reference in New Issue
Block a user