Redesign of all icons / UI improvements (#4368)

* Changed Most of Icons

* Updated Tab Bar icons

Replaced with wider and a bit bigger ones
• Used a bigger toolhead for printer icon on device tab

* Tab Bar

• Device icon > slightly increased nozzle size

* Bed Plate images

• Bed plate > Lock Enabled (Dark & Light Mode) > Hover > Used brighter background color
• Bed plate > Settings (Changed status) (Dark & Light Mode) > Hover > Used brighter background color

* Modifiers & Notification icons

• Redesigned modifier icons
• Added some of notification icons

* Mixed imrovements

• Added Sidebar collapse button with simpler design
• Sidebar Printing Preset Section > Added "Advanced" Icon with atom like design
• Sidebar Printing Preset Section > Improved "Support Filament" Icon .filaments tip supports an object now
• Notifications > Corrected image sizes
• Notifications > Corrected icon placements

* Mixed improvements

• Updated warning dialog icon
• added plate stats images for multiple plate slicing
• added icon for info dialog

* Mixed improvements

• updated volumetric speed icon
• improved readability of preset compare button

* Mixed improvements

• Updated paint height range icon
• Added paint triangle icon
• Added multi material paint icon for toolbar

* Mixed Improvements

• updated titlebar file icon as square to increase similarity with other icons
• redesigned toolbaar icons for painting (support, seam, color) they are sharing same design language now
• updated sidebar icons wall, top/bottom shell, seam, support
• added icons for compare window. (equal, not equal, spool, undefined, node_dot,cog,support)
• Added confirm button icon for search boxes for toolbar popups

* Mixed Improvements

• Added new icons for project page
• Added a loading icon to all sliced plates stats icon while slicing process continues
• Updated lock and plate setting icons for plate buttons
• Added new icons for cut modifier (cut_ / cut_connector)

* Mixed

• Updated notification icons (notification_preferences, notification_right, notification_eject_sd, notification_documentation)
• Added missing original resources from my folder

* Mixed improvements

• Reworked network / wifi icon
• Reworked bed adhension icon
• Reworked raft icon
• Reworked layer height and width icons
• Added new icons to replace generic / missing icons on sidebar (param_overhang, param_bridge, param_wall_surface, param_overhang_speed, param_jerk)
• Updated Edit, Save, Delete, Search icons on sidebar
• Used a brighter color for all icons. they are more visible now on dark mode. #949494() color has better balance between dark / light theme
• Sidebar > Improved readability of Support Material icon
• Sidebar > Improved readability of compare icon. again

* Mixed improvements

• Added height_range_modifier.svg for context menu
• Edited Placeholder > Lock icons. just increased heights to match with other icons
• Edited slowdown for overhangs
• Edited Object sinking icon
• Reworked Add copies button
• Updated add button

* Mixed

• Updated placeholder tempeture icon
• Added new image for placeholder time icon - custom-gcode_time.svg . Added new one because i dont want to mess with other time icons
• Restored original file model_time.svg

* Mixed improvements

• Updated Sidebar > Temperature icon
• Reworked image of about page

* Reworked about page

• Updated orca slicer logo with custom made font

* Readded Optimizsed PNG files

Branch has not in sync with original branch. so i added manually
Original commit https://github.com/SoftFever/OrcaSlicer/pull/4294

* Mixed Improvements

• Updated Sidebar > Flush volumes icon
• Updated Toolbar > Emboss & Measure icon (Shifted them 1 px to fixing minor placement mistake)

* About Page

• Minor change on L letter on logo
• Slightly changed proportions on text

* Mixed

• Updated Tab bar > Device icon with added a tiny pixel for presenting fan.
• Updated Sidebar > Device icon with bigger toolhead. added a tiny pixel for presenting fan. it matches with tab icon now
• Updated Sidebar > Overhangs icon
• Added new icons for missing placeholder items. Quality, Strenght, Other, Setting Overrides, Multi Material and many others. added them to tasklist

* Mixed

• Added new icons for missing filament setting items. Toolchange added to tasklist
• Added new icons for missing printer setting items. Toolchange, Printable Space, Extruder Clearence, Adaptive Bed Mesh, Accesory, Multi Material, Size, Position, Lift Z Enforcement

* Mixed

• Reworked support enforcer and blocker icons. they are much better now
• Slightly changed modifier icons
• Updated Object sinking icon. added a wave intead of straight line. Will try too add waves more places to improve aqua effect
• Used same revert icon for lock_normal.svg to increase UI constinency. added an cube icon as badge to indicate its spesific to object. Icon used in object list
• Toolbar > Popup windows > Keyboard cheet sheet icon > Updated icon. changed resolution. tried many resolution but i couldnt fix blur on icon. So added it to task list for coding side fixes
• Updated Sidebar > Compare icon
• Updated Sidebar > Nozzle size icon

* Removed misnamed files

• Removed some unnecessary files caused by misnamed on illustrator

* Mixed

• Updated design of Context Menu > Reinforce support and Block support again
• Updated design of Toolbar > Emboss > now it shares same design language with add object. Also using 3D shape for letter presents better emboss function
• Updated design of Toolbar > Color paint > Added some waves and bubbles :)
• Updated design of Toolbar > Paint > Brush types
• Updated design of Toolbar > Auto Orient / Lay on Surface > Moved asteriks to middle of object and added an target icon for lay on surface. I choose target because lay on surface is selective function
• Updated design of Toolbar > Auto Arrange > All shapes highlighted instead of one while hovering. this makes sense because it arranges all objects. Added different shapes to increase indication of works with multiple different objects / shapes.
• Updated design of Toolbar > Add Plate > Added few plates to back to make it looks like a bit smaller. its now fit better with other icons
• Updated design of Sidebar > Overhang Speed > Changes snail to turtle. its much more related with ocean
• Updated design of Sidebar > Prime Tower > Used a light house to present tower
• Updated design of Modifiers > Height range
• Updated notification and dialog type icons. Added a wave and orca to improve branding
• Updated Plate icons with new auto arrange and auto orient icons
• Added 2 new images for object list to support lower resolutions. objlist_support_painting and objlist_seam_painting. added this change in tasklist
• Many minor fixes

* Updated object list icons

• Updated object list icons for painting functions

* Updated object list icons

• Improved readability object list icons for painting functions

* Mixed

• Updated design of Toolbar > Emboss > Removed 3D design because its makes it hard to identify. Used a simplified 3D effect to present emboss function
• Updated design of Toolbar > Add Plate > Removed + badge because it makes design a bit complicated and second/third plate on back already presents button related with multiple plates
• Updated design of Toolbar > Auto Orient & Lay on Face > Changed bed shape to a single line. Icon fits better with other designs now
• Updated design of Toolbar > Variable Layer Height > Used lines to present layer instead of rectangles. Icon fits better with other designs now. Also this change will improve design consistency with height range menu item icon
• Updated design of Toolbar > Split to objects / parts > Increased gap between object to increase visibility of dashed line
• Reduced opacity of edit, delete preset, search icon fot reducing contrast on sidebar
• Updated icon of return icon (assemble_return.svg)
• Updated all lock / Unlock icons
• Updated Plate name edit icons. Used same line width with other plate icons and used same icon on other edit buttons
• Found new icons to redesign in svg import popup. Updated files & designs
> Refresh (refresh.svg)
> Mirror on X (reflection_x.svg)
> Mirror on Y (reflection_y)
> Dropdown Menu > Bake / Forget the File Path (burn.svg)
> Dropdown Menu > Change File (open.svg)
• Found new icons to redesign in create printer. Updated files & designs
> step_1.svg
> step_2.svg
> step_2_ready.svg
> step_is_ok.svg
> create_success.svg

* Mixed

• Updated Plate icons > Lock / Unlock > icon now shows opposite state while hover
• Updated Plate icons > Auto orient > Changed bed shape to 1px line. now matches with toolbar icon
• Fixed some opacity related issues on edit, delete, search buttons

* Mixed

• Found new icons to redesign on slided object > layer slider
> im_slider_delete.svg > Used red color on this to reduce accidental usage
> im_gcode_custom.svg > Changed backround to turquoise. Made icon pixel perfect and now easier to identify
> im_gcode_pause.svg > Changed backround to turquoise. Made icon pixel perfect and now easier to identify
• Reworked all plate normal and hover colors. Their background color not changes on hover. Only border and icon changes on hover now. Now it feel more naturally
• Updated design of all preferences icons
• Found new icon to redesign on SVG popup window. it appears when shape has not filled path
> exclamation.svg > Made icon pixel perfect and now easier to identify. used filled shape like other dialog icons. Used orange color as warning color
• Changed colors of object sinking to orange because its a warning

* Mixed

Logo Usages
• Updated icons on dialogs. i will update all icons if design approved
> OrcaSlicer.svg (Used on Most dialogs)
> OrcaSlicer_192px_grayscale.png (Used on file not found error. connection error etc..)

Bamboo Lab Related icons
• Sidebar > Filament Titlebar > AMS Filament sync (ams_fila_sync.svg) > Made pixel perfect with minor changes

