21#if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_PANDAX11)
22 #error Buildsystem error: BUILDING_PANDAX11 not defined
25Configure(config_x11display);
26NotifyCategoryDef(x11display,
"display");
28ConfigureFn(config_x11display) {
34 PRC_DESC(
"Specify the X display string for the default display. If this "
35 "is not specified, $DISPLAY is used."));
38(
"x-error-abort",
false,
39 PRC_DESC(
"Set this true to trigger and abort (and a stack trace) on receipt "
40 "of an error from the X window system. This can make it easier "
41 "to discover where these errors are generated."));
44(
"x-init-threads",
false,
45 PRC_DESC(
"Set this true to ask Panda3D to call XInitThreads() upon loading "
46 "the display module, which may help with some threading issues."));
49(
"x-wheel-up-button", 4,
50 PRC_DESC(
"This is the mouse button index of the wheel_up event: which "
51 "mouse button number does the system report when the mouse wheel "
52 "is rolled one notch up?"));
55(
"x-wheel-down-button", 5,
56 PRC_DESC(
"This is the mouse button index of the wheel_down event: which "
57 "mouse button number does the system report when the mouse wheel "
58 "is rolled one notch down?"));
61(
"x-wheel-left-button", 6,
62 PRC_DESC(
"This is the mouse button index of the wheel_left event: which "
63 "mouse button number does the system report when one scrolls "
67(
"x-wheel-right-button", 7,
68 PRC_DESC(
"This is the mouse button index of the wheel_right event: which "
69 "mouse button number does the system report when one scrolls "
74 PRC_DESC(
"This sets the cursor size when using XCursor to change the mouse "
75 "cursor. The default is to use the default size for the display."));
78(
"x-wm-class-name",
"",
79 PRC_DESC(
"Specify the value to use for the res_name field of the window's "
80 "WM_CLASS property. Has no effect when x-wm-class is not set."));
84 PRC_DESC(
"Specify the value to use for the res_class field of the window's "
85 "WM_CLASS property."));
95 static bool initialized =
false;
101 x11GraphicsPipe::init_type();
102 x11GraphicsWindow::init_type();
This is a convenience class to specialize ConfigVariable as a boolean type.
This is a convenience class to specialize ConfigVariable as an integer type.
This is a convenience class to specialize ConfigVariable as a string type.
void init_libx11display()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.