mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 07:50:05 +00:00 
			
		
		
		
	Initial setup for font settings
This commit is contained in:
		
							parent
							
								
									e0aa327bb7
								
							
						
					
					
						commit
						ad1646d725
					
				
					 7 changed files with 192 additions and 23 deletions
				
			
		|  | @ -2,6 +2,7 @@ | |||
| 
 | ||||
| #include <scwx/qt/settings/settings_category.hpp> | ||||
| #include <scwx/qt/settings/settings_variable.hpp> | ||||
| #include <scwx/qt/types/text_types.hpp> | ||||
| 
 | ||||
| #include <memory> | ||||
| #include <string> | ||||
|  | @ -25,8 +26,15 @@ public: | |||
|    TextSettings(TextSettings&&) noexcept; | ||||
|    TextSettings& operator=(TextSettings&&) noexcept; | ||||
| 
 | ||||
|    SettingsVariable<std::string>& | ||||
|    font_family(types::FontCategory fontCategory) const; | ||||
|    SettingsVariable<std::string>& | ||||
|    font_style(types::FontCategory fontCategory) const; | ||||
|    SettingsVariable<double>& | ||||
|    font_point_size(types::FontCategory fontCategory) const; | ||||
| 
 | ||||
|    SettingsVariable<std::int64_t>& hover_text_wrap() const; | ||||
|    SettingsVariable<std::string>& tooltip_method() const; | ||||
|    SettingsVariable<std::string>&  tooltip_method() const; | ||||
| 
 | ||||
|    static TextSettings& Instance(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat