4#ifndef GAME_EDITOR_ENVELOPE_EDITOR_H
5#define GAME_EDITOR_ENVELOPE_EDITOR_H
47 void ResetZoomEnvelope(
const std::shared_ptr<CEnvelope> &pEnvelope,
int ActiveChannels);
Definition component.h:13
@ MAX_CHANNELS
Definition mapitems.h:490
Definition envelope_editor.h:22
vec2 m_Offset
Definition envelope_editor.h:27
CSmoothValue m_ZoomX
Definition envelope_editor.h:24
int m_ActiveChannels
Definition envelope_editor.h:28
bool m_ResetZoom
Definition envelope_editor.h:26
void Reset(CEditor *pEditor)
Definition envelope_editor.cpp:121
CSmoothValue m_ZoomY
Definition envelope_editor.h:25
Definition envelope_editor.h:19
std::vector< float > m_vInitialPositionsX
Definition envelope_editor.h:81
vec2 m_MouseStart
Definition envelope_editor.h:78
void UpdateZoomEnvelopeX(const CUIRect &View)
Definition envelope_editor.cpp:1652
void ZoomAdaptOffsetY(float ZoomFactor, const CUIRect &View)
Definition envelope_editor.cpp:1659
void Render(CUIRect View)
Definition envelope_editor.cpp:146
std::vector< float > m_vAccurateDragValuesX
Definition envelope_editor.h:76
const char m_MoveLeftButtonId
Definition envelope_editor.h:64
float ScreenToEnvelopeX(const CUIRect &View, float x) const
Definition envelope_editor.cpp:1726
CPopupEnvelopeCurveType m_PopupEnvelopeCurveType
Definition envelope_editor.h:133
const char m_EnvelopeEditorId
Definition envelope_editor.h:72
CLineInput m_NameInput
Definition envelope_editor.h:73
const char m_EnvelopeSelectorId
Definition envelope_editor.h:68
void UpdateZoomEnvelopeY(const CUIRect &View)
Definition envelope_editor.cpp:1665
std::vector< float > m_vInitialPositionsY
Definition envelope_editor.h:82
const char m_aChannelButtonIds[CEnvPoint::MAX_CHANNELS]
Definition envelope_editor.h:71
float ScreenToEnvelopeDeltaX(const CUIRect &View, float DeltaX)
Definition envelope_editor.cpp:1746
void RemoveTimeOffsetEnvelope(const std::shared_ptr< CEnvelope > &pEnvelope)
Definition envelope_editor.cpp:1756
CPopupEnvelopePointCurveType m_PopupEnvelopePointCurveType
Definition envelope_editor.h:121
const char m_UndoButtonId
Definition envelope_editor.h:58
const char m_ZoomOutButtonId
Definition envelope_editor.h:65
float EnvelopeToScreenX(const CUIRect &View, float x) const
Definition envelope_editor.cpp:1731
const char m_MoveRightButtonId
Definition envelope_editor.h:63
const char m_NewPositionEnvelopeButtonId
Definition envelope_editor.h:61
float EnvelopeToScreenY(const CUIRect &View, float y) const
Definition envelope_editor.cpp:1741
const char m_NewSoundEnvelopeButtonId
Definition envelope_editor.h:59
const char m_PrevEnvelopeButtonId
Definition envelope_editor.h:69
const char m_DeleteButtonId
Definition envelope_editor.h:62
float ScreenToEnvelopeY(const CUIRect &View, float y) const
Definition envelope_editor.cpp:1736
CPopupEnvelopePoint m_PopupEnvelopePoint
Definition envelope_editor.h:99
std::vector< float > m_vAccurateDragValuesY
Definition envelope_editor.h:77
void OnReset() override
Definition envelope_editor.cpp:132
void ResetZoomEnvelope(const std::shared_ptr< CEnvelope > &pEnvelope, int ActiveChannels)
Definition envelope_editor.cpp:1672
void UpdateHotEnvelopeObject(const CUIRect &View, const CEnvelope *pEnvelope, int ActiveChannels)
Definition envelope_editor.cpp:1582
int m_EnvelopeEditorButtonUsed
Definition envelope_editor.h:74
EEnvelopeEditorOp m_Operation
Definition envelope_editor.h:75
const char m_RedoButtonId
Definition envelope_editor.h:57
CPopupEnvelopePointMulti m_PopupEnvelopePointMulti
Definition envelope_editor.h:110
vec2 m_Midpoint
Definition envelope_editor.h:80
void ZoomAdaptOffsetX(float ZoomFactor, const CUIRect &View)
Definition envelope_editor.cpp:1646
void RenderColorBar(CUIRect ColorBar, const std::shared_ptr< CEnvelope > &pEnvelope)
Definition envelope_editor.cpp:1484
const char m_NewColorEnvelopeButtonId
Definition envelope_editor.h:60
const char m_ResetZoomButtonId
Definition envelope_editor.h:66
const char m_ZoomInButtonId
Definition envelope_editor.h:67
vec2 m_ScaleFactor
Definition envelope_editor.h:79
const char m_NextEnvelopeButtonId
Definition envelope_editor.h:70
float ScreenToEnvelopeDeltaY(const CUIRect &View, float DeltaY)
Definition envelope_editor.cpp:1751
Definition smooth_value.h:12
EPopupMenuFunctionResult
Definition ui.h:310
EEnvelopeEditorOp
Definition editor_trackers.h:57
@ NUM_CURVETYPES
Definition mapitems.h:48
vector2_base< float > vec2
Definition vmath.h:168