mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
More forgiving selection options
This commit is contained in:
committed by
ArthurSonzogni
parent
f21cfd45b7
commit
d755ab31f1
@@ -19,7 +19,10 @@ struct SelectionOption {
|
|||||||
static SelectionOption Simple();
|
static SelectionOption Simple();
|
||||||
|
|
||||||
// Style:
|
// Style:
|
||||||
std::function<void(Pixel& pixel)> transform ;
|
std::function<void(Pixel& pixel)> transform = [](Pixel& pixel) {
|
||||||
|
|
||||||
|
pixel.inverted = true;
|
||||||
|
};
|
||||||
|
|
||||||
// Observers:
|
// Observers:
|
||||||
/// Called when the selection changed.
|
/// Called when the selection changed.
|
||||||
|
|||||||
Reference in New Issue
Block a user