mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:30:05 +00:00 
			
		
		
		
	Adding apply/discard/reset functionality to settings dialog
This commit is contained in:
		
							parent
							
								
									a6974e31a2
								
							
						
					
					
						commit
						87f611e026
					
				
					 10 changed files with 276 additions and 13 deletions
				
			
		|  | @ -61,6 +61,11 @@ public: | |||
|     */ | ||||
|    void SetValueToDefault() override; | ||||
| 
 | ||||
|    /**
 | ||||
|     * Stages the default value of the settings variable. | ||||
|     */ | ||||
|    void StageDefault() override; | ||||
| 
 | ||||
|    /**
 | ||||
|     * Sets the staged value of the settings variable. | ||||
|     * | ||||
|  | @ -73,8 +78,11 @@ public: | |||
| 
 | ||||
|    /**
 | ||||
|     * Sets the current value of the settings variable to the staged value. | ||||
|     * | ||||
|     * @return true if the staged value was committed, false if no staged value | ||||
|     * is present. | ||||
|     */ | ||||
|    void Commit(); | ||||
|    bool Commit(); | ||||
| 
 | ||||
|    /**
 | ||||
|     * Clears the staged value of the settings variable. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat