reworked much of keyframeview for new architecture
This commit is contained in:
@@ -34,19 +34,13 @@ public:
|
||||
void SetMaxScroll(int i)
|
||||
{
|
||||
max_scroll_ = i;
|
||||
UpdateSceneRect();
|
||||
}
|
||||
|
||||
void SetElementY(const NodeInput& c, int y);
|
||||
|
||||
protected:
|
||||
virtual void SceneRectUpdateEvent(QRectF& rect) override;
|
||||
|
||||
public slots:
|
||||
virtual KeyframeViewItem* AddKeyframe(NodeKeyframe* key) override;
|
||||
|
||||
private:
|
||||
QHash<NodeInput, qreal> element_y_;
|
||||
|
||||
int max_scroll_;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user