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

#include <sequencecurvetrackview_guiactions.h>

Public Member Functions

 CurveTypePopup (std::string trackID, std::string segmentID, int index, float pos, ImVec2 windowPos)
 
- 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
 
int mCurveIndex
 
float mPos
 
ImVec2 mWindowPos
 
- Public Attributes inherited from TrackAction
std::string mTrackID
 

Description

TrackAction that tells the GUI we're inside a curve type popup

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

Constructor & Destructor Documentation

◆ CurveTypePopup()

CurveTypePopup ( std::string  trackID,
std::string  segmentID,
int  index,
float  pos,
ImVec2  windowPos 
)

Constructor

Parameters
trackIDtrack id of the track holding the segment being edited
segmentIDthe segment being edited
indexindex of the curve
posnormalized position on the curve
windowPoscurrent window position

Member Data Documentation

◆ mCurveIndex

int mCurveIndex

◆ mOpened

bool mOpened = false

◆ mPos

float mPos

◆ mSegmentID

std::string mSegmentID

◆ mWindowPos

ImVec2 mWindowPos