finished new/load/save

This commit is contained in:
itsmattkc
2018-06-10 23:39:28 -07:00
parent 94fae972cf
commit 093b68cb67
28 changed files with 441 additions and 154 deletions
+2 -2
View File
@@ -37,10 +37,10 @@ void TimelineHeader::mouseReleaseEvent(QMouseEvent *) {
}
void TimelineHeader::paintEvent(QPaintEvent*) {
if (panel_timeline->sequence != NULL) {
if (sequence != NULL) {
QPainter p(this);
p.setPen(Qt::gray);
int interval = panel_timeline->getScreenPointFromFrame(panel_timeline->sequence->frame_rate);
int interval = panel_timeline->getScreenPointFromFrame(sequence->frame_rate);
for (int i=0;i<width();i+=interval) {
p.drawLine(i, 0, i, height());
}