NAP
Public Member Functions | Public Attributes | List of all members
EditingCurveSegment Class Reference

#include <sequencecurvetrackview_guiactions.h>

Public Member Functions

 EditingCurveSegment (std::string trackID, std::string segmentID, const rttr::type &segmentType, double startTime, double duration, std::string label, const RGBAColorFloat &color, bool moveNextSegments, bool segmentLocked)
 
- Public Member Functions inherited from TrackAction
 TrackAction (std::string trackID)
 
- Public Member Functions inherited from Action
virtual ~Action ()=default
 
template<typename T >
bool isAction ()
 
template<typename T >
T * getDerived ()
 

Public Attributes

bool mOpened = false
 
std::string mSegmentID
 
rttr::type mSegmentType
 
double mStartTime
 
double mDuration
 
std::string mSegmentLabel
 
RGBAColorFloat mColor
 
bool mMoveNextSegments = false
 
bool mSegmentLocked = false
 
- Public Attributes inherited from TrackAction
std::string mTrackID
 
- Public Attributes inherited from Action
bool mTakeSnapshot = true
 

Description

TrackAction that tells the GUI we're inside an edit curve segment popup

Inheritance diagram for EditingCurveSegment:
[legend]
Collaboration diagram for EditingCurveSegment:
[legend]

Constructor & Destructor Documentation

◆ EditingCurveSegment()

EditingCurveSegment ( std::string  trackID,
std::string  segmentID,
const rttr::type &  segmentType,
double  startTime,
double  duration,
std::string  label,
const RGBAColorFloat color,
bool  moveNextSegments,
bool  segmentLocked 
)

Constructor

Parameters
trackIDtrack id of the track holding the segment being edited
segmentIDthe segment being edited
segmentTypesegment type info
startTimenew start time of segment
durationnew duration of segment
labelnew label of segment
colornew color of segment
moveNextSegmentsif true, move next segments
segmentLockedif true, segment is locked

Member Data Documentation

◆ mColor

◆ mDuration

double mDuration

◆ mMoveNextSegments

bool mMoveNextSegments = false

◆ mOpened

bool mOpened = false

◆ mSegmentID

std::string mSegmentID

◆ mSegmentLabel

std::string mSegmentLabel

◆ mSegmentLocked

bool mSegmentLocked = false

◆ mSegmentType

rttr::type mSegmentType

◆ mStartTime

double mStartTime