Changeset 512

Show
Ignore:
Timestamp:
09/24/08 07:43:23 (5 years ago)
Author:
wolke
Message:

merge changes on trunk into audiofilebrowser branche

Location:
branches/audiofilebrowser
Files:
8 modified
2 copied

Legend:

Unmodified
Added
Removed
  • branches/audiofilebrowser/data/new_manual/index.html

    r360 r512  
    356356                <area shape="rect" coords="433,4,471,21" title="Record an instrument from an external source"  nohref="nohref" /> 
    357357                <area shape="rect" coords="472,3,530,21" title="Quantize instrument: notes added will respect the grid resolution"  nohref="nohref" /> 
    358                 <area shape="rect" coords="531,2,603,22" title="Zoom in/out the pattern view"  nohref="nohref" /> 
    359358                <area shape="rect" coords="1,24,181,49" title="Current selected pattern name"  nohref="nohref" /> 
    360                 <area shape="rect" coords="0,49,150,505" title="Instrument name column"  nohref="nohref" /> 
    361                 <area shape="rect" coords="151,50,164,505" title="Red square: mute instrument"  nohref="nohref" /> 
    362                 <area shape="rect" coords="165,51,177,505" title="Green square: play solo"  nohref="nohref" /> 
    363                 <area shape="rect" coords="182,26,777,506" title="Pattern overview"  nohref="nohref" /> 
    364                 <area shape="rect" coords="1,549,178,561" title="Drop down menu to tune velocity, pan, lead&amp;lag" nohref="nohref" /> 
    365                 <area shape="rect" coords="181,505,778,602" title="Vertical bars representing velocity, pan, lead&amp;lag" nohref="nohref" /> 
     359                <area shape="rect" coords="0,49,150,387" title="Instrument name column"  nohref="nohref" /> 
     360                <area shape="rect" coords="151,50,164,387" title="Red square: mute instrument"  nohref="nohref" /> 
     361                <area shape="rect" coords="165,51,177,387" title="Green square: play solo"  nohref="nohref" /> 
     362                <area shape="rect" coords="182,26,777,387" title="Pattern overview"  nohref="nohref" /> 
     363                <area shape="rect" coords="1,455,178,471" title="Drop down menu to tune velocity, pan, lead&amp;lag" nohref="nohref" /> 
     364                <area shape="rect" coords="181,412,789,513" title="Vertical bars representing velocity, pan, lead&amp;lag" nohref="nohref" /> 
     365                <area shape="rect" coords="760,513,797,528" title="Zoom in/out the pattern view"  nohref="nohref" /> 
    366366        </map> 
    367367</div> 
  • branches/audiofilebrowser/gui/src/HydrogenApp.cpp

    r480 r512  
    121121        Hydrogen *engine = Hydrogen::get_instance(); 
    122122        if (engine) { 
    123                 delete engine->getSong(); 
     123                H2Core::Song * song = engine->getSong(); 
     124                // Hydrogen calls removeSong on from its destructor, so here we just delete the objects: 
    124125                delete engine; 
     126                delete song; 
    125127        } 
    126128 
  • branches/audiofilebrowser/gui/src/PatternEditor/PatternEditorPanel.cpp

    r390 r512  
    213213 
    214214 
    215         // show drum editor btn 
    216         __show_drum_btn = new ToggleButton( 
    217                         NULL, 
    218                         "/skin_btn_on.png", 
    219                         "/skin_btn_off.png", 
    220                         "/skin_btn_over.png", 
    221                         QSize(40, 17), 
    222                         true 
    223         ); 
    224         __show_drum_btn->setText( trUtf8("Drum") ); 
    225         __show_drum_btn->setPressed( true ); 
    226         __show_drum_btn->setToolTip( trUtf8( "Show drum editor" ) ); 
    227         connect(__show_drum_btn, SIGNAL(clicked(Button*)), this, SLOT( showDrumEditorBtnClick(Button*))); 
    228         editor_top_hbox->addWidget(__show_drum_btn); 
    229         __show_drum_btn->hide(); 
    230  
    231  
    232         // show piano roll btn 
    233         __show_piano_btn = new ToggleButton( 
    234                         NULL, 
    235                         "/skin_btn_on.png", 
    236                         "/skin_btn_off.png", 
    237                         "/skin_btn_over.png", 
    238                         QSize(40, 17), 
    239                         true 
    240         ); 
    241         __show_piano_btn->setText( trUtf8("Piano") ); 
    242         __show_piano_btn->setPressed( false ); 
    243         __show_piano_btn->setToolTip( trUtf8( "Show piano roll editor" ) ); 
    244         connect(__show_piano_btn, SIGNAL(clicked(Button*)), this, SLOT( showPianoEditorBtnClick(Button*))); 
    245         editor_top_hbox->addWidget(__show_piano_btn); 
    246         __show_piano_btn->hide(); 
    247215// End Editor TOP 
    248216 
  • branches/audiofilebrowser/gui/src/SoundLibrary/SoundLibraryRepositoryDialog.cpp

    r128 r512  
    7575        QString text = QInputDialog::getText(this, trUtf8("Edit server list"), trUtf8("URL"), QLineEdit::Normal,QString(""), &ok); 
    7676         
    77         if( ok and !text.isEmpty() ){ 
     77        if( ok && !text.isEmpty() ){ 
    7878                pPref->sServerList.push_back( text ); 
    7979        } 
  • branches/audiofilebrowser/gui/src/widgets/midiTable.cpp

    r377 r512  
    5656                QComboBox * actionCombo = dynamic_cast <QComboBox *> ( cellWidget( __row_count - 1, 2 ) ); 
    5757 
    58                 if( eventCombo == NULL or actionCombo == NULL) return; 
     58                if( eventCombo == NULL || actionCombo == NULL) return; 
    5959 
    60                 if( actionCombo->currentText() != "" and eventCombo->currentText() != "" ) { 
     60                if( actionCombo->currentText() != "" && eventCombo->currentText() != "" ) { 
    6161                        insertNewRow("", "", 0, 0); 
    6262                } 
  • branches/audiofilebrowser/libs/hydrogen/src/instrument.cpp

    r437 r512  
    141141                        pLayer->set_end_velocity( pNewLayer->get_end_velocity() ); 
    142142                        pLayer->set_gain( pNewLayer->get_gain() ); 
     143                         pLayer->set_pitch(pNewLayer->get_pitch());  
    143144 
    144145                        if ( is_live )