Files
oak-editor/app/panel/curve/curve.h
T
itsmattkc 17c1493aa7 all time-based panels are now derived from a common base class
Cuts down on a lot of duplicate code between
TimelineWidget/ViewerWidget/CurveWidget/NodeParamView
and TimelinePanel/ViewerPanel/CurvePanel/ParamPanel since they all use similar
time functions.
2020-02-01 19:39:43 +11:00

26 lines
445 B
C++

#ifndef CURVEPANEL_H
#define CURVEPANEL_H
#include "panel/timebased/timebased.h"
#include "widget/curvewidget/curvewidget.h"
class CurvePanel : public TimeBasedPanel
{
Q_OBJECT
public:
CurvePanel(QWidget* parent);
public slots:
void SetInput(NodeInput* input);
virtual void IncreaseTrackHeight() override;
virtual void DecreaseTrackHeight() override;
protected:
virtual void Retranslate() override;
};
#endif // CURVEPANEL_H