Clean up messages.
This commit is contained in:
parent
b5c1ebb200
commit
f3c9c99ceb
|
@ -1,5 +1,5 @@
|
||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0107
|
version 1.0108
|
||||||
header_name {.H}
|
header_name {.H}
|
||||||
code_name {.C}
|
code_name {.C}
|
||||||
comment {//
|
comment {//
|
||||||
|
@ -52,8 +52,8 @@ _el = _old = NULL;
|
||||||
|
|
||||||
o->hide();
|
o->hide();
|
||||||
|
|
||||||
Fl::delete_widget( o );} open selected
|
Fl::delete_widget( o );} open
|
||||||
xywh {704 82 659 803} type Double box DOWN_BOX resizable
|
xywh {620 82 655 800} type Double box DOWN_BOX resizable
|
||||||
code0 {\#include "event_edit.H"}
|
code0 {\#include "event_edit.H"}
|
||||||
code1 {\#include "../grid.H"}
|
code1 {\#include "../grid.H"}
|
||||||
code2 {\#include "../event_list.H"} modal size_range {0 0 659 803} visible
|
code2 {\#include "../event_list.H"} modal size_range {0 0 659 803} visible
|
||||||
|
@ -203,11 +203,12 @@ update_widgets();} {}
|
||||||
}
|
}
|
||||||
Function {sync( void )} {open return_type void
|
Function {sync( void )} {open return_type void
|
||||||
} {
|
} {
|
||||||
code {MESSAGE( "syncing events to grid" );
|
code {DMESSAGE( "syncing events to grid" );
|
||||||
|
|
||||||
_grid->events( _el );
|
_grid->events( _el );
|
||||||
|
|
||||||
update_widgets();} {}
|
update_widgets();} {selected
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Function {update_widgets( void )} {open return_type void
|
Function {update_widgets( void )} {open return_type void
|
||||||
} {
|
} {
|
||||||
|
@ -292,7 +293,7 @@ while( w->shown() )
|
||||||
}
|
}
|
||||||
|
|
||||||
widget_class Event_Widget {user_data_type {void *} open
|
widget_class Event_Widget {user_data_type {void *} open
|
||||||
xywh {969 357 594 31} type Single
|
xywh {685 357 590 30} type Single
|
||||||
code0 {\#include "../event.H"}
|
code0 {\#include "../event.H"}
|
||||||
code1 {_event = NULL;}
|
code1 {_event = NULL;}
|
||||||
class Fl_Group size_range {400 24 0 24} visible
|
class Fl_Group size_range {400 24 0 24} visible
|
||||||
|
|
|
@ -46,7 +46,7 @@ phrase::phrase ( void )
|
||||||
|
|
||||||
phrase::~phrase ( void )
|
phrase::~phrase ( void )
|
||||||
{
|
{
|
||||||
MESSAGE( "deleting phrase %d", number() );
|
DMESSAGE( "deleting phrase %d", number() );
|
||||||
signal_create_destroy();
|
signal_create_destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -299,7 +299,7 @@ sequence::load ( const char *name )
|
||||||
|
|
||||||
f.next_track();
|
f.next_track();
|
||||||
|
|
||||||
MESSAGE( "reading song info" );
|
DMESSAGE( "reading song info" );
|
||||||
|
|
||||||
/* read song info */
|
/* read song info */
|
||||||
|
|
||||||
|
@ -324,7 +324,7 @@ sequence::load ( const char *name )
|
||||||
/* tear it down */
|
/* tear it down */
|
||||||
reset();
|
reset();
|
||||||
|
|
||||||
MESSAGE( "reading playlist" );
|
DMESSAGE( "reading playlist" );
|
||||||
|
|
||||||
// f.read_playlist( this );
|
// f.read_playlist( this );
|
||||||
|
|
||||||
|
@ -342,7 +342,7 @@ sequence::load ( const char *name )
|
||||||
|
|
||||||
/* read playlist */
|
/* read playlist */
|
||||||
|
|
||||||
MESSAGE( "reading phrases" );
|
DMESSAGE( "reading phrases" );
|
||||||
|
|
||||||
while ( phrases-- && f.next_track() )
|
while ( phrases-- && f.next_track() )
|
||||||
{
|
{
|
||||||
|
@ -351,7 +351,7 @@ sequence::load ( const char *name )
|
||||||
p->load( &f );
|
p->load( &f );
|
||||||
}
|
}
|
||||||
|
|
||||||
MESSAGE( "reading patterns" );
|
DMESSAGE( "reading patterns" );
|
||||||
|
|
||||||
while ( patterns-- && f.next_track() )
|
while ( patterns-- && f.next_track() )
|
||||||
{
|
{
|
||||||
|
@ -378,11 +378,11 @@ sequence::save ( const char *name ) const
|
||||||
|
|
||||||
f.write_header( 2 );
|
f.write_header( 2 );
|
||||||
|
|
||||||
MESSAGE( "saving playlist" );
|
DMESSAGE( "saving playlist" );
|
||||||
|
|
||||||
f.open_track( NULL, -1 );
|
f.open_track( NULL, -1 );
|
||||||
|
|
||||||
MESSAGE( "saving song info" );
|
DMESSAGE( "saving song info" );
|
||||||
|
|
||||||
f.write_song_info( song.play_mode, phrase::phrases(), pattern::patterns(), this->name(), notes() );
|
f.write_song_info( song.play_mode, phrase::phrases(), pattern::patterns(), this->name(), notes() );
|
||||||
|
|
||||||
|
@ -399,7 +399,7 @@ sequence::save ( const char *name ) const
|
||||||
|
|
||||||
f.close_track( 0 );
|
f.close_track( 0 );
|
||||||
|
|
||||||
MESSAGE( "saving phrases" );
|
DMESSAGE( "saving phrases" );
|
||||||
|
|
||||||
for ( int i = 0; i < phrase::phrases(); i++ )
|
for ( int i = 0; i < phrase::phrases(); i++ )
|
||||||
{
|
{
|
||||||
|
@ -408,7 +408,8 @@ sequence::save ( const char *name ) const
|
||||||
p->dump( &f );
|
p->dump( &f );
|
||||||
}
|
}
|
||||||
|
|
||||||
MESSAGE( "saving patterns" );
|
DMESSAGE( "saving patterns" );
|
||||||
|
|
||||||
for ( int i = 0; i < pattern::patterns(); i++ )
|
for ( int i = 0; i < pattern::patterns(); i++ )
|
||||||
{
|
{
|
||||||
pattern *p = pattern::pattern_by_number( i + 1 );
|
pattern *p = pattern::pattern_by_number( i + 1 );
|
||||||
|
|
|
@ -723,7 +723,7 @@ smf::read_phrase_info ( phrase *p )
|
||||||
break;
|
break;
|
||||||
case smf::NAME:
|
case smf::NAME:
|
||||||
p->name( read_text() );
|
p->name( read_text() );
|
||||||
MESSAGE( "Track name: %s", p->name() );
|
DMESSAGE( "Track name: %s", p->name() );
|
||||||
break;
|
break;
|
||||||
case smf::INSTRUMENT:
|
case smf::INSTRUMENT:
|
||||||
skip( read_var() );
|
skip( read_var() );
|
||||||
|
@ -805,7 +805,7 @@ smf::read_pattern_info ( pattern *p )
|
||||||
break;
|
break;
|
||||||
case smf::NAME:
|
case smf::NAME:
|
||||||
p->name( read_text() );
|
p->name( read_text() );
|
||||||
MESSAGE( "Track name: %s", p->name() );
|
DMESSAGE( "Track name: %s", p->name() );
|
||||||
name_set = true;
|
name_set = true;
|
||||||
break;
|
break;
|
||||||
case smf::INSTRUMENT:
|
case smf::INSTRUMENT:
|
||||||
|
@ -1105,7 +1105,7 @@ smf::read_track_events ( tick_t *length )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MESSAGE( "converting MIDI cue to note-on/off n: %d", e.note() );
|
DMESSAGE( "converting MIDI cue to note-on/off n: %d", e.note() );
|
||||||
|
|
||||||
/* just in case */
|
/* just in case */
|
||||||
skip( l );
|
skip( l );
|
||||||
|
|
Loading…
Reference in New Issue