Commit Graph

60 Commits

Author SHA1 Message Date
David Kocik
bc8ecff631 Hint notification
Reads data from hints.ini. Has hyperlinks to highlight settings, toolbars and gizmos.
2021-07-29 13:20:50 +02:00
enricoturri1966
8480895d40 Remove const_cast<> introduced with 4da8de5f49 2021-06-04 10:23:31 +02:00
enricoturri1966
e5b7c3536a Removed mutable members from class GLToolbar 2021-04-16 15:49:37 +02:00
enricoturri1966
6f543016d7 ENABLE_GCODE_VIEWER_AS_STATE -> Fixed collapse toolbar showing-up when presing [T] in gcode preview mode 2020-07-29 15:40:28 +02:00
enricoturri1966
af9b363e41 ENABLE_CANVAS_TOOLTIP_USING_IMGUI set as default 2020-05-15 13:40:45 +02:00
YuSanka
41a696032e Auto scale of the toolbars in respect to the canvas size 2020-05-12 23:07:35 +02:00
YuSanka
51fd24168d Added new icon for "collapse sidebar"
+ The tooltip for a "Collapse" button is updated according to the collapse state
2020-03-30 11:53:58 +02:00
enricoturri1966
c8bffb7f2a Refactoring of toolbars' tooltip generation 2020-03-24 12:26:30 +01:00
Enrico Turri
184c4b96e7 ENABLE_MODIFIED_TOOLBAR_TEXTURES set as default 2020-02-13 09:50:06 +01:00
Enrico Turri
dd809882b9 ENABLE_VIEW_TOOLBAR_BACKGROUND_FIX set as default 2020-01-17 10:50:25 +01:00
Enrico Turri
55549220eb Fixed artifacts on toolbar and gizmobar icons showing up when changing screen or toolbar scale factors 2020-01-07 12:40:03 +01:00
Enrico Turri
366dfac251 Attempt to fix view toolbar background not showing up on Mac when using dark mode 2019-12-10 10:56:21 +01:00
Enrico Turri
f61fe06794 Removed a bunch of compile warnings 2019-09-04 09:47:00 +02:00
enricoturri1966
10212a1042 Added additional tooltip to toolbar items and use it for undo/redo items 2019-07-20 14:03:34 +02:00
enricoturri1966
3924f14452 Reworked rendering of toolbars background texture 2019-07-20 12:02:29 +02:00
bubnikv
e8e35579dd Merge remote-tracking branch 'remotes/origin/vb_undo_redo' 2019-07-15 11:34:18 +02:00
Enrico Turri
2f43e228f3 Tech ENABLE_SVG_ICONS set as default 2019-07-12 10:13:35 +02:00
Enrico Turri
cbf50ccdca Follow-up of 4c6c608342 -> refactoring 2019-07-12 09:26:19 +02:00
Enrico Turri
9c184f5112 GLToolbar and GLToolbarItem refactored to allow two different actions when left/right clicking on items.
Stack dialog for undo and redo items is now shown on right click only
2019-07-11 15:29:46 +02:00
Enrico Turri
747900c308 Deactivate undo/redo toolbar items when leaving the 3D scene or clicking into it 2019-07-11 07:46:40 +02:00
Enrico Turri
7ad87de236 GLToolbar::m_imgui_hovered_pos replaced with GLCanvas3D::m_imgui_undo_redo_hovered_pos 2019-07-10 14:08:14 +02:00
YuSanka
b7ecb35a5a Merge remote-tracking branch 'origin/vb_undo_redo' into ys_undo_redo 2019-07-10 11:38:52 +02:00
Enrico Turri
1c68eb1fa3 Modified toolbar to call RenderCallback only when the item is toggable and pressed 2019-07-10 10:52:12 +02:00
YuSanka
c5a27bf798 Fixed redo_to() function and code cleaning from redundant options 2019-07-10 10:15:07 +02:00
YuSanka
0af1af0ae2 Next improvements of an undo/redo from a toolbar 2019-07-09 19:39:36 +02:00
YuSanka
8cfe03033f Added undo/redo icons. Fist step to implementation Undo/Redo list for toolbar 2019-07-08 18:01:14 +02:00
Enrico Turri
61ef36805f Copy and paste -> Added items for copy and paste on the toolbar 2019-04-11 13:20:34 +02:00
Enrico Turri
0337ac0839 1st installment of gizmos refactoring
1) GLCanvas3D::Gizmos moved into a standalone class GLGizmosManager

2) GLGizmosManager handles mouse events by calling its on_mouse method (wip)
2019-03-26 09:01:04 +01:00
Enrico Turri
c50986d7fd Code cleanup 2019-03-25 14:13:20 +01:00
Enrico Turri
c0db8a6bfd Yet another tweak to the logic for releasing mouse capture into GLToolbar::on_mouse() 2019-03-25 08:48:41 +01:00
Enrico Turri
3733410e55 Another tweak to the logic for releasing mouse capture into GLToolbar::on_mouse() 2019-03-22 14:35:26 +01:00
Enrico Turri
788aea7a61 Fixed conflicts after merge with master 2019-03-20 16:09:14 +01:00
Enrico Turri
7cc04be0ec Fix into GLToolbar::on_mouse() 2019-03-20 15:30:03 +01:00
Enrico Turri
81b52cdc95 Added missing include 2019-03-20 14:36:36 +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
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
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
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