7#include <simgear/misc/strutils.hxx>
8#include <simgear/props/propsfwd.hxx>
9#include <simgear/structure/subsystem_mgr.hxx>
40 void update(
double delta_time_sec)
override;
69 bool saveToXML(
const SGPath& path,
const std::string&
name,
const std::string& desc);
84 std::unique_ptr<GraphicsConfigChangeListener> _listener;
85 std::unique_ptr<RequiredPropertyListener> _restartListener;
86 std::unique_ptr<RequiredPropertyListener> _sceneryReloadListener;
87 std::unique_ptr<RequiredPropertyListener> _compositorReloadListener;
monitor a collection of properties, and set a flag property to true when any of them are modified.
bool applyCustomPreset(const SGPath &path)
void applyInitialPreset()
init() is called too late (after fgOSInit), so we call this method early, to load the initial preset ...
bool applyPresetByName(const std::string &name)
apply a preset identified by its (localized) name.
bool saveToXML(const SGPath &path, const std::string &name, const std::string &desc)
GraphicsPresetVec listPresets()
retrieve all standard presets which are defined
static const char * staticSubsystemClassId()
bool applyCurrentPreset()
Apply the settings defined in the current graphics preset, to the property tree.
void update(double delta_time_sec) override
std::vector< GraphicsPresetInfo > GraphicsPresetVec
std::vector< std::string > string_list
FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information ...
SGPropertyNode_ptr properties