mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	Update the codes to 01.01.00.10 for the formal release
1. first formal version of macos 2. add the bambu networking plugin install logic 3. auto compute the wipe volume when filament change 4. add the logic of wiping into support 5. refine the GUI layout and icons, improve the gui apperance in lots of small places 6. serveral improve to support 7. support AMS auto-mapping 8. disable lots of unstable features: such as params table, media file download, HMS 9. fix serveral kinds of bugs 10. update the document of building 11. ...
This commit is contained in:
		
							parent
							
								
									e1528e4299
								
							
						
					
					
						commit
						e9e4d75877
					
				
					 267 changed files with 10326 additions and 32228 deletions
				
			
		|  | @ -35,6 +35,33 @@ wxFont Label::Body_14 = Label::sysFont(14, false); | |||
| wxFont Label::Body_13 = Label::sysFont(13, false); | ||||
| wxFont Label::Body_12 = Label::sysFont(12, false); | ||||
| wxFont Label::Body_10 = Label::sysFont(10, false); | ||||
| wxFont Label::Body_9 = Label::sysFont(9, false); | ||||
| 
 | ||||
| wxSize Label::split_lines(wxDC &dc, int width, const wxString &text, wxString &multiline_text) | ||||
| { | ||||
|     multiline_text = text; | ||||
|     if (width > 0 && dc.GetTextExtent(text).x > width) { | ||||
|         size_t start   = 0; | ||||
|         while (true) { | ||||
|             size_t idx = size_t(-1); | ||||
|             for (size_t i = start; i < multiline_text.Len(); i++) { | ||||
|                 if (multiline_text[i] == ' ') { | ||||
|                     if (dc.GetTextExtent(multiline_text.SubString(start, i)).x < width) | ||||
|                         idx = i; | ||||
|                     else { | ||||
|                         if (idx == size_t(-1)) idx = i; | ||||
|                         break; | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|             if (idx == size_t(-1)) break; | ||||
|             multiline_text[idx] = '\n'; | ||||
|             start               = idx + 1; | ||||
|             if (dc.GetTextExtent(multiline_text.Mid(start)).x < width) break; | ||||
|         } | ||||
|     } | ||||
|     return dc.GetMultiLineTextExtent(multiline_text); | ||||
| } | ||||
| 
 | ||||
| Label::Label(wxString const &text, wxWindow *parent) : Label(Body_16, text, parent) {} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 lane.wei
						lane.wei