63 using LERR_(DIFF_STRUCTURE);
64 using std::make_unique;
74 using ctrl::GlobalCtx;
76 using setting::AssetController;
77 using timeline::TimelineController;
81 InteractionDirector::~InteractionDirector()
93 : model::Controller(
session::Root::getID(), globals.uiBus_.getAccessPoint())
98 , navigator_{*spotLocator_, *viewLocator_}
100 , uiState_{
new UiState{globals.uiBus_.getStateManager(), *tracker_}}
101 , assets_{
new AssetController{session::Root::getAssetID(), this->uiBus_}}
104 Glib::signal_timeout()
106 ,DELAY_AFTER_GUI_START_in_ms
107 ,Glib::PRIORITY_LOW);
114 invoke (cmd::test_meta_activateContentDiff);
120 unimplemented (
const char* todo)
122 WARN (
stage,
"%s is not yet implemented. So sorry.", todo);
134 .isApplicableIf ([&](
GenNode const& spec) ->
bool 142 .mutateAttrib(ATTR_fork, [&](TreeMutator::Handle buff)
145 assets_->buildMutator(buff);
161 unimplemented (
"launch project setup UI");
174 string snapshotID{
"snap-" + toString(vault::RealClock::now())};
175 invoke (cmd::session_saveSnapshot, snapshotID);
194 unimplemented (
"launch project setup UI to create a fork of the project under new name");
213 unimplemented (
"edit global configuration");
227 unimplemented (
"open file");
245 unimplemented (
"start render");
264 invoke (cmd::session_newSequence, anchor, newSeqID);
288 invoke (cmd::sequence_newTrack, anchor, newTrackID);
293 InteractionDirector::getWorkspaceWindow()
295 return globalCtx_.windowLoc_.findActiveWindow();
319 and spec.data.get<Rec>().hasAttribute(
string{ATTR_fork})
320 and TYPE_Fork == spec.data.get<Rec>().get(
string{ATTR_fork}).data.recordType()
322 throw error::State (
_Fmt{
"When populating a new Timeline, a root track must be given immediately" 323 "nested into INS message. We got the following initialisation payload: %s"}
325 , LERR_(DIFF_STRUCTURE));
327 return spec.data.get<Rec>().
get(
string{ATTR_fork}).idi;
344 globalCtx_.windowLoc_
348 anchorProxy.buildTimelineWidget (this->uiBus_));
350 globalCtx_.uiManager_.configureStyle (*anchorProxy);
void saveSnapshot()
Save a snapshot of the current project's contents and the UI state.
Access or allocate a UI component view.
smart-Handle as anchor point for "the UI representation" of a timeline.
ID verifyDiffStructure_and_extract_RootTrack(GenNode const &spec)
The timeline is actually a front-end for a binding to some root track.
Helper to pick up typical focus/activity changes, for the purpose of keeping a coherent system of Wor...
TimelineGui injectTimeline(GenNode const &)
Hard wired key constants and basic definitions for communication with the GUI.
void newSequence()
Establish a pristine new sequence within the session.
Access and allocation of UI component views.
bool isNested() const
determine if payload constitutes a nested scope ("object")
Navigating a centre of user activity globally.
Dockable panel to hold timeline widget(s).
Dependency context to hold all the global UI top-level entities.
Under construction: the top level UI controller.
void newTrack()
Establish a empty new track close to the current scope.
void newProject()
setup a new editing project, possibly close the current one.
Sub-Service of the InteractionDirector: Hold and maintain InteractionState.
Top level controller for the asset management section in the UI.
typed symbolic and hash ID for asset-like position accounting.
Store and manage persistent interface state.
void buildMutator(lib::diff::TreeMutator::Handle) override
set up a binding to allow some top-level UI state to be treated as part of the session model ...
Common ID definitions for Steam-Layer commands.
Dialog to manage application preferences.
Organisational grouping device within the Session model ("Track" / "Media Bin").
A front-end for using printf-style formatting.
void forkProject()
Continue evolution of the currently active project under a new identity.
MObject within the session to represent "the session itself".
Namespace of Session and user visible high-level objects.
void populateContent_afterStart()
ask Session to push up structures for presentation
Attachment point to the UI-Bus.
Derived specific exceptions within Lumiera's exception hierarchy.
Structural building block of the session: a sequence of clips.
Dialog to set up a renter process and define output name and format.
The top-level controller to connect model and user interaction state.
Establish and handle persistent interface state.
void editSetup()
Edit global configuration and setup.
Helper to track focus/activation changes to move the activity "Spot" automatically.
Lumiera GTK UI implementation root.
Control and navigate the global centre of activity.
void render()
Start a render process.
The main Lumiera workspace window.
Hash implementation based on a lumiera unique object id (LUID) When invoking the default ctor...
InteractionDirector(ctrl::GlobalCtx &)
Setup and initialise all representations of "global-ness".
Customisable intermediary to abstract generic tree mutation operations.
Evaluation of UI coordinates against a concrete window topology.
A dialog to choose render output format and name.
A global circle of top-level UI management facilities.
Global interface navigation control.
This file contains the definition of the main workspace window parent, which is the toplevel parent o...
auto collection(COLL &coll)
Entry point to a nested DSL for setup and configuration of a collection binding.
Front-end for simplified access to the current wall clock time.
object-like record of data.
User interface for asset management.
A set of basic GTK includes for the UI.
generic data element node within a tree
void openFile()
Select and open a file to perform a suitable operation.
A dockable container to hold a notebook of timeline displays.
Customisable intermediary to abstract mutating operations on arbitrary, hierarchical object-like data...