Panda3D
Loading...
Searching...
No Matches
config_framework.cxx
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file config_framework.cxx
10 * @author drose
11 * @date 2000-09-06
12 */
13
14#include "config_framework.h"
15
16#include "dconfig.h"
17#include "windowFramework.h"
18
19#if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_FRAMEWORK)
20 #error Buildsystem error: BUILDING_FRAMEWORK not defined
21#endif
22
23Configure(config_framework);
24NotifyCategoryDef(framework, "");
25
26ConfigVariableDouble aspect_ratio
27("aspect-ratio", 0.0);
28ConfigVariableBool show_frame_rate_meter
29("show-frame-rate-meter", false);
30ConfigVariableBool show_scene_graph_analyzer_meter
31("show-scene-graph-analyzer-meter", false);
32ConfigVariableBool print_pipe_types
33("print-pipe-types", true);
34ConfigVariableString window_type
35("window-type", "onscreen");
36
37ConfigVariableString record_session
38("record-session", "");
39ConfigVariableString playback_session
40("playback-session", "");
41
42
43ConfigureFn(config_framework) {
44 WindowFramework::init_type();
45}
This is a convenience class to specialize ConfigVariable as a boolean type.
This is a convenience class to specialize ConfigVariable as a floating- point type.
This is a convenience class to specialize ConfigVariable as a string type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.