1 #ifndef EXPORTERS_BITMAP_GRAPHICS_PREFERENCES_H_
2 #define EXPORTERS_BITMAP_GRAPHICS_PREFERENCES_H_
25 #include <boost/property_tree/ptree_fwd.hpp>
47 m_size_preset =
false;
54 GraphicsPreferences::Update(e);
56 m_size_preset =
false;
58 auto size_prefs = e.source->GetChild(
"size");
59 m_size_x = size_prefs->Get<
double>(
"x");
60 m_size_y = size_prefs->Get<
double>(
"y");
62 }
catch (boost::property_tree::ptree_error& e) {}
Namespace for SimPT shell package.
Interface/Implementation for GraphicsPreferences.
Preferences for graphics viewer.
Preferences for a graphic viewer.
Header file for Exception class.