19 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_PANDAWIN)
20 #error Buildsystem error: BUILDING_PANDAWIN not defined
23 Configure(config_windisplay);
24 NotifyCategoryDef(windisplay,
"display");
26 ConfigureFn(config_windisplay) {
31 (
"responsive-minimized-fullscreen-window",
false);
34 (
"hold-keys-across-windows",
false,
35 PRC_DESC(
"Set this true to remember the current state of the keyboard while "
36 "the window focus is lost, or false to pretend the user is not "
37 "holding down any keys while the window focus is lost. In either "
38 "case it should accurately restore the correct keyboard state when "
39 "the window focus is regained."));
42 (
"do-vidmemsize-check",
true,
43 PRC_DESC(
"if true, use ddraw's GetAvailVidMem to fail if driver says "
44 "it has too little video mem"));
47 (
"auto-cpu-data",
false,
48 PRC_DESC(
"Set this true to automatically get the CPU data at start; false to "
49 "require an explicit call to pipe->lookup_cpu_data(). Setting this "
50 "true may slow down startup time by 1-2 seconds."));
54 PRC_DESC(
"Set this true to show ime texts on the chat panel and hide the "
55 "IME default windows. This is a mechanism to work around DX8/9 "
60 PRC_DESC(
"Set this true to hide ime windows."));
63 (
"request-dxdisplay-information",
false,
64 PRC_DESC(
"Setting this to true enables lumberingly slow and evil code at "
65 "start-up that creates a Direct3D window and subsequently fills up "
66 "up the video memory with dummy textures in order to find out how "
67 "much video memory there actually is. Leave this disabled unless "
68 "you have a specific need for this information and don't mind "
69 "having a slow start-up."));
73 PRC_DESC(
"The default behavior is for Panda3D to disable DPI-virtualization "
74 "that is introduced in Windows 8.1. Set this to false if you are "
75 "experiencing problems with this setting."));
78 (
"dpi-window-resize",
false,
79 PRC_DESC(
"Set this to true to let Panda3D resize the window according to the "
80 "DPI settings whenever the window is dragged to a monitor with "
81 "different DPI, or when the DPI setting is changed in the control "
82 "panel. Only available in Windows 8.1 and later, and requires "
83 "dpi-aware to be set as well."));
86 (
"swapbuffer-framelock",
false,
87 PRC_DESC(
"Set this true to enable HW swapbuffer frame-lock on 3dlabs cards"));
90 (
"paste-emit-keystrokes",
true,
91 PRC_DESC(
"Handle paste events (Ctrl-V) as separate keystroke events for each "
92 "pasted character."));
95 (
"disable-message-loop",
false,
96 PRC_DESC(
"If this is false, Panda will process messages from the Windows "
97 "message loop, which is required for normal operation. You may set "
98 "this to true if some other UI framework (such as Tcl/Tk) needs "
99 "exclusive ownership of the message loop."));
109 static bool initialized =
false;
115 WinGraphicsPipe::init_type();
116 WinGraphicsWindow::init_type();
This is a convenience class to specialize ConfigVariable as a boolean type.
void init_libwindisplay()
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.