mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 20:50:06 +00:00 
			
		
		
		
	Set loop defaults
This commit is contained in:
		
							parent
							
								
									6d165068e9
								
							
						
					
					
						commit
						80f04be510
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		|  | @ -61,7 +61,7 @@ public: | ||||||
|    std::chrono::system_clock::time_point selectedTime_ {}; |    std::chrono::system_clock::time_point selectedTime_ {}; | ||||||
|    types::MapTime                        viewType_ {types::MapTime::Live}; |    types::MapTime                        viewType_ {types::MapTime::Live}; | ||||||
|    std::chrono::minutes                  loopTime_ {30}; |    std::chrono::minutes                  loopTime_ {30}; | ||||||
|    double                                loopSpeed_ {1.0}; |    double                                loopSpeed_ {5.0}; | ||||||
| 
 | 
 | ||||||
|    types::AnimationState     animationState_ {types::AnimationState::Pause}; |    types::AnimationState     animationState_ {types::AnimationState::Pause}; | ||||||
|    boost::asio::steady_timer animationTimer_ {scwx::util::io_context()}; |    boost::asio::steady_timer animationTimer_ {scwx::util::io_context()}; | ||||||
|  |  | ||||||
|  | @ -85,6 +85,10 @@ AnimationDockWidget::AnimationDockWidget(QWidget* parent) : | ||||||
|    // Evaluate every 15 seconds, every second is unnecessary
 |    // Evaluate every 15 seconds, every second is unnecessary
 | ||||||
|    maxDateTimer->start(15000); |    maxDateTimer->start(15000); | ||||||
| 
 | 
 | ||||||
|  |    // Set loop defaults
 | ||||||
|  |    ui->loopTimeSpinBox->setValue(30); | ||||||
|  |    ui->loopSpeedSpinBox->setValue(5.0); | ||||||
|  | 
 | ||||||
|    // Connect widget signals
 |    // Connect widget signals
 | ||||||
|    p->ConnectSignals(); |    p->ConnectSignals(); | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat