mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:40: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
				
			
		|  | @ -102,7 +102,7 @@ void DrawLayer::ImGuiFrameStart(const std::shared_ptr<MapContext>& mapContext) | |||
|    ImGui_ImplQt_NewFrame(mapContext->widget()); | ||||
|    ImGui_ImplOpenGL3_NewFrame(); | ||||
|    ImGui::NewFrame(); | ||||
|    ImGui::PushFont(defaultFont->font(), 0.0f); | ||||
|    ImGui::PushFont(defaultFont.first->font(), defaultFont.second.value()); | ||||
| } | ||||
| 
 | ||||
| void DrawLayer::ImGuiFrameEnd() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat