git mv Code\Sandbox\Editor Code/Editor
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CRYINCLUDE_EDITOR_TRACKVIEW_TVSEQUENCEPROPS_H
|
||||
#define CRYINCLUDE_EDITOR_TRACKVIEW_TVSEQUENCEPROPS_H
|
||||
#pragma once
|
||||
|
||||
|
||||
class CTrackViewSequence;
|
||||
|
||||
#if !defined(Q_MOC_RUN)
|
||||
#include <QDialog>
|
||||
#include <QScopedPointer>
|
||||
#endif
|
||||
|
||||
namespace Ui {
|
||||
class CTVSequenceProps;
|
||||
}
|
||||
|
||||
class CTVSequenceProps
|
||||
: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CTVSequenceProps(CTrackViewSequence* pSequence, float fps, QWidget* pParent = NULL); // standard constructor
|
||||
~CTVSequenceProps();
|
||||
|
||||
private:
|
||||
enum SequenceTimeUnit
|
||||
{
|
||||
Seconds = 0,
|
||||
Frames
|
||||
};
|
||||
CTrackViewSequence* m_pSequence;
|
||||
|
||||
virtual BOOL OnInitDialog();
|
||||
virtual void OnOK();
|
||||
|
||||
void MoveScaleKeys();
|
||||
float m_FPS;
|
||||
int m_outOfRange;
|
||||
SequenceTimeUnit m_timeUnit;
|
||||
|
||||
QScopedPointer<Ui::CTVSequenceProps> ui;
|
||||
|
||||
public slots:
|
||||
void OnBnClickedToFrames(bool);
|
||||
void OnBnClickedToSeconds(bool);
|
||||
|
||||
private slots:
|
||||
void ToggleCutsceneOptions(bool);
|
||||
void UpdateSequenceProps(const QString& name);
|
||||
};
|
||||
|
||||
#endif // CRYINCLUDE_EDITOR_TRACKVIEW_TVSEQUENCEPROPS_H
|
||||
Reference in New Issue
Block a user