|
TachyonUI 1.1.0
High-performance UI for building tools.
|
How one CurveField or CurveEditor shows a CurveData: the channel worked on, the selection, the part in view, and what the user is doing in it. More...
#include <gui_controls/gui_curve_types.h>
Classes | |
| struct | HoverTarget |
| What's under the pointer, for its hover look: a key, else a handle, else a curve. More... | |
Public Attributes | |
| int | activeChannel = 0 |
| the one whose keys can be picked and added to | |
| std::unordered_set< ID > | selectedKeys |
| by stableID | |
Internal: kept between frames while the user works | |
| CurveRange | shown |
| the part of the plot in view | |
| bool | shownSet = false |
| false until the editor first opens: then range | |
| std::unordered_set< std::string > | collapsedGroups |
| the tree's closed groups, by path | |
| Gesture | playheadDrag |
| the ruler pressed | |
| bool | popupOpen = false |
| the field's editor window is open | |
| ID | popupID = ID::Invalid() |
| the part of the plot in view | |
| Gesture< std::vector< Curve > > | keyDrag |
| moving the selected keys; the curves as they were | |
| float2 | keyDragFrom {} |
| the time and value under the press | |
| bool | keyMoved = false |
| the part of the plot in view | |
| Gesture< std::vector< Curve > > | tangentDrag |
| a handle; the curves as they were | |
| ID | tangentKey = ID::Invalid() |
| the part of the plot in view | |
| bool | tangentOut = false |
| the leaving side's handle | |
| HoverPart< HoverTarget > | hover |
| the part of the plot in view | |
| Gesture< std::unordered_set< ID > > | boxSelect |
| the selection to go back to: before a Shift / Ctrl box, else none | |
| float2 | boxFrom {} |
| the part of the plot in view | |
| float2 | boxTo {} |
| in time and value | |
| Gesture< CurveRange > | pan |
| the middle button (or Alt + left) held over the plot; the view as it was | |
| ID | menuKey = ID::Invalid() |
| the key a right click opened the menu for | |
| float2 | menuAt {} |
| where the right click was, in time and value | |
| uint32_t | menuOpening = 0 |
| the context menu opening the menu was built for | |
| IntRect | plotRect {} |
| the plot's grid last frame, in screen pixels | |
| DoubleClickTracker | plotClicks |
| a double click on the plot adds a key | |
| float2 | lastClick {} |
| where the last click on the plot was, in pixels | |
| uint32_t | edits = 0 |
| counts the edits committed through this view, for CurveField's return | |
| uint32_t | editsSeen = 0 |
| the count CurveField last saw | |
| uint32_t | seenRevision = 0 |
| the curves' revision this view last built | |
How one CurveField or CurveEditor shows a CurveData: the channel worked on, the selection, the part in view, and what the user is doing in it.
Keep one per view, from frame to frame.
| int tachyon::CurveViewState::activeChannel = 0 |
the one whose keys can be picked and added to
| std::unordered_set<ID> tachyon::CurveViewState::selectedKeys |
by stableID
| CurveRange tachyon::CurveViewState::shown |
the part of the plot in view
| bool tachyon::CurveViewState::shownSet = false |
false until the editor first opens: then range
| std::unordered_set<std::string> tachyon::CurveViewState::collapsedGroups |
the tree's closed groups, by path
| Gesture tachyon::CurveViewState::playheadDrag |
the ruler pressed
| bool tachyon::CurveViewState::popupOpen = false |
the field's editor window is open
| ID tachyon::CurveViewState::popupID = ID::Invalid() |
the part of the plot in view
moving the selected keys; the curves as they were
| float2 tachyon::CurveViewState::keyDragFrom {} |
the time and value under the press
| bool tachyon::CurveViewState::keyMoved = false |
the part of the plot in view
| ID tachyon::CurveViewState::tangentKey = ID::Invalid() |
the part of the plot in view
| bool tachyon::CurveViewState::tangentOut = false |
the leaving side's handle
| HoverPart<HoverTarget> tachyon::CurveViewState::hover |
the part of the plot in view
the selection to go back to: before a Shift / Ctrl box, else none
| float2 tachyon::CurveViewState::boxFrom {} |
the part of the plot in view
| float2 tachyon::CurveViewState::boxTo {} |
in time and value
| Gesture<CurveRange> tachyon::CurveViewState::pan |
the middle button (or Alt + left) held over the plot; the view as it was
| ID tachyon::CurveViewState::menuKey = ID::Invalid() |
the key a right click opened the menu for
| float2 tachyon::CurveViewState::menuAt {} |
where the right click was, in time and value
| uint32_t tachyon::CurveViewState::menuOpening = 0 |
the context menu opening the menu was built for
| IntRect tachyon::CurveViewState::plotRect {} |
the plot's grid last frame, in screen pixels
| DoubleClickTracker tachyon::CurveViewState::plotClicks |
a double click on the plot adds a key
| float2 tachyon::CurveViewState::lastClick {} |
where the last click on the plot was, in pixels
| uint32_t tachyon::CurveViewState::edits = 0 |
counts the edits committed through this view, for CurveField's return
| uint32_t tachyon::CurveViewState::editsSeen = 0 |
the count CurveField last saw
| uint32_t tachyon::CurveViewState::seenRevision = 0 |
the curves' revision this view last built