Implemented a callback

This commit is contained in:
Clement Roblot
2024-08-02 22:45:50 +07:00
parent 465822523d
commit 27424d5c20
3 changed files with 15 additions and 11 deletions

View File

@@ -104,8 +104,8 @@ Element canvas(std::function<void(Canvas&)>);
Element bold(Element);
Element dim(Element);
Element inverted(Element);
Element selected(Region &selection, std::string &destination, Element);
Decorator selected(Region &selection, std::string &destination);
Element selected(Region &selection, std::string &destination, std::function<void(const std::string)> onSelectionChange, Element);
Decorator selected(Region &selection, std::string &destination, std::function<void(const std::string)> onSelectionChange);
Element underlined(Element);
Element underlinedDouble(Element);
Element blink(Element);