mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 17:00:05 +00:00 
			
		
		
		
	Make naming more consistent for some ImGui DrawLayer Functions
This commit is contained in:
		
							parent
							
								
									a9daf47741
								
							
						
					
					
						commit
						c139b156ee
					
				
					 4 changed files with 10 additions and 10 deletions
				
			
		|  | @ -80,7 +80,7 @@ void DrawLayer::Initialize() | |||
|    ImGuiInitialize(); | ||||
| } | ||||
| 
 | ||||
| void DrawLayer::StartImGuiFrame() | ||||
| void DrawLayer::ImGuiFrameStart() | ||||
| { | ||||
|    auto defaultFont = manager::FontManager::Instance().GetImGuiFont( | ||||
|       types::FontCategory::Default); | ||||
|  | @ -95,7 +95,7 @@ void DrawLayer::StartImGuiFrame() | |||
|    ImGui::PushFont(defaultFont->font()); | ||||
| } | ||||
| 
 | ||||
| void DrawLayer::EndImGuiFrame() | ||||
| void DrawLayer::ImGuiFrameEnd() | ||||
| { | ||||
|    // Pop default font
 | ||||
|    ImGui::PopFont(); | ||||
|  | @ -145,9 +145,9 @@ void DrawLayer::ImGuiSelectContext() | |||
| 
 | ||||
| void DrawLayer::Render(const QMapLibre::CustomLayerRenderParameters& params) | ||||
| { | ||||
|    StartImGuiFrame(); | ||||
|    ImGuiFrameStart(); | ||||
|    RenderWithoutImGui(params); | ||||
|    EndImGuiFrame(); | ||||
|    ImGuiFrameEnd(); | ||||
| } | ||||
| 
 | ||||
| void DrawLayer::Deinitialize() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak