TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_input_handler_func.h File Reference
#include <gui_core/gui_id.h>
#include <gui_core/gui_base_types.h>
#include <gui_core/input/gui_input_enums.h>
#include <functional>

Go to the source code of this file.

Classes

struct  tachyon::ElementEvent
 An input event delivered to an element's EventHandler. More...

Namespaces

namespace  tachyon

Typedefs

using tachyon::EventHandler = std::function<bool(ElementEvent&& input)>
 Element-level input handler used by the immediate-mode dispatcher; returns true when it consumed the event.

Functions

EventHandler tachyon::Chain (EventHandler first, EventHandler second)
 A handler that tries first, then second when first returns false.