Panda3D

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
23 Configure(config_framework);
24 NotifyCategoryDef(framework, "");
25
26 ConfigVariableDouble aspect_ratio
27 ("aspect-ratio", 0.0);
28 ConfigVariableBool show_frame_rate_meter
29 ("show-frame-rate-meter", false);
30 ConfigVariableBool show_scene_graph_analyzer_meter
31 ("show-scene-graph-analyzer-meter", false);
32 ConfigVariableBool print_pipe_types
33 ("print-pipe-types", true);
34 ConfigVariableString window_type
35 ("window-type", "onscreen");
36
37 ConfigVariableString record_session
38 ("record-session", "");
39 ConfigVariableString playback_session
40 ("playback-session", "");
41
42
43 ConfigureFn(config_framework) {
44 WindowFramework::init_type();
45 }
ConfigVariableBool
This is a convenience class to specialize ConfigVariable as a boolean type.
Definition: configVariableBool.h:23
ConfigVariableDouble
This is a convenience class to specialize ConfigVariable as a floating- point type.
Definition: configVariableDouble.h:24
ConfigVariableString
This is a convenience class to specialize ConfigVariable as a string type.
Definition: configVariableString.h:23
config_framework.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
dconfig.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
windowFramework.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.