mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Player: move up timeline and adjust size
keep play button bar at the bottom for all configurations, avoid text and buttons overlay when Player is small. Fix cut timing in selection
This commit is contained in:
11
Timeline.h
11
Timeline.h
@@ -120,10 +120,15 @@ public:
|
||||
bool addGap(GstClockTime begin, GstClockTime end);
|
||||
bool cut(GstClockTime t, bool left, bool join_extremity);
|
||||
bool removeGaptAt(GstClockTime t);
|
||||
|
||||
bool gapAt(const GstClockTime t) const;
|
||||
bool getGapAt(const GstClockTime t, TimeInterval &gap) const;
|
||||
|
||||
// inverse of gaps: sections of play areas
|
||||
TimeIntervalSet sections() const;
|
||||
GstClockTime sectionsDuration() const;
|
||||
GstClockTime sectionsTimeAt(GstClockTime t) const;
|
||||
size_t fillSectionsArrays(float * const gaps, float * const fading);
|
||||
|
||||
// Manipulation of Fading
|
||||
float fadingAt(const GstClockTime t) const;
|
||||
size_t fadingIndexAt(const GstClockTime t) const;
|
||||
@@ -134,10 +139,6 @@ public:
|
||||
void smoothFading(uint N = 1);
|
||||
void autoFading(uint milisecond = 100);
|
||||
bool autoCut();
|
||||
TimeIntervalSet sections() const;
|
||||
|
||||
GstClockTime sectionsDuration() const;
|
||||
size_t fillSectionsArrays(float * const gaps, float * const fading);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user