mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:30:06 +00:00 
			
		
		
		
	Add alert palette reset buttons
This commit is contained in:
		
							parent
							
								
									2d8c3c8175
								
							
						
					
					
						commit
						a1d9b25f0b
					
				
					 6 changed files with 177 additions and 0 deletions
				
			
		|  | @ -65,6 +65,18 @@ inline auto FormatParameter(const T& value) | |||
|    } | ||||
| } | ||||
| 
 | ||||
| template<class T> | ||||
| bool SettingsVariable<T>::IsDefault() const | ||||
| { | ||||
|    return p->value_ == p->default_; | ||||
| } | ||||
| 
 | ||||
| template<class T> | ||||
| bool SettingsVariable<T>::IsDefaultStaged() const | ||||
| { | ||||
|    return p->staged_.value_or(p->value_) == p->default_; | ||||
| } | ||||
| 
 | ||||
| template<class T> | ||||
| T SettingsVariable<T>::GetValue() const | ||||
| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat