5719 Commits

Author SHA1 Message Date
Joseph Lenox
04f5dbe419 settings to ui_settings 2018-07-11 22:14:51 -05:00
Joseph Lenox
586e911363 Cleanup of Settings usage/propagation 2018-07-11 22:14:51 -05:00
Joseph Lenox
c97a7cb42b Refactoring Settings store. 2018-07-11 22:14:51 -05:00
Joseph Lenox
590d66b59b Refactoring Settings store. 2018-07-11 22:14:51 -05:00
Joseph Lenox
a3d38494f0 Cleaning up settings to ui_settings 2018-07-11 22:14:51 -05:00
Joseph Lenox
8cf4d5fe40 Fix _update() signature. 2018-07-11 22:14:51 -05:00
Joseph Lenox
991c601d8f Fixed how bitmap was instantiated, forgot a } 2018-07-11 22:14:51 -05:00
Joseph Lenox
d4f73ff1aa Fixed some typos, working on getting code to build. 2018-07-11 22:14:51 -05:00
Joseph Lenox
b12b656bf7 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-07-11 22:14:51 -05:00
Joseph Lenox
4b92bb4ebf Match prototype for add_options_page 2018-07-11 22:14:51 -05:00
Joseph Lenox
2f74ea3a44 Add GUI.hpp to include list. 2018-07-11 22:14:51 -05:00
Joseph Lenox
e78d1fe802 Stubbed out more functions in PresetEditor 2018-07-11 22:14:51 -05:00
Joseph Lenox
6b4b59da74 Fixed signatures for on_save_preset and on_value_change function objects. 2018-07-11 22:14:51 -05:00
Joseph Lenox
ac03e67605 Added more functions to PresetEditor interface 2018-07-11 22:14:51 -05:00
Joseph Lenox
9650035463 Added LogChannel interface function (pure virtual) to PresetEditor 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
745a1d6fb3 Bring in Preset reference file 2018-07-11 22:14:51 -05:00
Joseph Lenox
deba961bf7 finished removing local settings in favor of singleton ui_settings 2018-07-11 22:14:51 -05:00
Joseph Lenox
ce4330e868 Made Preset methods public (as originally intended), added == for wxString and std::string to let std::find behave nicely. 2018-07-11 22:14:51 -05:00
Joseph Lenox
8933e76719 Added comment for prompt_unsaved_changes 2018-07-11 22:14:51 -05:00
Joseph Lenox
a7ce242496 pages is PresetPage, not wxString 2018-07-11 22:14:51 -05:00
Joseph Lenox
ac62b78943 Added overriding and overridable options. 2018-07-11 22:14:51 -05:00
Joseph Lenox
f13fbf3cee Moved to C++14 syntax with string literals. 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
f20128bf4a Require C++14 for GUI 2018-07-11 22:14:51 -05:00
Joseph Lenox
9d7d83990e Build statically and build in a subdirectory. 2018-07-11 22:14:51 -05:00
Joseph Lenox
8b36624329 Committing PresetEditor.cpp 2018-07-11 22:14:51 -05:00
Joseph Lenox
8ec16388e0 refactored to accept a t_config_option_keys for initializer. 2018-07-11 22:14:51 -05:00
Joseph Lenox
99c30bcd64 Stubbing out the various editors for print/material/printer 2018-07-11 22:14:51 -05:00
Joseph Lenox
d21f8cbb25 Moved PresetEditor into Dialogs subdir 2018-07-11 22:14:51 -05:00
Joseph Lenox
f0b1a2073b Properly initialize the toolbar state on start 2018-07-11 22:14:51 -05:00
Joseph Lenox
339e5c1013 Changed small_font to be a function; avoids initialization segfault (calling wxSystemSettings before wx is initialized). 2018-07-11 22:14:51 -05:00
Joseph Lenox
4781a5ac4b workaround: avoid requiring c++14 just yet. 2018-07-11 22:14:51 -05:00
Joseph Lenox
866e9b841c Stubbed out more of PresetEditor and Preset 2018-07-11 22:14:51 -05:00
Joseph Lenox
0c3868d0cb Require C++14 support for gui compile (because string literals are really really useful). 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
f14f34294f working through UI for preset selector. 2018-07-11 22:14:51 -05:00
Joseph Lenox
69d47082f4 Added preset type enumeration 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
c51737ac42 Add adv to build (support wxbitmapcombobox) 2018-07-11 22:14:51 -05:00
Joseph Lenox
a8a15cdb25 added info box 2018-07-11 22:14:51 -05:00
Joseph Lenox
70bd713353 added comment to append_menu_item and append_submenu. 2018-07-11 22:14:51 -05:00
Joseph Lenox
372b5c8ef3 Enable/disable toolbar on selection 2018-07-11 22:14:51 -05:00
Joseph Lenox
57f684a1c4 Populate and set/unset select menu. 2018-07-11 22:14:51 -05:00
Joseph Lenox
353a7fcaef Return the wxMenuItem* from append_menu_item, we do need it for some methods. 2018-07-11 22:14:51 -05:00
Joseph Lenox
148316f211 Stubbed in Plater menu. 2018-07-11 22:14:51 -05:00
Joseph Lenox
d72dc8e8e4 Require boost. 2018-07-11 22:14:51 -05:00
Joseph Lenox
a443f94af0 Don't build xsgui 2018-07-11 22:14:51 -05:00