#include <sequenceeventtrackview_guiactions.h>
Public Member Functions | |
OpenEditEventSegmentPopup (const std::string &trackID, std::string segmentID, ImVec2 windowPos, T value, double startTime) | |
![]() | |
TrackAction (std::string trackID) | |
![]() | |
virtual | ~Action ()=default |
template<typename T > | |
bool | isAction () |
template<typename T > | |
T * | getDerived () |
Public Attributes | |
std::string | mSegmentID |
ImVec2 | mWindowPos |
T | mValue |
double | mStartTime |
![]() | |
std::string | mTrackID |
![]() | |
bool | mTakeSnapshot = true |
TrackAction that tells the GUI to open a EditEvent segment popup of type T
T | type of event segment |
OpenEditEventSegmentPopup | ( | const std::string & | trackID, |
std::string | segmentID, | ||
ImVec2 | windowPos, | ||
T | value, | ||
double | startTime | ||
) |
Constructor
trackID | the track id of the track that holds the segment being edited |
segmentID | the segment id being edited |
windowPos | current window position |
value | the new value of the event segment |
startTime | the new start time of the event segment |
std::string mSegmentID |
double mStartTime |
T mValue |
ImVec2 mWindowPos |