comparison widgets/Pane.cpp @ 21:3a506d25d95a

* Add command history class, and basic undo/redo menus. No actual commands to undo/redo yet. Selecting the placeholders sometimes seems to cause a crash, so this looks a little uncertain so far. * Add Rename Layer * Remove models from playback when their layers are removed (and ref counts hit zero) * Don't hang around waiting so much when there's work to be done in the audio buffer fill thread * Put more sensible names on layers generated from transforms * Add basic editing to time-value layer like existing editing in time-instants layer, and make both of them snap to the appropriate resolution during drag
author Chris Cannam
date Mon, 30 Jan 2006 17:51:56 +0000
parents 1deb5f87a18c
children ca57f70b0e48
comparison
equal deleted inserted replaced
20:1deb5f87a18c 21:3a506d25d95a
577 } else if (mode == ViewManager::DrawMode) { 577 } else if (mode == ViewManager::DrawMode) {
578 578
579 Layer *layer = getSelectedLayer(); 579 Layer *layer = getSelectedLayer();
580 if (layer) { 580 if (layer) {
581 layer->drawDrag(e); 581 layer->drawDrag(e);
582 update();
583 } 582 }
584 583
585 } else if (mode == ViewManager::EditMode) { 584 } else if (mode == ViewManager::EditMode) {
586 585
587 Layer *layer = getSelectedLayer(); 586 Layer *layer = getSelectedLayer();
588 if (layer) { 587 if (layer) {
589 layer->editDrag(e); 588 layer->editDrag(e);
590 update();
591 } 589 }
592 } 590 }
593 } 591 }
594 592
595 void 593 void