• Bamboo Lap Printer > Print Plate >
> print-time.svg > Made pixel perfect
> print-weight.svg > Made pixel perfect and used a scale which fish are weighed. Orcas need fish not ingots :)
> ams_editable.svg > Made pixel perfect and used same pen icon on other edit icons
> ams_editable_light.svg > Made pixel perfect and used same pen icon on other edit icons
> ams_arrow > Made pixel perfect
> enable_ams.svg > Made pixel perfect and used same question mark on other related icons

• Added Calibration Tab icon for Bamboo Lab printer. Thanks @KrisMorr for coding fixes

* Mixed

• Updated design of printer_in_lan.svg
• Placeholders > Quality > Improved readability
• Plate Icons > Used slightly lighter color for dark theme. It improves readability of preferences and lock button while they are at active status
• Titlebar > Undo / Redo > Used slightly shorter arrow. This will make difference between revert icon and presents better function 1 step forward / backward. Revert icon is much more "Put back to original place"

* Mixed

• Preview > Layer Slider > Custom Code Icon > Used a / instead of G letter. Its easier to read now
• Preview > Layer Mode Icon > Changed background color and changed single layer icon shape

* Mixed

• Re exported all images with better precision
• Updated design of SVG modifiers
• Notifications > Corrected preferences and next button resolution
• Notifications > Expand / Collapse buttons > Fixed color usages between dark/light theme
• Sidebar > Parameters > Minor change on speed / initial layer speed
• Sidebar > Parameters > Minor change on bridging
• Plate Setting > Filament order > Arrow > Made pixel perfect
• Object List > Minor changes on Paint icons
• Menubar > Increased size of all icons
• Tab bar > Added icon for Debug tab
• Added many icons related with bamboo lab monitor
> Mostly corrected their resolution made them pixel perfect. This problem caused by they created an artboard on illustrator at 0,5px then it spreads to most of other artboards. Artboards exported as 17x17 intead of 16x16 while this problem exist in project
> Matched design of some icons with designed ones to improve consistency on UI but keeped designs of Bamboo Lab spesific ones
> Mostly used pictures that shared by people to identify correct resolutions but need a dummy account for further testing

* Mixed

• Removed delete/remove/export/import related icons on Context menu
• Added new icon for printer settings > Extruder > Retraction when switching material
• Added new icon for filament settings > Filament > Print Temperature
• Added new icon for filament settings > Filament > Bed Temperature
• Added new icon for filament settings > Cooling > Cooling specific layer
• Added new icon for filament settings > Cooling > Part Cooling Fan
• Added new icon for filament settings > Cooling > Auxiliary part cooling fan
• Added new icon for filament settings > Cooling > Exhaust Fan
• Added new icon for process settings > Quality > Wall Generator
• Added new icon for question dialogs and used orange color for that because it mostly used critical dialogs (preset delete etc). Just found undefined icon on placeholder list uses this and added new icon for that
• Changed info dialog icon fill color to turquase. because its mostly positive information
• Updated design of Sidebar > Parameters > Overhangs and Overhang Speed
• Fixed warning icon usage
• Added new image for placeholders > undefined. this was sharing same icon with dialogs previously

* Update ObjectDataViewModel.cpp

Added new color and support painting icons for object list

* Added new icons for Sidebar, Filament and Printer Settings

• Added new icon for Sidebar > Process > Support > Tree Supports
• Updated /src/slic3r/GUI/Tab.cpp > Process > Added new / missing icons
• Updated /src/slic3r/GUI/Tab.cpp > Filament Settings > Added new / missing icons
• Updated /src/slic3r/GUI/Tab.cpp > Printer Settings > Added new / missing icons

Compiled from source and checked all changes

* Updated Placeholder icons

• Added new icons to placeholders window
• Updated slic3r\GUI\EditGCodeDialog.cpp
• Updated slic3r\GUI\Tab.cpp
• Changed copy code icon to add.svg instead of add_copy.svg
• Added new icon for Placeholders > Setting overrides

* Update AboutDialog.cpp

• Removed "Orca slicer" string to cleanup
• Removed "Based on". already writes on bottom
• Changed background color of version text to transparent
• Changed github link color to turquoise
• Aligned link text with other texts

* Compare window - Update GUI\UnsavedChangesDialog.cpp

• Updated icon for undefined category. question.svg is used for dialogs and not compatible with low res. used new icon undefined.svg
• Also updated process > tab icons started to show up in compare window. blank images was used for tabs in original files

* Added Height Range icons on Object List / Context Menu

• Added new icon for Object list > Layers > Layer
• Object list > Layers > Added Hight Range icon
• Context menu > Height Range icon
• Object list > Layers > Replaced icons of add / delete Height range buttons

* Update imconfig.h

• Fixes toolbar > measure > copy to clipboard icon uses "notification_arrow_right.svg" on dark theme instead of  "copy_menu_dark.svg"

* Context Menu Icons

• Updated \GUI\GUI_Factories.cpp
• Updated icons of split sub menu
• Added new icons for modifier objects submenus. load, cube, cylinder, sphere, disc, torus, text, svg
• Added new icons for mirror sub menu items

* Fixed wrong warning icon usage on Emboss / SVG widgets

• Emboss and SVG popups uses exclamation.svg instead of obj_warning.svg . exclamation.svg used for dialogs and not supports low resolution
• Updated \GUI\Gizmos\GLGizmoEmboss.cpp
• Updated \GUI\Gizmos\GLGizmoSVG.cpp

* Toolbar > Emboss and Cut

Emboss \GUI\Gizmos\GLGizmoEmboss.cpp
• Added a small gap between vertical related and horizontal related text aligment buttons
• Used style dropdown and its title in same line to reduce vertical usage. This will also improves visual consistency with other dropdowns
• Used operation radio buttons and its title in same line

\GUI\IconManager.cpp
• Fixed blurry icons > Emboss > buttons near Style dropdown menu , bold / italic buttons and Text alignment buttons

\GUI\ImGuiWrapper.cpp
• Changed color of active radio button to turquoise. This will also improves visual consistency

* Update GLGizmoEmboss.cpp

* Fixed blurry tooltip icon on toolbar popup windows

• Updated icon design on hover state. It looks like its pressed now
• updated show_tooltip_information function in this. Set icon size as 30x22 intead of relative to font size and removed padding on icons
\GUI\Gizmos\GLGizmoCut.cpp
\GUI\Gizmos\GLGizmoFdmSupports.cpp
\GUI\Gizmos\GLGizmoMeasure.cpp
\GUI\Gizmos\GLGizmoMmuSegmentation.cpp
\GUI\Gizmos\GLGizmoSeam.cpp
\GUI\GLCanvas3D.cpp

* Mixed

Painting Tool / Brush icons
• Made Dark mode icons a bit more darker

\GUI\Gizmos\GLGizmoSeam.cpp
\GUI\Gizmos\GLGizmoMmuSegmentation.cpp
\GUI\Gizmos\GLGizmoFdmSupports.cpp
• Updated button shapes of brush type icons (used square shape with more radius)
• Updated margin between brush type buttons
• Updated paddings of brush type buttons
• Updated border color of brush type icons
• Used brush / tool buttons bigger to make them easier to select
• Fixed icons not uses colors on SVG files while using Light theme

\GUI\Gizmos\GLGizmoMmuSegmentation.cpp
• Fixed green border color on selected filament. now uses orca color
• Used radio buttons for free / vertical / horizontal. Works better for options, reduces vertical height, Easier to understand

\imgui\imgui_widgets.cpp > ImGui::ColorButton
• Updated function for making sure drawing pixel perfect rectangles. It draws filament colors / borders on color painting gizmo

\GUI\Gizmos\GLGizmoSeam.cpp
• Used radio buttons for free / vertical / horizontal. Works better for options, reduces vertical height, Easier to understand

\GUI\Gizmos\GLGizmoPainterBase.hpp
• Added m_free_only variable for new radio buttons

\GUI\ImGuiWrapper.cpp
• Added darker and lighter versions of orca color as variable
• Updated push_confirm_button_style for replacing BBS colors
• Slightly reduced horizontal window padding for gizmos

\GUI\IMSlider.cpp
• Slice > Layer and move slider text is now using turquoise color
• Fixed wrong resolution on some states of layer mode icon

\GUI\Gizmos\GLGizmoSimplify.cpp
• Object > Simplify model > Detail level slider is now using orca color
• Object > Simplify model > Hover state of apply button is now using orca color

\GUI\GLCanvas3D.cpp
• Sliced Plates Toolbar > All Plate Stats > Changed color of "All plate stats" text to orca
• Sliced Plates Toolbar > Changed button border color to Orca
• Sliced Plates Toolbar > Changed position of plate number text to closer to edges so it will not overlaps with thumbnails

* Mixed - Titlebar & Tabs & Search box

\GUI\BBLTopbar.cpp > Titlebar
• Updated icon background colors while hover / active states
• Used same color on border and fill color for more modern look

\GUI\Widgets\TabCtrl.cpp > Tabs on parameters / filament & machine window
• Updated line color under selected tab to orca color

\GUI\Tab.cpp
• Fixed > Sidebar > Global > Delete button visible while using search box
• Fixed > Sidebar > Global > Revert button visible while using search box
• Tabs > Disabled using bold font for active tab. Advantages; tabs always stays at same position, makes switching between tabs a bit faster

* \GUI\GUI_App.cpp > Splash Logo

* Reworked Emboss Gizmo

Reworked Icons
• Simplified them as much as possible to give modernish look

Reworked layout
• Moved style to top. Fitted to window width. Used title and imput box on same line to reduce window height
• Used height and depth at same line. Used icons for Height and Depth text to save some place
• Moved alignment to top and used at same line with bold / italic icons
• Used operation and its radio buttons on same line to recude window height
• Made many changes how it scales on different languages

Improvements
• Surface related values only visible if embos used as modifier
• Reworked stepper buttons. Looks more modern now
• Reworked advanced expansion. Simplified and removed text
• Hidden surface related settings if there is no relations with objects to save some vertical space

UI consistency improvements
• Used text > revert > input order for components line on sidebar
• Revert icon and title used orange color if values edited like on sidebar
• Used orca color on sliders, radio buttons
• Removed border and other decorations on edit buttons of sliders

Fixes
• Moved warning icon a bit up to prevent overlapping with text preview box border

Effects on other all widgets
• Updated selected text background to orca color

* Mixed

Overall
• All gizmos uses same paddings now. it will improve consistency between them. All uses padding value from push_toolbar_style

Combobox
• Removed paddings from combo box menu
• Fixed frame background highlighting on hover
• Used border for highlighting menu items instead of background color

Combo Box with Filter
• Now its shares very similar code with normal combo box. Used ImGui:ButtonBehavior in it to get hover effects properly
• Added support for border highlighting on hover
• Used border for highlighting menu items instead of background color

Combo boxes
• Made easier to manage styles for combo boxes

Input box with step controls
• Added support for border highlighting on hover or active

Sliders
• Added support for border highlighting on hover or active
• Used fully rounded grab and frame. now it looks much more like slider

Checkboxes
• Made them a bit smaller. Old one is looks like giant and not matches with sidebar style
• Updated hover effect to match with other components
• Updated icons of checkboxes to match style

Radio Buttons
• Made them a bit smaller. Old one is looks like giant and not matches with sidebar style

Gizmo > Painting tools
• Updated all sliders with new one to improve UI consistency
• Calculated slider start offset from maximum width of title of sliders to solve window width change between tool changes

Gizmo > Simplify
• Updated code for new radio buttons

Gizmo > Measure
• Used selection values with multiline. Window size highly reduced with this layout
• Moved restart selection to bottom. like on other gizmos mostly at bottom. this will also reduce vertical spacing
• Aligned measure type texts vertically to "copy to clipboard" button
• Updated style of copy to clipboard button
• Updated dimension value edit box on viewport. Values are much more readable now

Color Fixes
• Viewport > Plate Name / Number text colors > Updated them to orca color

Icons
• Updated keyboard cheat sheet icon on gizmos

* Titlebar Remove icon from File and Dropdown menu

* Sidebar and UI component improvements

New Feature
• Sidebar > Delete filament button only visible only if there is multi filaments

Sidebar
• Corrected most of aligment and spacing related problems. all icons has equal space between them and all elements has equal margin to frame
• Updated style of Global/objects toggle to match style
• Updated style of Advanced toggle. Updated SwitchButton.cpp and its not using vector images now
• All combo boxes uses same height now
• Slightly reduced vertical spaces on printer and filament sections. more vertical space for process section available now
• Process > Global > Search Bar > added search icon

UI component style updates
• Updated style of most of UI components. All uses 4px corner rounding instead fully rounded
• Updated some of old wxButtons with new buttons. still need too much work

Added new icons for
• param_default-pattern > Used for Support > Base Pattern

Fixes
• Converted these to step boxes
---- Sidebar > Support > Advanced > Top interface layers > this should not use drop down
---- Sidebar > Support > Advanced > Bottom interface layers > this should not use drop down

Color Fixes
• Dropdown focus / hold background color
• Disabled element background color

* Add missing side text for parameters

* Gizmo Improvements

All Gizmos
• Updated button styles on all gizmos

Arrange gizmo
• Updated slider style

Cut gizmo
• Removed hexagon shapes for upper / lower part. Used colored text instead
• Matched style of mode combo box

Move & Rotate gizmo
• Removed World axis text like on scale gizmo to reduce window size

Variable Layer Height
• Moved adaptive and smooth buttons to bottom
• Changed name of smooth to smooth radius to improve relation with slider
• Updated sliders style
• Fixed gizmo not closing when other toolbar buttons clicked

Assemble view
• Updated slider and button styles
• Used Assembly info window with vertical layout to reduce its size. This will also prevents overlapping with slider bar

