773 Commits

Author SHA1 Message Date
Joseph Lenox
27dc6870e4 working through UI for preset selector. 2018-05-17 22:01:48 -05:00
Joseph Lenox
43c4721c26 Added preset type enumeration 2018-05-17 22:00:59 -05:00
Joseph Lenox
7f485cd094 Implemented callback system with a registration function that manipulates a stack.
Stack access is protected by a mutex. Writes block until mutex is gotten, reads will try again later in event handler.
2018-05-17 21:21:19 -05:00
Joseph Lenox
5f2fa5b5fb Add adv to build (support wxbitmapcombobox) 2018-05-17 21:14:51 -05:00
Joseph Lenox
910f95f01a added info box 2018-05-15 22:26:39 -05:00
Joseph Lenox
af041564fa added comment to append_menu_item and append_submenu. 2018-05-15 21:07:48 -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
5f252f1848 Return the wxMenuItem* from append_menu_item, we do need it for some methods. 2018-05-15 20:59:46 -05:00
Joseph Lenox
3a0f5297a1 Stubbed in Plater menu. 2018-05-15 20:17:12 -05:00
Joseph Lenox
86fc28a783
Require boost. 2018-05-15 14:15:43 -05:00
Joseph Lenox
ac80e2da7f back to c++11 semantics for initialization. 2018-05-13 23:24:33 -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
23a0f417d1 Still playing with solarized, better setup (private constants with public functions) 2018-05-13 21:57:21 -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
ab97539a1d gcc please don't treat that as an initializer list. :( 2018-05-13 21:30:04 -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
be71ede08b Reorganize includes 2018-05-13 18:12:14 -05:00
Joseph Lenox
5f49ee8913 Moved AboutDialog into Dialogs subdir. 2018-05-13 18:02:03 -05:00
Joseph Lenox
94c4813dc5 actually do functions right 2018-05-13 14:27:10 -05:00
Joseph Lenox
8acc215759 okay, you win this time clang 2018-05-13 14:15:48 -05:00
Joseph Lenox
e83978f3e5 fix signature 2018-05-13 14:01:48 -05:00
Joseph Lenox
bfb8f8f3d8 Convert colors to base-255 2018-05-13 13:55:53 -05:00
Joseph Lenox
54220204dd Fix assignment to not use copy constructor 2018-05-13 13:48:40 -05:00
Joseph Lenox
8e5056dee4 don't build WX if it can't be found 2018-05-13 13:37:04 -05:00
Joseph Lenox
e82238266c Don't leak memory on the dc 2018-05-13 13:32:33 -05:00
Joseph Lenox
dc0bc0bbdb compiler misinterprets as initializer list -.- 2018-05-13 13:20:52 -05:00
Joseph Lenox
422ca4f8bb Avoid gcc interpreting things as initializer lists. 2018-05-13 12:47:31 -05:00
Joseph Lenox
ebe37cd27d Playing around with compiler setups 2018-05-13 11:30:46 -05:00
Joseph Lenox
cad9750384 put the dc on the stack so it gets destroyed instead of on the heap. 2018-05-13 11:01:17 -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
e0ff9411ba Stubbed undo ops for increase/decrease. 2018-05-13 09:20:05 -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
1006abc5b8 Cleaned up header for Plate2D.hpp; added comments. 2018-05-12 19:43:43 -05:00
Joseph Lenox
2d386053f6 Forgot to check in a } 2018-05-12 19:21:22 -05:00
Joseph Lenox
850e546c92 Draw skirt on 2D plater. 2018-05-12 18:57:12 -05:00
Joseph Lenox
996a8e355a Draw clearance area if necessary. 2018-05-12 18:38:55 -05:00
Joseph Lenox
3e65cf843d Implemented keyboard nudge in 2D plater. 2018-05-12 17:33:01 -05:00
Joseph Lenox
cd9ba69328 Remembered to bind the right click mouse events, moved the associated comment.
capture [this] instead of [=] for lambdas.
2018-05-12 17:32:30 -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
9a4ab21bb8 Comment update to be more clear as to what is going on 2018-05-12 16:56:32 -05:00
Joseph Lenox
2bb1c1ab39 Use wxDateTime::Now() to initialze current date instead of default constructor (avoid runtime errors) 2018-05-12 16:41:56 -05:00