mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	NEW: add Internal Version text in splashscreen
Change-Id: I1ef69fcf74ba1ffa3d610e4c85b3230b162431a2 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
		
							parent
							
								
									6c8015ca28
								
							
						
					
					
						commit
						4d70fd0eee
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -280,6 +280,15 @@ public:
 | 
			
		|||
        memDc.SetTextForeground(wxColor(134, 134, 134));
 | 
			
		||||
        memDc.DrawLabel(m_constant_text.version, version_rect, wxALIGN_LEFT | wxALIGN_BOTTOM);
 | 
			
		||||
 | 
			
		||||
#if BBL_INTERNAL_TESTING
 | 
			
		||||
        wxSize text_rect = memDc.GetTextExtent("Internal Version");
 | 
			
		||||
        int start_x = (title_rect.GetLeft() + version_rect.GetRight()) / 2 - text_rect.GetWidth();
 | 
			
		||||
        int start_y = version_rect.GetBottom() + 10;
 | 
			
		||||
        wxRect internal_sign_rect(wxPoint(start_x, start_y), wxSize(text_rect));
 | 
			
		||||
        memDc.SetFont(m_constant_text.title_font);
 | 
			
		||||
        memDc.DrawLabel("Internal Version", internal_sign_rect, wxALIGN_TOP | wxALIGN_LEFT);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
        // load bitmap for logo
 | 
			
		||||
        BitmapCache bmp_cache;
 | 
			
		||||
        int logo_margin = FromDIP(72 * m_scale);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue