Ignore:
Timestamp:
09/23/08 16:00:42 (16 years ago)
Author:
bjn8
Message:

Refactored a class name and extended recorder widgets to have a perminant lifetime option (for optimum idea capturing!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src_apollo/org/apollo/gui/FrameRenderPasses.java

    r315 r318  
    1515import org.apollo.widgets.LinkedTrack;
    1616import org.apollo.widgets.SampleRecorder;
    17 import org.apollo.widgets.SampledTrackEvo4;
     17import org.apollo.widgets.SampledTrack;
    1818import org.expeditee.gui.Browser;
    1919import org.expeditee.gui.FrameGraphics;
     
    5555
    5656                        // Conceivable could have multiple
    57                         LinkedList<SampledTrackEvo4> toPaint = null;
     57                        LinkedList<SampledTrack> toPaint = null;
    5858                       
    5959                        for (Item i : FreeItems.getInstance()) {
     
    6161                                        InteractiveWidget iw = ((WidgetCorner)i).getWidgetSource();
    6262                                       
    63                                         if (iw != null && iw instanceof SampledTrackEvo4) {
     63                                        if (iw != null && iw instanceof SampledTrack) {
    6464                                               
    6565                                                if (toPaint == null) {
    66                                                         toPaint = new LinkedList<SampledTrackEvo4>();
     66                                                        toPaint = new LinkedList<SampledTrack>();
    6767                                                } else if (toPaint.contains(iw)) {
    6868                                                        continue;
    6969                                                }
    7070                                               
    71                                                 toPaint.add((SampledTrackEvo4)iw);
     71                                                toPaint.add((SampledTrack)iw);
    7272                                        }
    7373                                }
     
    7575                       
    7676                        if (toPaint != null) {
    77                                 for (SampledTrackEvo4 trackWidget : toPaint) {
     77                                for (SampledTrack trackWidget : toPaint) {
    7878                                        if (g.getClip() == null
    7979                                                        || g.getClip().intersects(trackWidget.getComponant().getBounds()))
     
    198198                                if (iw != null) {
    199199                                       
    200                                         if (iw != null && (iw instanceof SampledTrackEvo4 ||
     200                                        if (iw != null && (iw instanceof SampledTrack ||
    201201                                                        iw instanceof LinkedTrack || iw instanceof SampleRecorder)) {
    202202                                               
Note: See TracChangeset for help on using the changeset viewer.