5146 Commits

Author SHA1 Message Date
Benjamin Landers
7362e56578 Fix color issues 2018-06-22 23:02:21 -07:00
Benjamin Landers
f352d433bc Basic Plate3D implementation (selection not working)
Additionally, OpenGL added to the cmakelist and xs/slic3r/GUI files fixed to be compiled.
2018-06-22 03:14:18 -07:00
Benjamin Landers
e0aa6d2f85 Patch menu deletion issue 2018-06-22 02:51:19 -07:00
Joseph Lenox
7ffa425d65 try one last time to run gui tests on travis 2018-06-21 23:42:54 -05:00
Joseph Lenox
b241731e8a Test GUI functions on osx travis until I figure out what is up with linux. Run TestSlic3r on both. 2018-06-21 23:41:27 -05:00
Joseph Lenox
0f01bd16f0 use xvfb-run instead of starting it by hand 2018-06-21 23:26:00 -05:00
Joseph Lenox
a8293029fb refactor libslic3r dependencies 2018-06-21 23:25:43 -05:00
Joseph Lenox
aa85c50b46 add all of the library dependencies that Slic3r needs to the test as well. 2018-06-21 23:15:07 -05:00
Joseph Lenox
cdb9d61aef Added a test with a tiny bit of meaning (cribbed from wxWidgets tests). 2018-06-21 23:05:33 -05:00
Joseph Lenox
1d4df82c92 spliced test harness wxApp class from wxWidgets tests 2018-06-21 23:03:00 -05:00
Joseph Lenox
306013bf30 start xvfb on osx? 2018-06-21 22:19:53 -05:00
Joseph Lenox
953317c602 Build and run tests. Also use correct location for catch header. 2018-06-21 22:06:19 -05:00
Joseph Lenox
dd993042b7 Detect if running on Travis 2018-06-21 22:04:44 -05:00
Joseph Lenox
29b6aa23e8 Fetch Catch via cmake instead of clone + own. 2018-06-21 21:51:54 -05:00
Joseph Lenox
94736231d6 Start building tests with Catch; also use ON/OFF syntax for build options.
testableframe borrowed from wxWidgets tests.
2018-06-21 21:48:54 -05:00
Joseph Lenox
4e89f2f806
Make xs/gui name correct/consistent 2018-06-15 10:58:32 -05:00
Joseph Lenox
b8a094e18f
Rename GUI.hpp to xsGUI.hpp 2018-06-15 10:42:21 -05:00
Joseph Lenox
695bf7d293
Renaming xs/../GUI.hpp to xsGUI.hpp to avoid conflicts 2018-06-15 10:42:00 -05:00
Joseph Lenox
8340654183 stubbed out preset editor changes. 2018-06-14 23:16:30 -05:00
Joseph Lenox
ec2582c4e4 Made ui_settings extern. 2018-06-14 17:10:44 -05:00
Joseph Lenox
e15e628645
Last pieces of refactor 2018-06-14 12:17:01 -05:00
Joseph Lenox
5fb873c381
Fix typo. 2018-06-14 12:02:52 -05:00
Joseph Lenox
b32f7132b9
What's that semicolon?!? 2018-06-14 11:41:12 -05:00
Joseph Lenox
33b5b7c003
settings to ui_settings 2018-06-14 11:29:23 -05:00
Joseph Lenox
3ac6cbdbfd
Cleanup of Settings usage/propagation 2018-06-14 11:07:19 -05:00
Joseph Lenox
b249b75be8
Refactoring Settings store. 2018-06-14 09:25:22 -05:00
Joseph Lenox
cc0ee1931f
Refactoring Settings store. 2018-06-14 09:24:37 -05:00
Joseph Lenox
c6639786b7
Cleaning up settings to ui_settings 2018-06-14 09:24:03 -05:00
Joseph Lenox
32f440ea65 Fix _update() signature. 2018-06-13 23:14:34 -05:00
Joseph Lenox
759428fef7 Fixed how bitmap was instantiated, forgot a } 2018-06-13 23:00:34 -05:00
Joseph Lenox
e9df376f9b Fixed some typos, working on getting code to build. 2018-06-13 22:50:52 -05:00
Joseph Lenox
cbc026e4ed Update now takes an argument, added accessor functions to get the type as both a preset enum and integer (index into vector)
Stubbed in more functions.
2018-06-13 22:46:12 -05:00
Joseph Lenox
9e068d5d65 Match prototype for add_options_page 2018-06-13 22:36:58 -05:00
Joseph Lenox
c70ecd68ba Add GUI.hpp to include list. 2018-06-13 22:35:15 -05:00
Joseph Lenox
4fc9a09bc9 Stubbed out more functions in PresetEditor 2018-06-13 22:26:51 -05:00
Joseph Lenox
8e5d2595d6 Fixed signatures for on_save_preset and on_value_change function objects. 2018-06-13 22:26:21 -05:00
Joseph Lenox
f2d0dae357 Added more functions to PresetEditor interface 2018-06-13 22:25:44 -05:00
Joseph Lenox
1b8e880c84 Added LogChannel interface function (pure virtual) to PresetEditor 2018-06-13 22:24:58 -05:00
Joseph Lenox
80bc61d833 Moved presets vector to public from private. 2018-06-13 22:24:06 -05:00
Joseph Lenox
93039e13fc Quick reference macro to GUI with the cast applied so access is available 2018-06-13 22:20:57 -05:00
Joseph Lenox
d95d7f8d55 Bring in Preset reference file 2018-06-13 22:19:36 -05:00
Joseph Lenox
2b6e64756e finished removing local settings in favor of singleton ui_settings 2018-06-13 22:17:25 -05:00
Joseph Lenox
9d9781acd5 Made Preset methods public (as originally intended), added == for wxString and std::string to let std::find behave nicely. 2018-06-13 22:08:22 -05:00
Joseph Lenox
97acd95341 Added comment for prompt_unsaved_changes 2018-06-13 22:07:16 -05:00
Joseph Lenox
d8d7119f47 pages is PresetPage, not wxString 2018-06-13 22:06:49 -05:00
Joseph Lenox
a9b6946066 Added overriding and overridable options. 2018-06-13 21:32:47 -05:00
Joseph Lenox
82836f1ec3 Moved to C++14 syntax with string literals. 2018-06-13 21:31:42 -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
7cdeb7b454 Require C++14 for GUI 2018-06-13 20:48:45 -05:00
Joseph Lenox
ba4a313897 Build statically and build in a subdirectory. 2018-06-06 18:25:36 -05:00