Changeset 319
- Timestamp:
- 09/23/08 16:29:29 (16 years ago)
- Location:
- trunk/src_apollo/org/apollo/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src_apollo/org/apollo/widgets/LinkedTrack.java
r315 r319 66 66 import org.expeditee.gui.FrameGraphics; 67 67 import org.expeditee.gui.FrameUtils; 68 import org.expeditee.gui.MessageBay; 68 69 import org.expeditee.gui.MouseEventRouter; 69 70 import org.expeditee.gui.PopupManager; … … 655 656 link, 656 657 getName()); 658 659 660 // Wakeup the daemon to note that it should recheck -- in the case that a track is 661 // added to a non-overdubbed frame the audio structure model will not bother 662 // adding the track until something requests for it. 663 FrameLayoutDaemon.getInstance().forceRecheck(); 657 664 } 658 665 … … 704 711 FrameGraphics.refresh(true); 705 712 } 706 }); 713 }); // NOTE TO REPEAT: Pick up a linked track and delete it directly from freespace 707 714 708 715 case ItemParentStateChangedEvent.EVENT_TYPE_REMOVED_VIA_OVERLAY: // TODO revise - and in sampled track widget … … 713 720 MultiTrackPlaybackController.getInstance().removeObserver(this); 714 721 masterMix.removeObserver(this); 715 716 722 717 723 setState(NOT_INITIALIZED); … … 775 781 setState(LOADING_TRACK_GRAPH); 776 782 777 //FrameLayoutDaemon.getInstance().forceRecheck(); // no need - daemon is notified via structure model778 779 780 783 } 781 784 … … 898 901 899 902 } 900 901 903 902 904 } 903 905 … … 909 911 } 910 912 911 912 913 if (abortMessage != null) { 913 914 915 916 917 918 // TODO!! 919 // Draw string... 920 921 922 923 924 914 String name = getName(); 915 if (name == null) name = "Unamed"; 916 MessageBay.errorMessage(name + " linked track: " + abortMessage); 925 917 } 926 918 … … 943 935 944 936 // Draw selection start bar 945 946 937 ((Graphics2D)g).setStroke(SampledTrackGraphView.GRAPH_BAR_STROKE); 947 938 … … 1054 1045 g.setFont(HELPER_FONT); 1055 1046 g.drawString(helperMessage, xoff, yoff); 1047 1056 1048 } 1057 1049 -
trunk/src_apollo/org/apollo/widgets/SampledTrack.java
r318 r319 1350 1350 removeSelf(); 1351 1351 } 1352 1353 // Wakeup the daemon to note that it should recheck -- in the case that a track is 1354 // added to a non-overdubbed frame the audio structure model will not bother 1355 // adding the track until something requests for it. 1356 FrameLayoutDaemon.getInstance().forceRecheck(); 1352 1357 } 1353 1358
Note:
See TracChangeset
for help on using the changeset viewer.