- Timestamp:
- 11/06/08 03:58:40 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/new_fx_rack_and_sample_fun/gui/src/SampleEditor/SampleEditor.cpp
r629 r630 75 75 m_pSamplefromFile = Sample::load( mSamplefilename ); 76 76 77 //this78 77 unsigned slframes = m_pSamplefromFile->get_n_frames(); 79 78 … … 86 85 intDisplays(); 87 86 getAllFrameInfos(); 88 89 90 91 // m_pSample->set_end_frame( m_end_frame );92 87 93 88 // mainSampleview = 624(575) x 265 :-) … … 117 112 118 113 119 120 121 114 SampleEditor::~SampleEditor() 122 115 { … … 129 122 130 123 131 //this 124 125 132 126 void SampleEditor::getAllFrameInfos() 133 127 { … … 203 197 } 204 198 199 200 205 201 void SampleEditor::intDisplays() 206 202 { … … 241 237 m_pTargetSampleView->move( 1, 1 ); 242 238 243 244 239 QApplication::restoreOverrideCursor(); 245 240 246 241 } 247 248 242 249 243 … … 302 296 } 303 297 */ 298 304 299 305 300 … … 351 346 352 347 } 348 349 353 350 354 351 void SampleEditor::mouseReleaseEvent(QMouseEvent *ev) … … 439 436 440 437 438 441 439 void SampleEditor::on_PlayPushButton_clicked() 442 440 { … … 465 463 } 466 464 465 466 467 467 void SampleEditor::on_PlayOrigPushButton_clicked() 468 468 { … … 479 479 m_prealtimeframeend = Hydrogen::get_instance()->getRealtimeFrames() + m_pslframes; 480 480 } 481 481 482 482 483 … … 503 504 } 504 505 506 507 505 508 void SampleEditor::createPositionsRulerPath() 506 509 { … … 578 581 m_pPositionsRulerPath = tempframes; 579 582 } 583 584 580 585 581 586 void SampleEditor::setSamplelengthFrames() … … 605 610 m_pSampleEditorStatus = false; 606 611 } 612 607 613 608 614 … … 627 633 628 634 629 630 635 void SampleEditor::on_verticalzoomSlider_valueChanged( int value ) 631 636 { … … 635 640 636 641 642 637 643 void SampleEditor::testPositionsSpinBoxes() 638 644 { 639 //m_start_frame; 640 //m_loop_frame; 641 //m_end_frame; 645 642 646 if ( m_start_frame > m_loop_frame ) m_loop_frame = m_start_frame; 643 647 if ( m_start_frame > m_end_frame ) m_end_frame = m_start_frame;