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="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.6971 3.41835C14.8894 2.76765 13.6183 2.32046 12.3795 2.25158C12.2662 2.24532 12.153 2.24219 12.0434 2.24219C10.8041 2.24219 9.78451 2.64711 9.1719 3.38182C8.46068 4.23499 8.05679 5.71275 8.09071 7.33402C8.12306 8.87128 8.53112 10.2144 9.15625 10.8396C9.31801 11.0013 9.46516 11.078 9.60866 11.0775C9.95149 11.0718 10.3606 10.6355 10.8787 10.0829C11.45 9.47409 12.1617 8.71558 13.1361 8.19136C14.6994 7.35072 15.7906 5.4962 15.9053 4.25951C15.9419 3.86137 15.8662 3.55454 15.6971 3.41835ZM15.1331 4.12384C15.1185 4.41501 15.0057 4.81054 14.8236 5.20816C14.3707 6.197 13.6021 7.05538 12.7667 7.50466C12.164 7.8287 11.6046 8.25085 11.0061 8.83214C10.8146 9.01791 10.4044 9.44892 10.1336 9.73383C10.06 9.81158 10.0021 9.87211 9.96036 9.91542L9.9614 9.91647L9.90557 9.9723L9.88417 10.0146H9.86226L9.62379 10.2384L9.45942 9.95247C9.11764 9.35813 8.89221 8.34842 8.8703 7.31732C8.84055 5.90009 9.18599 4.58303 9.77094 3.88068C10.2818 3.26755 11.1929 2.96542 12.3362 3.0296C13.3099 3.08335 14.3394 3.41574 15.0224 3.89685L15.1399 3.97982L15.1331 4.12384Z" fill="#C4C4C4"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.083 13.124C10.6356 13.6421 11.0719 14.0512 11.0776 14.3946C11.0797 14.536 11.0019 14.6837 10.8397 14.846C10.2145 15.4711 8.87138 15.8791 7.33413 15.9115C5.71181 15.9459 4.23509 15.5415 3.38193 14.8303C2.57573 14.1582 2.17393 13.0191 2.25168 11.6227C2.32056 10.3834 2.76775 9.1123 3.41793 8.30506C3.53116 8.16522 3.76076 8.08799 4.0655 8.08799C4.12707 8.08799 4.1923 8.09112 4.25961 8.09738C5.49578 8.21218 7.35082 9.30328 8.19146 10.8666C8.71536 11.8414 9.47355 12.5526 10.083 13.124ZM7.31795 15.1324C8.34905 15.1105 9.35875 14.8846 9.9531 14.5433L10.2443 14.3758L9.98493 14.1092C9.96646 14.0907 9.92092 14.0473 9.85061 13.9804L9.69111 13.8284C9.4075 13.5584 9.00956 13.1794 8.83225 12.9967C8.25095 12.3981 7.8288 11.8388 7.50476 11.2361C7.05548 10.4007 6.1971 9.63202 5.20827 9.17909C4.81065 8.99698 4.41511 8.88427 4.12394 8.86966L3.98044 8.86235L3.898 8.97976C3.41689 9.66281 3.08449 10.6923 3.03075 11.666C2.96709 12.8099 3.26921 13.7209 3.88182 14.2313C4.55965 14.7964 5.78122 15.134 7.14888 15.134C7.20472 15.134 7.26159 15.1335 7.31795 15.1324Z" fill="#C4C4C4"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.8672 15.8096C11.842 15.2857 12.5532 14.5275 13.1246 13.9181L13.1283 13.914C13.6447 13.3639 14.0527 12.9292 14.3947 12.924L14.3931 12.8197L14.4009 12.924C14.5408 12.924 14.6863 13.0018 14.8465 13.162C15.4717 13.7871 15.8797 15.1302 15.9121 16.6675C15.9465 18.2893 15.5421 19.7665 14.8309 20.6197C14.1588 21.4259 13.0197 21.8277 11.6233 21.7499C10.384 21.681 9.11288 21.2339 8.30564 20.5832C8.13657 20.447 8.06091 20.1401 8.09795 19.7415C8.21275 18.5048 9.30386 16.6503 10.8672 15.8096ZM15.133 16.6831C15.1111 15.652 14.8857 14.6423 14.5439 14.048L14.3795 13.7615L14.139 13.989C14.1291 13.9979 14.1191 14.0078 14.1097 14.0172C14.0826 14.0443 14.0043 14.1263 13.8859 14.251L13.8718 14.2656C13.6005 14.551 13.1898 14.982 12.9972 15.1694C12.3987 15.7512 11.8388 16.1728 11.2367 16.4969C10.4012 16.9461 9.6326 17.8045 9.17967 18.7933C8.99756 19.191 8.88485 19.5865 8.87024 19.8777L8.86293 20.0212L8.98034 20.1036C9.66339 20.5842 10.6924 20.9166 11.6666 20.9709C11.7663 20.9766 11.8654 20.9792 11.9625 20.9792C12.9644 20.9792 13.7706 20.674 14.2324 20.1198C14.8173 19.4174 15.1628 18.1009 15.133 16.6831Z" fill="#C4C4C4"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.6659 8.08994C18.283 8.05603 19.7712 8.46513 20.6181 9.17114C21.4248 9.84323 21.8261 10.9823 21.7489 12.3792C21.68 13.6185 21.2328 14.8897 20.5821 15.6969C20.4459 15.866 20.1391 15.9416 19.7404 15.9046C18.5037 15.7898 16.6492 14.6987 15.8086 13.1353C15.2847 12.1606 14.5265 11.4494 13.917 10.878C13.3644 10.3598 12.9282 9.95072 12.9224 9.60737C12.9203 9.46544 12.9981 9.31777 13.1604 9.15548C13.7855 8.53035 15.1286 8.1223 16.6659 8.08994ZM20.1031 15.0217C20.5842 14.3386 20.9166 13.3096 20.9703 12.3354C21.034 11.1916 20.7313 10.2805 20.1203 9.76966C19.4184 9.18523 18.1014 8.83979 16.6836 8.86901C15.6525 8.89092 14.6428 9.11635 14.0485 9.45813L13.762 9.62303L13.9885 9.86358C13.9963 9.87193 14.0047 9.88028 14.0167 9.89228C14.0433 9.91889 14.1283 10.0003 14.2656 10.1307L14.2876 10.1518C14.5728 10.4233 14.9872 10.818 15.1688 11.0053C15.7501 11.6038 16.1723 12.1632 16.4963 12.7659C16.9456 13.6008 17.804 14.3699 18.7928 14.8229C19.1904 15.0055 19.586 15.1182 19.8771 15.1323L20.0206 15.1391L20.1031 15.0217Z" fill="#C4C4C4"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="11.5" cy="11.5" r="11" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/><circle cx="11.5" cy="11.5" r="3" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/><path d="M10.5,3.5c3-2,6,2,2,5" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/><path d="M12.5,19.5c-3,2-5.964-2-2-5" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/><path d="M4.076,8.373c-.232-3.6,4.732-4.2,5.33.768" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/><path d="M18.932,14.641c.232,3.6-4.714,4.165-5.33-.768" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/><path d="M5.084,16.373c-3.232-1.6-1.268-6.2,3.33-4.232" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/><path d="M17.94,6.641c3.232,1.6,1.25,6.165-3.33,4.232" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/></svg>

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB