TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_view_state.h
Go to the documentation of this file.
1#pragma once
2
8
9#include <string>
10#include <string_view>
11
12namespace tachyon
13{
16
23
25 std::string SaveViewState(const NodeViewState& view);
26 bool RestoreViewState(NodeViewState& view, std::string_view state);
27
29 std::string SaveViewState(const TimelineViewState& view);
30 bool RestoreViewState(TimelineViewState& view, std::string_view state);
31
33 std::string SaveViewState(const CurveViewState& view);
34 bool RestoreViewState(CurveViewState& view, std::string_view state);
35
38 std::string SaveViewState(const ViewportCamera& camera);
39 bool RestoreViewState(ViewportCamera& camera, std::string_view state);
40
44 bool RestoreViewState(GUIApplication::SettingsPanelState& settings, std::string_view state);
45
47}
std::string SaveViewState(const NodeViewState &view)
A view's own state as text, for a panel to keep with its layout (Panel::saveState and Panel::restoreS...
bool RestoreViewState(NodeViewState &view, std::string_view state)
Definition gui_logging.h:24
How one CurveField or CurveEditor shows a CurveData: the channel worked on, the selection,...
Definition gui_curve_types.h:182
What RenderSettingsPanel shows: its pages, the selected one and the tree width.
Definition gui_application.h:2860
How one view shows a NodeGraph: its pan and zoom, what's selected in it, what the user is doing in it...
Definition gui_node_view_types.h:403
How one TimelineEditor shows a TimelineData: the part in view, the selection, the track filter,...
Definition gui_timeline_types.h:182
A camera orbiting target, distance away.
Definition gui_viewport_types.h:30