Subversion Repositories svn.mios32

Rev

Rev 2576 | Rev 2593 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2576 Rev 2577
Line 472... Line 472...
472
                  u8 color;
472
                  u8 color;
473
                  if (!trackMute_[clip])
473
                  if (!trackMute_[clip])
474
                     color = x == step ? 0xFF
474
                     color = x == step ? 0xFF
475
                                       : 0x99;  // The modulo only works if we are not scrolling and screen width = clip length
475
                                       : 0x99;  // The modulo only works if we are not scrolling and screen width = clip length
476
                  else
476
                  else
477
                     color = x == step ? 0x99
477
                     color = x == step ? 0x88
478
                                       : 0x88;  // The modulo only works if we are not scrolling and screen width = clip length
478
                                       : 0x66;  // The modulo only works if we are not scrolling and screen width = clip length
479
479
480
                  screen[y][x % 128] = color;
480
                  screen[y][x % 128] = color;
481
481
482
                  if (page_ == PAGE_NOTES && i == clipActiveNote_[clip][activeScene_])
482
                  if (page_ == PAGE_NOTES && i == clipActiveNote_[clip][activeScene_])
483
                  {
483
                  {
Line 524... Line 524...
524
      setFontNonInverted();
524
      setFontNonInverted();
525
      screenNewPagePanelFrameCtr_--;
525
      screenNewPagePanelFrameCtr_--;
526
   }
526
   }
527
527
528
   if (trackMute_[activeTrack_])
528
   if (trackMute_[activeTrack_])
529
      printCenterFormattedString(0, "[Clip %d Scene %d [muted]%s]", activeTrack_ + 1, activeScene_ + 1, sceneChangeNotification_);
529
      printCenterFormattedString(0, "[Clip %d Scene %c [muted]%s]", activeTrack_ + 1, 'A' + activeScene_, sceneChangeNotification_);
530
   else
530
   else
531
      printCenterFormattedString(0, "[Clip %d Scene %d%s]", activeTrack_ + 1, activeScene_ + 1, sceneChangeNotification_);
531
      printCenterFormattedString(0, "[Clip %d Scene %c%s]", activeTrack_ + 1, 'A' + activeScene_, sceneChangeNotification_);
532
532
533
   u8 clip;
533
   u8 clip;
534
   for (clip = 0; clip < TRACKS; clip++)
534
   for (clip = 0; clip < TRACKS; clip++)
535
   {
535
   {
536
      if (clip == activeTrack_ || clipNotesSize_[clip] > 0 || trackMuteToggleRequested_[clip])
536
      if (clip == activeTrack_ || clipNotesSize_[clip] > 0 || trackMuteToggleRequested_[clip])
Line 559... Line 559...
559
      printString(250, 44, "T");
559
      printString(250, 44, "T");
560
      setFontNonInverted();
560
      setFontNonInverted();
561
      screenNewPagePanelFrameCtr_--;
561
      screenNewPagePanelFrameCtr_--;
562
   }
562
   }
563
563
564
   printCenterFormattedString(0, "Edit Settings [Clip %d Scene %d%s]", activeTrack_ + 1, activeScene_ + 1, sceneChangeNotification_);
564
   printCenterFormattedString(0, "Edit Settings [Clip %d Scene %c%s]", activeTrack_ + 1, 'A' + activeScene_, sceneChangeNotification_);
565
565
566
   command_ == COMMAND_CLIPLEN ? setFontInverted() : setFontNonInverted();
566
   command_ == COMMAND_CLIPLEN ? setFontInverted() : setFontNonInverted();
567
   if (clipSteps_[activeTrack_][activeScene_] < 100)
567
   if (clipSteps_[activeTrack_][activeScene_] < 100)
568
      printFormattedString(0, 54, "Len %d", clipSteps_[activeTrack_][activeScene_]);
568
      printFormattedString(0, 54, "Len %d", clipSteps_[activeTrack_][activeScene_]);
569
   else
569
   else
Line 653... Line 653...
653
      printString(250, 44, "E");
653
      printString(250, 44, "E");
654
      setFontNonInverted();
654
      setFontNonInverted();
655
      screenNewPagePanelFrameCtr_--;
655
      screenNewPagePanelFrameCtr_--;
656
   }
656
   }
657
657
658
   printCenterFormattedString(0, "Note Editor [Clip %d Scene %d%s]", activeTrack_ + 1, activeScene_ + 1, sceneChangeNotification_);
658
   printCenterFormattedString(0, "Note Editor [Clip %d Scene %c%s]", activeTrack_ + 1, 'A' + activeScene_, sceneChangeNotification_);
659
659
660
   if (clipNotesSize_[activeTrack_][activeScene_] > 0)
660
   if (clipNotesSize_[activeTrack_][activeScene_] > 0)
661
   {
661
   {
662
662
663
      u16 activeNote = clipActiveNote_[activeTrack_][activeScene_];
663
      u16 activeNote = clipActiveNote_[activeTrack_][activeScene_];
Line 758... Line 758...
758
      printString(250, 44, "K");
758
      printString(250, 44, "K");
759
      setFontNonInverted();
759
      setFontNonInverted();
760
      screenNewPagePanelFrameCtr_--;
760
      screenNewPagePanelFrameCtr_--;
761
   }
761
   }
762
762
763
   printCenterFormattedString(0, "Disk Operations", activeTrack_ + 1, activeScene_ + 1);
763
   printCenterFormattedString(0, "Disk Operations");
764
764
765
   command_ == COMMAND_SAVE ? setFontInverted() : setFontNonInverted();
765
   command_ == COMMAND_SAVE ? setFontInverted() : setFontNonInverted();
766
   printFormattedString(0, 54, "Save");
766
   printFormattedString(0, 54, "Save");
767
767
768
   command_ == COMMAND_LOAD ? setFontInverted() : setFontNonInverted();
768
   command_ == COMMAND_LOAD ? setFontInverted() : setFontNonInverted();