Mesh Boolean
• Added new icons
• Updated style of elements

* Fix conflict

* Update splash screen

* Updated About Page

* Mixed

Sidebar
• Updated style of Object list search bar
• Updated Search list item background hover color

Keyboard shortcuts window
• Changed active tab color to orca color

Color fixes
• Disabled text color for UI components
• "Slice" button disabled background and foreground color

UI Component Styles
• Matched style of more buttons
--Progress dialog
--Release Notes window

* Update Toolbar icons

* Update style of single choose dialog

* Gizmo Improvements

Cut Gizmo
• Matched elements order with sidebar. Title > Revert button > Controller
• Moved "Cut to Parts" checkbox to same line with "After Cut". This reduces vertical height and seems logical
• Used slider for cut height controller
• Used regular text color for build volume, groove, connector
• Revert buttons only visible if value changed like on other UI sections
• Removed shapes for "Upper Part" and "Lower Part". Used colored text instead
• Matched radio button styles
• Matched slider styles
• Moved "Add Connector" and "Reset Cut" buttons to bottom to reduce vertical height
• Connectors > Used icons for shapes
• Connectors > Used regular button for "Remove connectors"
• Connectors > Used radio buttons for connector style instead combo box

SVG Gizmo
• Matched elements order with sidebar. Title > Revert button > Controller
• Slightly decreased preview size
• Used Combo box for filename related dropdown
• Surface related features will not show if there is no surface relation
• Matched radio button styles
• Matched slider styles

Gizmos Combo Box
• Fixed rendered with wrong width
• Fixed drowpdown menu paddings

* fix build with gcc13

Fix compilation error produced by GCC 13:

