114 Commits

Author SHA1 Message Date
Joseph Lenox
67451c03b5 Moved statusbar up to public (allow children to manipulate the statusbar) 2018-07-11 22:14:51 -05:00
Joseph Lenox
97961812f5 stubbed in load_model_objects, load_file should be implemented now. 2018-07-11 22:14:51 -05:00
Joseph Lenox
404618ecca Stubbed out load_file, some work on add to call load_file().
Added some comments for canvas2D.
2018-07-11 22:14:51 -05:00
Joseph Lenox
2bb202e2ec Set LogChannel for Slic3r::GUI::Plater 2018-07-11 22:14:51 -05:00
Joseph Lenox
4e74249511 Staged the 2D plater on its tab. 2018-07-11 22:14:51 -05:00
Joseph Lenox
f44efd08b0 Push Settings down so it's available to the plater (for color choices, etc). 2018-07-11 22:14:51 -05:00
Joseph Lenox
4aef7ddff6 Further implementation of Plater and Plater2D. 2018-07-11 22:14:51 -05:00
Joseph Lenox
6e541d4867 Stubbed Plater constructor. 2018-07-11 22:14:51 -05:00
Joseph Lenox
e1667825a5 Moved plater stubs to its own cpp 2018-07-11 22:14:51 -05:00
Benjamin Landers
e0aa6d2f85 Patch menu deletion issue 2018-06-22 02:51:19 -07:00
Joseph Lenox
8340654183 stubbed out preset editor changes. 2018-06-14 23:16:30 -05:00
Joseph Lenox
3ac6cbdbfd
Cleanup of Settings usage/propagation 2018-06-14 11:07:19 -05:00
Joseph Lenox
c6639786b7
Cleaning up settings to ui_settings 2018-06-14 09:24:03 -05:00
Joseph Lenox
bd35919804 Push GUI config/settings store out to a singleton unique_ptr that is instantiated during OnInit. 2018-06-13 21:00:17 -05:00
Joseph Lenox
451d202be5 Properly initialize the toolbar state on start 2018-06-04 16:25:06 -05:00
Joseph Lenox
e83a6c4779 Changed small_font to be a function; avoids initialization segfault (calling wxSystemSettings before wx is initialized). 2018-06-04 16:19:17 -05:00
Joseph Lenox
d74712ef7d Moved Preset to its own header. 2018-05-21 16:28:44 -05:00
Joseph Lenox
27dc6870e4 working through UI for preset selector. 2018-05-17 22:01:48 -05:00
Joseph Lenox
910f95f01a added info box 2018-05-15 22:26:39 -05:00
Joseph Lenox
3d67cf03b8 Enable/disable toolbar on selection 2018-05-15 21:01:04 -05:00
Joseph Lenox
a418521a60 Populate and set/unset select menu. 2018-05-15 21:00:34 -05:00
Joseph Lenox
3a0f5297a1 Stubbed in Plater menu. 2018-05-15 20:17:12 -05:00
Joseph Lenox
a98dad496d gcc, pls 2018-05-13 22:10:43 -05:00
Joseph Lenox
121dd66362 Handle possible narrowing of data type between unsigned long and signed long 2018-05-13 22:08:36 -05:00
Joseph Lenox
a8e2c860ae Implemented center_selected_object_on_bed and set_number_of_copies 2018-05-13 21:50:36 -05:00
Joseph Lenox
a8ae789c1b Implement more of Object menu 2018-05-13 21:30:35 -05:00
Joseph Lenox
ada744d718 Implement generic object rotation in all 3 axes with a slider and box. 2018-05-13 21:18:50 -05:00
Joseph Lenox
f3c652e322 Implemented general rotate function for supplied function. 2018-05-13 19:32:15 -05:00
Joseph Lenox
294c9aaa18 call Realize() function on toolbar. 2018-05-13 11:00:29 -05:00
Joseph Lenox
cdcccfc87c Abort arrange if no objects in plater. 2018-05-13 11:00:14 -05:00
Joseph Lenox
fa2ee0b8a1 Add loaded objects to the Slic3r::Print reference. 2018-05-13 09:19:44 -05:00
Joseph Lenox
9b81e7ad95 Implemented increase/decrease for instances. 2018-05-13 09:19:12 -05:00
Joseph Lenox
ffa1b3ba2c Removed useless tooltip id 2018-05-13 00:22:34 -05:00
Joseph Lenox
163572e537 Stubbed out toolbar with calling functions; Add, Delete, and Delete All work.
Plater object got a move constructor.
2018-05-13 00:05:31 -05:00
Joseph Lenox
9108e1b13d Stubbed out toolbar button graphics. 2018-05-12 20:11:14 -05:00
Joseph Lenox
4e5ed9cdb0 Assign on_instances_moved and put a try/catch to not crash if it accidentally gets called while uninitialzed. 2018-05-12 16:58:29 -05:00
Joseph Lenox
a49ab1549d Cleaned up a pointless statement warning. 2018-05-12 13:38:09 -05:00
Joseph Lenox
13e8a1ea1a Use correct range for range check on iterator. 2018-05-11 23:07:07 -05:00
Joseph Lenox
1d4e5775ae Set typedef (via using directive) for object references (iterators) and object indices. 2018-05-11 22:38:00 -05:00
Joseph Lenox
872fd61706 Moved assignable methods to std::function objects. 2018-05-11 22:36:37 -05:00
Joseph Lenox
dfe4f54d08 stubbed methods to fire object_settings_dialog, retrieve the current selected object, etc. 2018-05-11 22:34:40 -05:00
Joseph Lenox
cbede041d2 be a little smarter about converting things (avoids confusing mingw 7.3) 2018-05-10 19:10:33 -05:00
Joseph Lenox
d48166ae92 Stubbed out classes for 3D plater/preview, 2D preview (toolpaths), and DLP/SLA preview tabs. 2018-05-09 23:03:06 -05:00
Joseph Lenox
588bb456ae Made Plater::arrange a little less noisy, noted TODO for the background process pause.
Also finished implemented bed_centerf()
2018-05-09 21:48:16 -05:00
Joseph Lenox
b16e2570f3 more work on arrange() 2018-05-07 22:36:40 -05:00
Joseph Lenox
168e7913de Stubbed out Plater::arrange() and on_model_change() 2018-05-07 22:15:12 -05:00
Joseph Lenox
def5d565b6 call update_bed_size during instantiation 2018-05-07 21:24:27 -05:00
Joseph Lenox
d6d3c75582 Stub out more of the sizers so people implementing can see their work immediately. 2018-05-07 21:24:08 -05:00
Joseph Lenox
6276e0d7ce Added make_thumbnail and on_thumbnail_made 2018-05-06 22:51:55 -05:00
Joseph Lenox
98d4e9a6c5 Added canvas refresh utility function. Additional previews/canvases should update here. 2018-05-06 22:49:03 -05:00