25114 Commits

Author SHA1 Message Date
YuSanka
b02e0e6fd1 ImguiDoubleSlider: Notifications placement to avoid overlapping with sliders 2024-04-24 10:54:12 +02:00
YuSanka
f90ea2e8be ImguiDoubleSlider: Improvements and bug fixes
* Discard all custom changes button - click area is out of icon
* Properties info table expand button doesn't work - when pointer moves by mouse
* When some custom g-code/ pause is added then icons aren't visible well
2024-04-24 10:54:12 +02:00
YuSanka
8a78ab1ce8 ImguiDoubleSlider: WIP: ImGui implemented "jump to layer" 2024-04-24 10:54:12 +02:00
YuSanka
785ad4ce95 ImguiDoubleSlider: WIP: Functions which was related to manipulate with ticks are moved into TickCodeInfo
* TickCodeInfo is renamed to TickCodesManager and moved to separate files
 * Added more callbacks to avoid use of wxWidgets
 * Added function for color picker rendering

 * For string formatting is used Slic3r::format instead of GUI::format (To avoid including wx/string)
 * All code related to DoubleSlider extracted from Slic3r name space
2024-04-24 10:54:12 +02:00
YuSanka
6b83f135c9 ImguiDoubleSlider: WIP: Slider Manager is moved to ImGuiDoubleSlider and some values and methods are renamed
+ "DoubleSlider: file is split to DoubleSliderForGcode and DoubleSliderForLayers in separate files
 + Suppress to add/delete ticks on update layers_slider from canvas when an application is a GCodeViewer
 + epsilon() is moved from DoubleSlider name space to CustomGCode
2024-04-24 10:54:12 +02:00
YuSanka
56a3740fe4 ImguiDoubleSlider: WIP: Control is split to DSManagerForGcode and DSManagerForLayers (both are derived from template class)
+ GLCanvas3D: refactoring for handle of events related to the manipulation with sliders
 + use callbacks to process navigation in sliders instead of wxEvents
2024-04-24 10:54:12 +02:00
YuSanka
6ea3dc6c27 ImguiDoubleSlider: WIP: All data, related to Slider are in ImGuiControl now
+ code cleaning to avoid of use wxWidgets to render DoubleSlider
2024-04-24 10:54:12 +02:00
YuSanka
d06ef37df9 ImguiDoubleSlider: WIP: Set scale in respect to Retina displays
+ request one more frame for redraw, if value was changed with mouse wheel
 + some code cleaning
2024-04-24 10:54:12 +02:00
YuSanka
8e749734ff ImguiDoubleSlider: WIP: For vertical slider are added :
* actions buttons and theirs process
 * rendering of ticks and theirs info buttons
 * show label with estimated time on mouse moving

+ ImGuiWrapper::image_button is extended for highlight_on_hover parameter to enable/disable highlighting on the hover
+ Show and process some icon/buttons in respect to the application mode (if is Editor or Viewer)
2024-04-24 10:54:12 +02:00
YuSanka
ab9923eee6 ImguiDoubleSlider: WIP: Implemented "pure" ImGuiControl
+ For ImGuiControl implemented adding of callbacks for get_label and draw_scroll_line
2024-04-24 10:54:12 +02:00
YuSanka
a26d17d689 ImguiDoubleSliser: WIP: Some of code is ported from BambuStudio (state of 96707fc4b4b40c30b7e5610d2489ef283fe952a4)
* Code improvements :
    + added render_button()
    + added draw_hexagon()
