Commit Graph

33 Commits

Author SHA1 Message Date
Enrico Turri
7cc04be0ec Fix into GLToolbar::on_mouse() 2019-03-20 15:30:03 +01:00
Enrico Turri
e65dbcabb5 Tech ENABLE_CANVAS_GUI_REFACTORING set as default 2019-03-20 09:33:30 +01:00
Enrico Turri
1c8e93e480 Code cleanup 2019-03-19 09:21:27 +01:00
Enrico Turri
8841d4260e Toolbar refactoring
1) toolbar items define 3 callback functions for setting the visibility, setting the enabling state and defining their action which are set while adding a new item to the toolbar

2) the toolbar takes care to update all its items visibility and enabled states through a new update method to be called by the parent idle event handler

3) the toolbar handles mouse events by calling its on_mouse method
2019-03-14 13:54:05 +01:00
Enrico Turri
e2f265128e ENABLE_MODE_AWARE_TOOLBAR_ITEMS set as default 2019-02-28 12:21:36 +01:00
Enrico Turri
fd3c1e11f6 Automatic generation of variants of icons for toolbars and gizmos 2019-02-26 12:56:13 +01:00
Enrico Turri
6e2f981f1e Fixed build when ENABLE_SVG_ICONS is disabled 2019-02-26 10:57:37 +01:00
Enrico Turri
3174e37841 Allow non-squared textures for toolbars and gizmo icons 2019-02-26 10:40:00 +01:00
Enrico Turri
419e951a7e 1st installment of svg icons for toolbars and gizmos 2019-02-26 09:56:23 +01:00
Enrico Turri
8130c2d08f Code cleanup 2019-02-22 12:06:56 +01:00
Enrico Turri
e9c4175a99 Gizmos overlay using a single png texture 2019-02-22 10:01:34 +01:00
Enrico Turri
0fd82f7fa0 User mode-aware toolbar items 2019-01-31 13:19:26 +01:00
Vojtech Kral
d1f6266955 Mac: Retina OpenGL: Fix toolbar mouse hover 2019-01-24 20:03:12 +01:00
Vojtech Kral
7bd509fc6d Mac: Retina OpenGL: Fix ImGui font switch, dynamic switching, toolbar fixes 2019-01-24 20:03:12 +01:00
Enrico Turri
fc85c101be Show gizmos and toolbars tooltips when hovering on a disabled item 2019-01-16 11:10:24 +01:00
Enrico Turri
4011138999 Removal of wxNotebook from plater set as default 2019-01-03 12:59:06 +01:00
Enrico Turri
15dcc9972d Background texture for toolbars set as default 2019-01-02 16:26:22 +01:00
Enrico Turri
1067faec4a Scalable toolbar icons 2018-12-17 11:11:49 +01:00
Enrico Turri
b2b84a85a3 Added background texture to toolbars 2018-12-17 10:55:14 +01:00
bubnikv
87759588b1 include "libslic3r" from slic3r project directly, not as "../../libslicer"
(rely on -Ilibslic3r set correctly) for the slic3r project.
2018-12-06 12:52:28 +01:00
Enrico Turri
0166643a62 Removal of tabs from plater -> Fixed buttons update when switching between views using keyboard 2018-12-06 12:37:39 +01:00
Enrico Turri
8ce353056d Removal of tabs from plater -> added buttons to scene to switch between views 2018-12-06 10:38:19 +01:00
Vojtech Kral
6f3e386e85 Cutting 2018-11-18 21:20:47 +01:00
Enrico Turri
fff76c6aae New selection set as default 2018-11-01 10:06:55 +01:00
Enrico Turri
02f407be9a Tooltip when hovering on gizmo icons 2018-10-25 09:35:08 +02:00
Enrico Turri
acdc73a371 Split to objects and Split to parts 2018-10-24 12:55:38 +02:00
Enrico Turri
d8ca93599e Fixed memory leak in GLToolbar 2018-10-24 10:55:35 +02:00
Enrico Turri
de1a811167 Object context menu wip / Removed links to settings dialog from user interface / Fixed and unified append_menu_item() function / Fixed File->Open menu item / Fixed Window menu items / Added Plater menu 2018-10-17 12:17:25 +02:00
Enrico Turri
1d4d84e432 New selection -> removed obsolete methods\n+\nFixed a few compile warnings 2018-10-08 15:17:36 +02:00
Enrico Turri
1254c85e4b Use an unique opengl context 2018-10-04 10:41:11 +02:00
Vojtech Kral
c9e6f89379 Replace PerlCallbacks with events in GLCanvas3d et al. 2018-10-03 11:51:47 +02:00
Vojtech Kral
3363f62d40 WIP: Plater 2018-10-01 09:28:40 +02:00
bubnikv
1260b8deb3 WIP: Moved sources int src/, separated most of the source code from Perl.
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00