Browse Source

Add 'Denormalize' to Audio_Region context menu.

tags/non-daw-v1.1.0
Jonathan Moore Liles 16 years ago
parent
commit
90639f65dd
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Timeline/Audio_Region.C

+ 3
- 0
Timeline/Audio_Region.C View File

@@ -268,6 +268,8 @@ Audio_Region::menu_cb ( const Fl_Menu_ *m )
_loop = 0;
else if ( ! strcmp( picked, "/Normalize" ) )
normalize();
else if ( ! strcmp( picked, "/Denormalize" ) )
_scale = 1.0;
else if ( ! strcmp( picked, "/Range from" ) )
timeline->range( start(), length() );
else if ( ! strcmp( picked, "/Remove" ) )
@@ -312,6 +314,7 @@ Audio_Region::menu ( void )
{ "Loop point to mouse", 'l', 0, 0 },
{ "Clear loop point", FL_SHIFT + 'l', 0, 0 },
{ "Normalize", 'n', 0, 0 },
{ "Denormalize", FL_SHIFT + 'n', 0, 0 },
{ "Range from", FL_CTRL + 'r', 0, 0 },
{ "Remove", 0, 0, 0 },
{ 0 },


Loading…
Cancel
Save