| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- // Filename: config_framework.cxx
- // Created by: drose (06Sep00)
- //
- ////////////////////////////////////////////////////////////////////
- //
- // PANDA 3D SOFTWARE
- // Copyright (c) Carnegie Mellon University. All rights reserved.
- //
- // All use of this software is subject to the terms of the revised BSD
- // license. You should have received a copy of this license along
- // with this source code in a file named "LICENSE."
- //
- ////////////////////////////////////////////////////////////////////
- #include "config_framework.h"
- #include "dconfig.h"
- #include "windowFramework.h"
- // By including checkPandaVersion.h, we guarantee that runtime
- // attempts to load libframework.so/.dll will fail if they
- // inadvertently link with the wrong version of libdtool.so/.dll.
- #include "checkPandaVersion.h"
- Configure(config_framework);
- NotifyCategoryDef(framework, "");
- ConfigVariableDouble aspect_ratio
- ("aspect-ratio", 0.0);
- ConfigVariableBool show_frame_rate_meter
- ("show-frame-rate-meter", false);
- ConfigVariableBool default_stereo_camera
- ("default-stereo-camera", true);
- ConfigVariableString record_session
- ("record-session", "");
- ConfigVariableString playback_session
- ("playback-session", "");
- ConfigureFn(config_framework) {
- WindowFramework::init_type();
- }
|