mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	imgui: Fix scaling
This commit is contained in:
		
							parent
							
								
									c99fe20504
								
							
						
					
					
						commit
						703b9bda32
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -45,8 +45,8 @@ public: | |||
|     void new_frame(); | ||||
|     void render(); | ||||
| 
 | ||||
|     float scaled(float x) const { return x * m_font_size * m_style_scaling; } | ||||
|     ImVec2 scaled(float x, float y) const { return ImVec2(x * m_font_size * m_style_scaling, y * m_font_size * m_style_scaling); } | ||||
|     float scaled(float x) const { return x * m_font_size; } | ||||
|     ImVec2 scaled(float x, float y) const { return ImVec2(x * m_font_size, y * m_font_size); } | ||||
|     ImVec2 calc_text_size(const wxString &text); | ||||
| 
 | ||||
|     void set_next_window_pos(float x, float y, int flag); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Kral
						Vojtech Kral