mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:40:06 +00:00 
			
		
		
		
	Setting default custom_style_draw_layer value
This commit is contained in:
		
							parent
							
								
									f182e985c0
								
							
						
					
					
						commit
						ec0e502516
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		|  | @ -52,6 +52,7 @@ public: | |||
| 
 | ||||
|       antiAliasingEnabled_.SetDefault(true); | ||||
|       clockFormat_.SetDefault(defaultClockFormatValue); | ||||
|       customStyleDrawLayer_.SetDefault(".*\\.annotations\\.points"); | ||||
|       debugEnabled_.SetDefault(false); | ||||
|       defaultAlertAction_.SetDefault(defaultDefaultAlertActionValue); | ||||
|       defaultRadarSite_.SetDefault("KLSX"); | ||||
|  | @ -102,6 +103,8 @@ public: | |||
|          SCWX_SETTINGS_ENUM_VALIDATOR(scwx::util::ClockFormat, | ||||
|                                       scwx::util::ClockFormatIterator(), | ||||
|                                       scwx::util::GetClockFormatName)); | ||||
|       customStyleDrawLayer_.SetValidator([](const std::string& value) | ||||
|                                          { return !value.empty(); }); | ||||
|       defaultAlertAction_.SetValidator( | ||||
|          SCWX_SETTINGS_ENUM_VALIDATOR(types::AlertAction, | ||||
|                                       types::AlertActionIterator(), | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat