Add focusable Renderer. (#173)

This commit is contained in:
Arthur Sonzogni
2021-08-06 20:32:33 +02:00
committed by GitHub
parent 26e26fd41a
commit 3f005d7715
19 changed files with 151 additions and 68 deletions

View File

@@ -51,6 +51,7 @@ Component ResizableSplitTop(Component main, Component back, int* main_size);
Component ResizableSplitBottom(Component main, Component back, int* main_size);
Component Renderer(Component child, std::function<Element()>);
Component Renderer(std::function<Element()>);
Component Renderer(std::function<Element(bool /* focused */)>);
Component CatchEvent(Component child, std::function<bool(Event)>);
namespace Container {