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"));
97 static bool initialized =
false;
103 WinGraphicsPipe::init_type();
104 WinGraphicsWindow::init_type();
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a boolean type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void init_libwindisplay()
Initializes the library.