26 Commits

Author SHA1 Message Date
Joseph Lenox
ef0dd3c7c9 Set typedef (via using directive) for object references (iterators) and object indices. 2018-07-11 22:14:51 -05:00
Joseph Lenox
ac7c93850a Moved assignable methods to std::function objects. 2018-07-11 22:14:51 -05:00
Joseph Lenox
27e4e4b8b5 stubbed methods to fire object_settings_dialog, retrieve the current selected object, etc. 2018-07-11 22:14:51 -05:00
Joseph Lenox
524ef920a6 be a little smarter about converting things (avoids confusing mingw 7.3) 2018-07-11 22:14:51 -05:00
Joseph Lenox
375663c381 Stubbed out classes for 3D plater/preview, 2D preview (toolpaths), and DLP/SLA preview tabs. 2018-07-11 22:14:51 -05:00
Joseph Lenox
6e9cd3bfdd Made Plater::arrange a little less noisy, noted TODO for the background process pause.
Also finished implemented bed_centerf()
2018-07-11 22:14:51 -05:00
Joseph Lenox
bbcdebf5b5 more work on arrange() 2018-07-11 22:14:51 -05:00
Joseph Lenox
1cd7e878b0 Stubbed out Plater::arrange() and on_model_change() 2018-07-11 22:14:51 -05:00
Joseph Lenox
bb9ce8dd6f call update_bed_size during instantiation 2018-07-11 22:14:51 -05:00
Joseph Lenox
59af3c8a86 Stub out more of the sizers so people implementing can see their work immediately. 2018-07-11 22:14:51 -05:00
Joseph Lenox
cacaa365c3 Added make_thumbnail and on_thumbnail_made 2018-07-11 22:14:51 -05:00
Joseph Lenox
6741a6cc0a Added canvas refresh utility function. Additional previews/canvases should update here. 2018-07-11 22:14:51 -05:00
Joseph Lenox
bbbe7e7560 Use std::string internally instead of wxString. 2018-07-11 22:14:51 -05:00
Joseph Lenox
8ba681538d Use .at() instead of [] because that'll throw an exception if out of bounds instead of a hard-to-find memory crash. 2018-07-11 22:14:51 -05:00
Joseph Lenox
3d57da105d Remember that std::vector<>.size() needs to be offset by 1 if it's being used to find the last index. 2018-07-11 22:14:51 -05:00
Joseph Lenox
97cb562890 Implemented load_model_objects, fleshed out add() more.
Implemented bed_centerf().
2018-07-11 22:14:51 -05:00
Joseph Lenox
5b13c5a134 stubbed out Plater::select_object() and uncommented its use in a lambda being assigned to on_select_object. 2018-07-11 22:14:51 -05:00
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