mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:00:05 +00:00 
			
		
		
		
	Connecting font selection to settings dialog, in-work
This commit is contained in:
		
							parent
							
								
									d82fb666f9
								
							
						
					
					
						commit
						4e5aa7b5e1
					
				
					 6 changed files with 245 additions and 95 deletions
				
			
		|  | @ -239,6 +239,12 @@ std::optional<T> SettingsVariable<T>::GetStaged() const | |||
|    return p->staged_; | ||||
| } | ||||
| 
 | ||||
| template<class T> | ||||
| T SettingsVariable<T>::GetStagedOrValue() const | ||||
| { | ||||
|    return p->staged_.value_or(GetValue()); | ||||
| } | ||||
| 
 | ||||
| template<class T> | ||||
| T SettingsVariable<T>::GetDefault() const | ||||
| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat