mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 05:30:05 +00:00 
			
		
		
		
	Implement discard functionality for line settings
This commit is contained in:
		
							parent
							
								
									6063de2095
								
							
						
					
					
						commit
						76809de2df
					
				
					 7 changed files with 89 additions and 7 deletions
				
			
		|  | @ -60,9 +60,17 @@ public: | |||
|    void ResetToDefault(); | ||||
| 
 | ||||
| protected: | ||||
|    void AddSettingsCategory(settings::SettingsCategory* category); | ||||
|    void AddSettingsInterface(settings::SettingsInterfaceBase* setting); | ||||
| 
 | ||||
|    /**
 | ||||
|     * Commits and resets all settings within a category upon page commit or | ||||
|     * reset. The use of SettingsInterface is preferred, as it allows the binding | ||||
|     * of widgets to these actions. | ||||
|     * | ||||
|     * @param [in] category Settings category | ||||
|     */ | ||||
|    void AddSettingsCategory(settings::SettingsCategory* category); | ||||
| 
 | ||||
| private: | ||||
|    class Impl; | ||||
|    std::shared_ptr<Impl> p; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat