mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:10:06 +00:00 
			
		
		
		
	Use dynamically sized ImGui fonts
This commit is contained in:
		
							parent
							
								
									dc96e3e3ad
								
							
						
					
					
						commit
						c82b9753c6
					
				
					 12 changed files with 89 additions and 88 deletions
				
			
		|  | @ -2,6 +2,7 @@ | |||
| 
 | ||||
| #include <scwx/qt/gl/gl_context.hpp> | ||||
| #include <scwx/qt/gl/draw/draw_item.hpp> | ||||
| #include <scwx/qt/manager/placefile_manager.hpp> | ||||
| #include <scwx/qt/types/imgui_font.hpp> | ||||
| #include <scwx/gr/placefile.hpp> | ||||
| 
 | ||||
|  | @ -54,10 +55,7 @@ public: | |||
|     * | ||||
|     * @param [in] fonts A map of ImGui fonts | ||||
|     */ | ||||
|    void | ||||
|    SetFonts(const boost::unordered_flat_map<std::size_t, | ||||
|                                             std::shared_ptr<types::ImGuiFont>>& | ||||
|                fonts); | ||||
|    void SetFonts(const manager::PlacefileManager::FontMap& fonts); | ||||
| 
 | ||||
|    /**
 | ||||
|     * Adds placefile text to the internal draw list. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat