Browse Source

WIP

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
364fee5983
1 changed files with 25 additions and 0 deletions
  1. +25
    -0
      Region.C

+ 25
- 0
Region.C View File

@@ -50,6 +50,31 @@ static Fl_Color fl_invert_color ( Fl_Color c )
}


#if 0
/* perhaps use map? */
map_PRIM ( set )
{
/* if ( narg % 2 != 0 ) */
/* printf( "invalid number of arguments\n" ); */

int id = atoi( arg );

map_ARG_NEXT( arg, end );

Logable *l = Loggable::find( id );

char **sa = malloc( sizeof( char * ) * narg + 1 );

for ( int i = 0; i < narg; ++i )
sa[ i ] = strdup( map_ARG_NEXT( arg, end ) );

l->set( sa );

map_RESULT( "" );
}
#endif


void
Region::init ( void )
{


Loading…
Cancel
Save