|
TachyonUI 1.1.0
High-performance UI for building tools.
|
What a control shows and one view of it, as the control takes them. More...
#include <gui_controls/gui_view_ref.h>
Public Member Functions | |
| BasicViewRef (Data &d, State &s) | |
| template<class View> requires std::is_convertible_v<View&, Data&> && std::is_convertible_v<View&, State&> | |
| BasicViewRef (View &view) | |
| template<class D, class S> requires std::is_convertible_v<D&, Data&> && std::is_convertible_v<S&, State&> | |
| BasicViewRef (const BasicViewRef< D, S > &other) | |
Public Attributes | |
| Data & | data |
| State & | state |
What a control shows and one view of it, as the control takes them.
A struct that is both (TimelineView, CurveView, PlotView) passes as one; for several views of the same data, keep the data once and a view state per view, and pass { data, state }.
TimelineData animation;
TimelineViewState left, right;
TimelineEditor({ animation, left });
TimelineEditor({ animation, right });
|
inline |
|
inline |
|
inline |
| Data& tachyon::BasicViewRef< Data, State >::data |
| State& tachyon::BasicViewRef< Data, State >::state |