2024-04-24 10:54:12 +02:00
YuSanka
a5322ef970 DoubleSlider: ImGui rendering (WIP) 2024-04-24 10:54:12 +02:00
Lukas Matena
46e08ca9f1 Merge branch 'ys_tb_layout' 2024-04-24 10:50:17 +02:00
YuSanka
a62a90decf TopBar: Collapse/Expand "Workspace mode" and "Account" buttons in respect to the window size 2024-04-24 10:49:22 +02:00
YuSanka
835c24cfc1 Insert "Connect" tab to position next to "Printer" tab 2024-04-24 10:49:22 +02:00
YuSanka
0848fecb02 TopBar: Search improvements to respect to the ESettingsLayout::Dlg 2024-04-24 10:49:22 +02:00
YuSanka
9beef5e847 TopBar: Added "Show settings" button 2024-04-24 10:49:22 +02:00
YuSanka
cd5d30d3b1 Menus related to the TopBar's buttons are extracted to the separate class.
+ Updated top bar layout in respect to the mode
+ Linux specific: Don`t show down arrow for buttons with PopupMenu
+ MainFrame: Use TopBar instead wxBookCtrlBase
2024-04-24 10:49:22 +02:00
YuSanka
c95bc97435 Deleted unused UI-settings ("Set settings tabs as menu items" and "New layout, access via settings button in the top menu") 2024-04-24 10:49:22 +02:00
Lukas Matena
45899c8c19 Merge branch 'et_spe2218' 2024-04-24 10:25:18 +02:00
enricoturri1966
87e1341e6f SPE-2218 - libvgcode - Fixed color of wipe moves for speed range view 2024-04-24 10:25:09 +02:00
enricoturri1966
473f58c4e6 SPE-2218 - libvgcode - Fixed detection of fan speed range 2024-04-24 10:25:09 +02:00
enricoturri1966
f848f00ec2 SPE-2218 - libvgcode - Fixed detection of temperature range 2024-04-24 10:25:09 +02:00
enricoturri1966
95b39425c2 SPE-2218 - libvgcode - Fixed colors for Actual volumetric flow rate view 2024-04-24 10:25:09 +02:00
enricoturri1966
d81a3c055b SPE-2214 - Fixed detection of toolpaths bounding box in GCodeViewer 2024-04-24 10:22:29 +02:00
enricoturri1966
6dcd97356b SPE-2206 - Modified LibBGCode.cmake to get latest version of libbgcode which fixed parsing of gcode lines G4 2024-04-24 10:19:31 +02:00
Filip Sykala - NTB T15p
005f65a3b2 Do not store current changes when delete style
(cherry picked from commit 1b1e14a2bc1ae0536dc2d5f395605d303aaa4ca2)
2024-04-24 10:09:10 +02:00
Lukas Matena
6495bb6ece Merge branch 'lh_single_perimeter' 2024-04-24 10:07:08 +02:00
Lukáš Hejl
a3190d94d0 SPE-1804: Single perimeter for top and bottom layers working with both perimeter generators.
Co-authored-by: supermerill <merill@free.fr>
Co-authored-by: Morton Jonuschat <mjonuschat@gmail.com>
Co-authored-by: Vovodroid <vovodroid@users.noreply.github.com>
Co-authored-by: qing.zhang <qing.zhang@bambulab.com>
Co-authored-by: lane.wei <lane.wei@bambulab.com>
2024-04-24 10:06:56 +02:00
Lukas Matena
d383e59438 Merge branch 'ys_user_presets_fixes' 2024-04-17 12:33:58 +02:00
YuSanka
61834d3fdb SavePresetDialog: Fixed preset name validation.
Prevent saving a new preset with a name that differs from an existing preset only in a case-sensitive manner.

Related to #6798 - Printer profile gone again and print settings gone again: Profile name differing in case only
2024-04-17 12:33:24 +02:00
YuSanka
3d4d840a90 Fix for #10716 - Saving a modified preset with another name that matches an existing preset does not save the changes 2024-04-17 12:33:24 +02:00
YuSanka
ccbe95aaff Fix for #3888 - Configuration assistant overwrites the user printer settings with the same name 2024-04-17 12:33:24 +02:00
YuSanka
3caf24e233 Fix for SPE-2245 : The window maximizes after log in to Connect 2024-04-17 12:33:24 +02:00
YuSanka
490b267ad6 Fix for SPE-2233 : [LINUX] Different size of buttons "Export G-code" and "Send to Connect" 2024-04-17 12:33:24 +02:00
YuSanka
b4c6ec1068 SPE-2199 - Add .jpg in ScalableBitmap
+ TopBar: Set correct size for "user" icon
2024-04-17 12:33:24 +02:00
YuSanka
cd76008e81 Follow-up ba5e8b87 - Fixed working of the "Delete" button
SPE-2237
2024-04-17 12:33:24 +02:00
YuSanka
2c0f826d89 Fix for SPE-2225 and SPE-2228
* Don't select "Printer" tab after printer technology change from selection in right panel
* Delete "Physical printer" tab after deletion last preset from physical printer

+ show_printer_webview_tab() is moved into MainFrame
+ TopBar: use AddNewPage and InsertNewPage as overridden functions for AddPage and InsertPage
2024-04-17 12:33:23 +02:00
YuSanka
3d4f2a7bba Fix for SPE-2227 : Prusa Account - long Nicknames overflow 2024-04-17 12:33:23 +02:00
YuSanka
598684a4db Fix for SPE-2240 : [LINUX & OSX] Cut gizmo "??????" in cut gizmo header 2024-04-17 12:33:23 +02:00
Martin Šach
b2b852a099 Fix includes. 2024-04-16 14:24:35 +02:00
Lukas Matena
d03ec72d3f Comment-out a failing test for now 2024-04-16 12:54:25 +02:00
Lukas Matena
ca27a288c8 Merge branch 'lm_webview_improvements' 2024-04-12 09:28:50 +02:00
Lukas Matena
a8f573d1d9 Deps: copy WebView2Loader.dll into the binary folder 2024-04-12 09:27:35 +02:00
Lukas Matena
a65a70903e Removed unused code and includes 2024-04-12 09:27:35 +02:00
Lukas Matena
46b97dea0d Is it possible to use RunScriptAsync instead of platform-dependent code? 2024-04-12 09:27:35 +02:00
Lukas Matena
23d056fc71 Various small changes 2024-04-12 09:27:34 +02:00
YuSanka
44c8770df5 TopBar: Improvements and bug fixes
* Don't set a bold font on hovered items
* Don't hover selected item
* Fixed position of popup menu

+ Fix for SPE-2235 : Hard to see the numbers of printers after a change of application color mode
+ Fixed build warning with AddPage()
2024-04-11 15:55:10 +02:00
Jan Bařtipán
95d1d6fa14 Fixed crash on application exit (SPE-2212, was never public) 2024-04-08 14:29:55 +02:00
Lukas Matena
f12e0b4d21 Removed dependency on libtiff 2024-04-08 13:30:20 +02:00