20 Commits

Author SHA1 Message Date
Joseph Lenox
aa61f8daf1 add settings store to application 2018-11-18 19:02:56 -06:00
Joseph Lenox
7837e41f5a Use alias for preset_store 2018-11-18 19:02:56 -06:00
Joseph Lenox
dc3b420c09 Moved the basic preset store back to an array of vectors. 2018-11-18 19:02:56 -06:00
Joseph Lenox
104089a3e3 Use std::array for the preset ini files. 2018-11-18 19:02:56 -06:00
Joseph Lenox
533a2314fd Fixed includes on OSX and silenced override warnings. 2018-07-22 11:55:33 -05:00
Joseph Lenox
7cbf4b6d5f stubbed out preset editor changes. 2018-07-11 22:14:51 -05:00
Joseph Lenox
21c2e4c58c Moved presets vector to public from private. 2018-07-11 22:14:51 -05:00
Joseph Lenox
af99159642 Quick reference macro to GUI with the cast applied so access is available 2018-07-11 22:14:51 -05:00
Joseph Lenox
650bcc8c4c Push GUI config/settings store out to a singleton unique_ptr that is instantiated during OnInit. 2018-07-11 22:14:51 -05:00
Joseph Lenox
b354455fb4 Moved Preset to its own header. 2018-07-11 22:14:51 -05:00
Joseph Lenox
bf57b74d9e Log otherwise uncaught exceptions so we have an idea where it came from. 2018-07-11 22:14:51 -05:00
Joseph Lenox
de64891100 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-07-11 22:14:51 -05:00
Joseph Lenox
a2b2bf11a3 Check for datadir in OnInit(). 2018-07-11 22:14:51 -05:00
Joseph Lenox
ac4ed3f39f Stub out more of the interface, working our way out from GUI::App::OnInit() 2018-07-11 22:14:51 -05:00
Joseph Lenox
cc358a88e6 Update GUI.hpp 2018-07-11 22:14:51 -05:00
Joseph Lenox
fb45227e51 added misc utility functions for the UI, including functions to get user home (for slic3r directory) and path to var. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1f22647e61 stubbed Notifier class and misc helper function 2018-07-11 22:14:51 -05:00
Joseph Lenox
67f41d2c23 stub out more menus 2018-07-11 22:14:51 -05:00
Joseph Lenox
1f9cef4345 Stubbing out more of the UI. 2018-07-11 22:14:51 -05:00
Joseph Lenox
be580fc9ee experiment to stub out C++ only GUI 2018-07-11 22:14:51 -05:00