change: change code style to Linux style except indent.
This commit is contained in:
+32
-32
@@ -25,55 +25,55 @@
|
||||
#include "node/param.h"
|
||||
#include "undo/undocommand.h"
|
||||
|
||||
namespace olive {
|
||||
|
||||
class NodeInputDragger
|
||||
namespace olive
|
||||
{
|
||||
|
||||
class NodeInputDragger {
|
||||
public:
|
||||
NodeInputDragger();
|
||||
NodeInputDragger();
|
||||
|
||||
bool IsStarted() const;
|
||||
bool IsStarted() const;
|
||||
|
||||
void Start(const NodeKeyframeTrackReference& input, const rational& time, bool create_key_on_all_tracks = true);
|
||||
void Start(const NodeKeyframeTrackReference &input, const rational &time,
|
||||
bool create_key_on_all_tracks = true);
|
||||
|
||||
void Drag(QVariant value);
|
||||
void Drag(QVariant value);
|
||||
|
||||
void End(MultiUndoCommand *command);
|
||||
void End(MultiUndoCommand *command);
|
||||
|
||||
static bool IsInputBeingDragged()
|
||||
{
|
||||
return input_being_dragged;
|
||||
}
|
||||
static bool IsInputBeingDragged()
|
||||
{
|
||||
return input_being_dragged;
|
||||
}
|
||||
|
||||
const QVariant &GetStartValue() const
|
||||
{
|
||||
return start_value_;
|
||||
}
|
||||
const QVariant &GetStartValue() const
|
||||
{
|
||||
return start_value_;
|
||||
}
|
||||
|
||||
const NodeKeyframeTrackReference &GetInput() const
|
||||
{
|
||||
return input_;
|
||||
}
|
||||
const NodeKeyframeTrackReference &GetInput() const
|
||||
{
|
||||
return input_;
|
||||
}
|
||||
|
||||
const rational &GetTime() const
|
||||
{
|
||||
return time_;
|
||||
}
|
||||
const rational &GetTime() const
|
||||
{
|
||||
return time_;
|
||||
}
|
||||
|
||||
private:
|
||||
NodeKeyframeTrackReference input_;
|
||||
NodeKeyframeTrackReference input_;
|
||||
|
||||
rational time_;
|
||||
rational time_;
|
||||
|
||||
QVariant start_value_;
|
||||
QVariant start_value_;
|
||||
|
||||
QVariant end_value_;
|
||||
QVariant end_value_;
|
||||
|
||||
NodeKeyframe* dragging_key_;
|
||||
QVector<NodeKeyframe*> created_keys_;
|
||||
|
||||
static int input_being_dragged;
|
||||
NodeKeyframe *dragging_key_;
|
||||
QVector<NodeKeyframe *> created_keys_;
|
||||
|
||||
static int input_being_dragged;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user