/home/dbuzdyk/packages/3d/OrcaSlicer/src/slic3r/GUI/Gizmos/GLGizmoMeshBoolean.cpp:306: error: no match for call to ‘(Slic3r::GUI::GLGizmoMeshBoolean::on_render_input_window(float, float, float)::<lambda(wchar_t, bool, ImVec2, ImVec2, std::string&)>) (const wchar_t&, bool, ImVec2&, ImVec2&, std::string)’
  306 |     if (tab_button(
      |     ~~~~~~~~~~~~~~~
  307 |                 m_is_dark_mode ? ImGui::MeshBooleanUnionDark : ImGui::MeshBooleanUnion,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  308 |                 m_operation_mode == MeshBooleanOperation::Union,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  309 |         tab_size,
      |         ~~~~~~~~~
  310 |                 tab_padding,
      |                 ~~~~~~~~~~~~
  311 |         _u8L("Union")
      |         ~~~~~~~~~~~~~
  312 |         )){
      |
/home/dbuzdyk/packages/3d/OrcaSlicer/src/slic3r/GUI/Gizmos/GLGizmoMeshBoolean.cpp:214: note: candidate: ‘Slic3r::GUI::GLGizmoMeshBoolean::on_render_input_window(float, float, float)::<lambda(wchar_t, bool, ImVec2, ImVec2, std::string&)>’ (near match)
  214 |         auto tab_button = [this](const wchar_t icon, bool selected, ImVec2 size, ImVec2 tab_padding, std::string& tooltip) {
      |
/home/dbuzdyk/packages/3d/OrcaSlicer/src/slic3r/GUI/Gizmos/GLGizmoMeshBoolean.cpp:214: note:   conversion of argument 5 would be ill-formed:
In file included from /home/dbuzdyk/packages/3d/OrcaSlicer/src/slic3r/GUI/Gizmos/GLGizmoBase.hpp:11,
                 from /home/dbuzdyk/packages/3d/OrcaSlicer/src/slic3r/GUI/Gizmos/GLGizmoMeshBoolean.hpp:4:
/home/dbuzdyk/packages/3d/OrcaSlicer/src/slic3r/GUI/I18N.hpp:7:54: error: cannot bind non-const lvalue reference of type ‘std::string&’ {aka ‘std::__cxx11::basic_string<char>&’} to an rvalue of type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
    7 | #define _u8L(s)     Slic3r::GUI::I18N::translate_utf8((s))
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/dbuzdyk/packages/3d/OrcaSlicer/src/slic3r/GUI/Gizmos/GLGizmoMeshBoolean.cpp:311: note: in expansion of macro ‘_u8L’
  311 |         _u8L("Union")
      |

* revert some icon changes

* Add back missing menu icons

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
Co-authored-by: Dima Buzdyk <dima.buzdyk@gmail.com>
This commit is contained in:
yw4z
2024-05-01 10:05:43 +03:00
committed by GitHub
parent ddc0ec5b79
commit 5d20ecc756
546 changed files with 578 additions and 4175 deletions

View File

@@ -1,6 +1 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.33588 3.76194C9.07655 4.7013 8.91113 6.02735 8.91113 7.51158C8.91113 8.9958 9.07655 10.3219 9.33588 11.2612C9.46652 11.7344 9.61331 12.0809 9.75541 12.2974C9.83934 12.4253 9.8985 12.4751 9.92755 12.494C9.93252 12.4906 9.93828 12.4865 9.94482 12.4814C9.9912 12.4453 10.0542 12.3776 10.1167 12.2709C10.2561 12.0326 10.5624 11.9524 10.8007 12.0919C11.0391 12.2314 11.1192 12.5377 10.9797 12.776C10.8665 12.9694 10.7246 13.1418 10.5587 13.2708C10.3964 13.397 10.1813 13.5036 9.93341 13.5036C9.46152 13.5036 9.12952 13.1663 8.91939 12.8461C8.69647 12.5065 8.51575 12.0482 8.37194 11.5273C8.08237 10.4785 7.91113 9.05848 7.91113 7.51158C7.91113 5.96467 8.08237 4.5447 8.37194 3.49582C8.51575 2.97492 8.69647 2.5167 8.91939 2.17706C9.12952 1.8569 9.46152 1.51953 9.93341 1.51953C10.3928 1.51953 10.7291 1.84579 10.9381 2.1671C11.0886 2.3986 11.023 2.70831 10.7915 2.85885C10.56 3.0094 10.2503 2.94377 10.0997 2.71227C10.0355 2.61343 9.98026 2.55954 9.9446 2.53382C9.94015 2.5306 9.93625 2.52799 9.93288 2.52588C9.90617 2.54182 9.84486 2.58947 9.75541 2.72576C9.61331 2.94227 9.46652 3.28872 9.33588 3.76194Z" fill="#009688"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.44623 3.62131C6.1869 4.56068 6.02148 5.88673 6.02148 7.37095C6.02148 8.85518 6.1869 10.1812 6.44623 11.1206C6.57688 11.5938 6.72366 11.9403 6.86576 12.1568C6.94969 12.2847 7.00886 12.3345 7.0379 12.3533C7.04287 12.35 7.04863 12.3458 7.05517 12.3408C7.10155 12.3047 7.16455 12.237 7.227 12.1303C7.36649 11.8919 7.67276 11.8118 7.91109 11.9513C8.14941 12.0908 8.22954 12.3971 8.09005 12.6354C7.97686 12.8288 7.83494 13.0012 7.66908 13.1301C7.50671 13.2564 7.29164 13.363 7.04376 13.363C6.57187 13.363 6.23987 13.0256 6.02974 12.7055C5.80682 12.3658 5.6261 11.9076 5.48229 11.3867C5.19273 10.3378 5.02148 8.91786 5.02148 7.37095C5.02148 5.82405 5.19273 4.40407 5.48229 3.3552C5.6261 2.8343 5.80682 2.37608 6.02974 2.03643C6.23987 1.71628 6.57187 1.37891 7.04376 1.37891C7.50318 1.37891 7.83947 1.70517 8.04842 2.02648C8.19896 2.25798 8.13334 2.56768 7.90184 2.71823C7.67034 2.86877 7.36063 2.80314 7.21009 2.57165C7.14582 2.47281 7.09061 2.41891 7.05496 2.39319C7.0505 2.38998 7.0466 2.38737 7.04324 2.38525C7.01653 2.40119 6.95521 2.44885 6.86576 2.58514C6.72366 2.80164 6.57688 3.14809 6.44623 3.62131Z" fill="#009688"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.4339 3.03967C12.1256 4.16401 11.9287 5.74556 11.9287 7.51243C11.9287 9.2793 12.1256 10.8608 12.4339 11.9852C12.5891 12.5509 12.7648 12.9726 12.9389 13.2411C13.0254 13.3745 13.0997 13.4516 13.1536 13.4918C13.1793 13.511 13.1967 13.5191 13.2055 13.5224C13.2099 13.524 13.2125 13.5245 13.2135 13.5247L13.2144 13.5248L13.2145 13.5249L13.2145 13.5249L13.2145 13.5249L13.2145 13.5248L13.2155 13.5247C13.2165 13.5245 13.219 13.524 13.2234 13.5224C13.2322 13.5191 13.2496 13.511 13.2753 13.4918C13.3292 13.4516 13.4035 13.3745 13.49 13.2411C13.6641 12.9726 13.8398 12.5509 13.995 11.9852C14.3033 10.8608 14.5002 9.2793 14.5002 7.51243C14.5002 5.74556 14.3033 4.16401 13.995 3.03967C13.8398 2.47393 13.6641 2.05228 13.49 1.78377C13.4035 1.65031 13.3292 1.57326 13.2753 1.53303C13.2496 1.51388 13.2322 1.50576 13.2234 1.5025C13.219 1.50089 13.2165 1.50033 13.2155 1.50014L13.2145 1.50001L13.2145 1.5L13.2145 1.5L13.2145 1.5L13.2144 1.50001L13.2135 1.50014C13.2125 1.50033 13.2099 1.50089 13.2055 1.5025C13.1967 1.50576 13.1793 1.51388 13.1536 1.53303C13.0997 1.57326 13.0254 1.65031 12.9389 1.78377C12.7648 2.05228 12.5891 2.47393 12.4339 3.03967ZM12.0998 1.23979C12.3389 0.870982 12.7044 0.5 13.2145 0.5C13.7245 0.5 14.09 0.870981 14.3291 1.23979C14.5823 1.63037 14.7913 2.16244 14.9594 2.77522C15.2974 4.00791 15.5002 5.68258 15.5002 7.51243C15.5002 9.34227 15.2974 11.0169 14.9594 12.2496C14.7913 12.8624 14.5823 13.3945 14.3291 13.7851C14.09 14.1539 13.7245 14.5249 13.2145 14.5249C12.7044 14.5249 12.3389 14.1539 12.0998 13.7851C11.8466 13.3945 11.6376 12.8624 11.4695 12.2496C11.1315 11.0169 10.9287 9.34227 10.9287 7.51243C10.9287 5.68258 11.1315 4.00791 11.4695 2.77522C11.6376 2.16244 11.8466 1.63037 12.0998 1.23979Z" fill="#6B6B6B"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.01557 3.02614C2.70181 4.1412 2.5 5.71408 2.5 7.48242C2.5 9.25215 2.69477 10.8337 3.00193 11.9573C3.15648 12.5226 3.33188 12.9434 3.50598 13.2111C3.59246 13.3441 3.66683 13.4209 3.721 13.461C3.74681 13.4802 3.7646 13.4885 3.774 13.4919C3.77866 13.4936 3.78163 13.4943 3.7831 13.4946C3.78452 13.4948 3.78529 13.4948 3.78575 13.4948H3.78588C3.7903 13.4949 3.85376 13.4953 3.97588 13.3519C4.10013 13.2059 4.23682 12.9638 4.37383 12.6126C4.47421 12.3554 4.76413 12.2282 5.02138 12.3286C5.27863 12.429 5.40581 12.7189 5.30543 12.9761C5.1497 13.3753 4.96437 13.7334 4.73733 14.0001C4.50962 14.2676 4.19256 14.4948 3.78575 14.4948C3.27511 14.4948 2.9084 14.1265 2.66765 13.7563C2.41362 13.3657 2.20478 12.8336 2.03732 12.221C1.70044 10.9887 1.5 9.31402 1.5 7.48242C1.5 5.64941 1.70803 3.98109 2.05295 2.75527C2.22444 2.14583 2.43753 1.61741 2.69504 1.22977C2.93958 0.861668 3.30814 0.5 3.81502 0.5C4.24247 0.5 4.56888 0.76546 4.79349 1.05099C5.02411 1.34416 5.21464 1.73907 5.37035 2.18601C5.4612 2.44678 5.32345 2.73182 5.06267 2.82267C4.8019 2.91352 4.51686 2.77577 4.42601 2.515C4.28897 2.12163 4.14285 1.84128 4.00754 1.66927C3.89009 1.51998 3.82273 1.50192 3.81343 1.50008C3.81142 1.50027 3.80748 1.50096 3.80091 1.50334C3.79069 1.50704 3.77223 1.51559 3.74588 1.53481C3.6907 1.57505 3.61546 1.65145 3.52799 1.78311C3.35188 2.04821 3.17342 2.46514 3.01557 3.02614Z" fill="#6B6B6B"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M5.5,14.5c-1.105,0-2-3.686-2-7s.895-7,2-7" style="fill:none;stroke:#009688;stroke-linecap:round;stroke-linejoin:round"/><path d="M8.5,14.5c-1.105,0-2-3.686-2-7s.895-7,2-7" style="fill:none;stroke:#009688;stroke-linecap:round;stroke-linejoin:round"/><path d="M3.5,13.7c-.294.511-.636.8-1,.8-1.1,0-2-3.686-2-7s.9-7,2-7c.365,0,.707.293,1,.805" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/><ellipse cx="11.5" cy="7.5" rx="2" ry="7" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/></svg>

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 635 B