Browse Source

Update playback mode widget when song is loaded via LASH.

tags/non-sequencer-v1.9.4
Jonathan Moore Liles 16 years ago
parent
commit
41eb6f4d7a
2 changed files with 7 additions and 5 deletions
  1. +7
    -3
      gui/ui.fl
  2. +0
    -2
      main.C

+ 7
- 3
gui/ui.fl View File

@@ -1141,7 +1141,12 @@ while ( ( l = strtok( NULL, "\\n" ) ) )

o->value( val );

free( s );} {}
free( s );


if ( playback_mode_menu )
playback_mode_menu->value( song.play_mode );} {selected
}
}
Function {update_mapping_menu()} {open
} {
@@ -1740,8 +1745,7 @@ for ( i = 0; i < MAX_PATTERN; i++ )
b->value( 0 );
}
}} {selected
}
}} {}
}
Function {resize( int X, int Y, int W, int H )} {open return_type void
} {


+ 0
- 2
main.C View File

@@ -113,8 +113,6 @@ load_song ( const char *name )

song.filename = strdup( name );

// TODO: signal song loaded.

return true;
}



Loading…
Cancel
Save