Show
Ignore:
Timestamp:
11/06/08 03:58:40 (5 years ago)
Author:
wolke
Message:

sampleeditor restore settings

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/new_fx_rack_and_sample_fun/gui/src/SampleEditor/SampleEditor.cpp

    r629 r630  
    7575        m_pSamplefromFile = Sample::load( mSamplefilename ); 
    7676 
    77 //this  
    7877        unsigned slframes = m_pSamplefromFile->get_n_frames(); 
    7978 
     
    8685        intDisplays(); 
    8786        getAllFrameInfos(); 
    88          
    89  
    90  
    91 //      m_pSample->set_end_frame( m_end_frame ); 
    9287 
    9388// mainSampleview = 624(575) x 265 :-) 
     
    117112 
    118113 
    119  
    120  
    121114SampleEditor::~SampleEditor() 
    122115{ 
     
    129122 
    130123 
    131 //this  
     124 
     125 
    132126void SampleEditor::getAllFrameInfos() 
    133127{ 
     
    203197} 
    204198 
     199 
     200 
    205201void SampleEditor::intDisplays() 
    206202{ 
     
    241237        m_pTargetSampleView->move( 1, 1 ); 
    242238 
    243  
    244239        QApplication::restoreOverrideCursor(); 
    245240 
    246241} 
    247  
    248242 
    249243 
     
    302296} 
    303297*/ 
     298 
    304299 
    305300 
     
    351346                 
    352347} 
     348 
     349 
    353350 
    354351void SampleEditor::mouseReleaseEvent(QMouseEvent *ev) 
     
    439436 
    440437 
     438 
    441439void SampleEditor::on_PlayPushButton_clicked() 
    442440{ 
     
    465463} 
    466464 
     465 
     466 
    467467void SampleEditor::on_PlayOrigPushButton_clicked() 
    468468{ 
     
    479479        m_prealtimeframeend = Hydrogen::get_instance()->getRealtimeFrames() + m_pslframes; 
    480480} 
     481 
    481482 
    482483 
     
    503504} 
    504505 
     506 
     507 
    505508void SampleEditor::createPositionsRulerPath() 
    506509{ 
     
    578581        m_pPositionsRulerPath = tempframes; 
    579582} 
     583 
     584 
    580585 
    581586void SampleEditor::setSamplelengthFrames() 
     
    605610        m_pSampleEditorStatus = false; 
    606611} 
     612 
    607613 
    608614 
     
    627633 
    628634 
    629  
    630635void SampleEditor::on_verticalzoomSlider_valueChanged( int value ) 
    631636{ 
     
    635640 
    636641 
     642 
    637643void SampleEditor::testPositionsSpinBoxes() 
    638644{ 
    639 //m_start_frame; 
    640 //m_loop_frame; 
    641 //m_end_frame; 
     645 
    642646        if (  m_start_frame > m_loop_frame ) m_loop_frame = m_start_frame; 
    643647        if (  m_start_frame > m_end_frame ) m_end_frame = m_start_frame;