From 28adf9a642e33eef798759d4fe906cb925925198 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Wed, 8 Apr 2020 23:58:55 +0200 Subject: [PATCH] Clip: pondering about the representation of clip timings --- src/common/ui-protocol.cpp | 2 +- src/include/ui-protocol.hpp | 2 +- src/stage/timeline/clip-presenter.cpp | 4 ++-- src/stage/timeline/clip-presenter.hpp | 4 ++-- src/stage/timeline/clip-widget.cpp | 12 +++++----- src/stage/timeline/clip-widget.hpp | 6 ++++- src/stage/timeline/track-presenter.hpp | 6 ++--- wiki/thinkPad.ichthyo.mm | 31 ++++++++++++++++++++++++++ 8 files changed, 51 insertions(+), 16 deletions(-) diff --git a/src/common/ui-protocol.cpp b/src/common/ui-protocol.cpp index 6b975cca9..1452ac0b9 100644 --- a/src/common/ui-protocol.cpp +++ b/src/common/ui-protocol.cpp @@ -43,7 +43,7 @@ namespace stage { const Symbol ATTR_name{"name"}; const Symbol ATTR_fork{"fork"}; const Symbol ATTR_assets{"assets"}; - const Symbol ATTR_start{"start"}; + const Symbol ATTR_timing{"timing"}; /* ======== UI-Element protocol ======== */ diff --git a/src/include/ui-protocol.hpp b/src/include/ui-protocol.hpp index 9712d7df5..bc4a3a7e0 100644 --- a/src/include/ui-protocol.hpp +++ b/src/include/ui-protocol.hpp @@ -82,7 +82,7 @@ namespace stage { extern const Symbol ATTR_name; extern const Symbol ATTR_fork; extern const Symbol ATTR_assets; - extern const Symbol ATTR_start; + extern const Symbol ATTR_timing; /* ======== UI-Element protocol ======== */ diff --git a/src/stage/timeline/clip-presenter.cpp b/src/stage/timeline/clip-presenter.cpp index 9d25d0f51..cd4481569 100644 --- a/src/stage/timeline/clip-presenter.cpp +++ b/src/stage/timeline/clip-presenter.cpp @@ -71,14 +71,14 @@ namespace timeline { * @param startTime (optional) start time point of the clip. * @note Clip can not be displayed unless startTime is given */ - ClipPresenter::ClipPresenter (ID identity, ctrl::BusTerm& nexus, WidgetHook& view, optional