mirror of
https://github.com/schrodinger/pymol-open-source.git
synced 2026-06-04 20:04:21 +08:00
Porting the essential parts of EPAM System's "openvr" branch to the master branch. Original authors: Natalia Smirnova, EPAM Systems, Inc. Pavel Smirnov, EPAM Systems, Inc. Original fork: https://github.com/epam/pymol-open-source/tree/openvr Adjustments: - Make feature optional with "--openvr" compile option - Python 3 support - Remove C++11 workarounds - Exclude build system changes Co-authored-by: Natalia Smirnova <Natalia_Smirnova@epam.com> Co-authored-by: Pavel Smirnov <pavel_smirnov1@epam.com>
68 lines
2.0 KiB
C
68 lines
2.0 KiB
C
|
|
|
|
/*
|
|
A* -------------------------------------------------------------------
|
|
B* This file contains source code for the PyMOL computer program
|
|
C* Copyright (c) Schrodinger, LLC.
|
|
D* -------------------------------------------------------------------
|
|
E* It is unlawful to modify or remove this copyright notice.
|
|
F* -------------------------------------------------------------------
|
|
G* Please see the accompanying LICENSE file for further information.
|
|
H* -------------------------------------------------------------------
|
|
I* Additional authors of this source file include:
|
|
-*
|
|
-*
|
|
-*
|
|
Z* -------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef _H_PyMOLOptions
|
|
#define _H_PyMOLOptions
|
|
|
|
#define PYMOL_MAX_OPT_STR 1025
|
|
|
|
struct _CPyMOLOptions {
|
|
int pmgui, internal_gui, show_splash, internal_feedback, security, game_mode, force_stereo, /* 1 = force stereo (if possible); -1 = force mono; 0 = autodetect */
|
|
|
|
winX,
|
|
winY,
|
|
blue_line,
|
|
winPX,
|
|
winPY,
|
|
external_gui,
|
|
siginthand,
|
|
reuse_helper, auto_reinitialize, keep_thread_alive, quiet, incentive_product;
|
|
|
|
char after_load_script[PYMOL_MAX_OPT_STR];
|
|
|
|
int multisample,
|
|
window_visible,
|
|
read_stdin,
|
|
presentation,
|
|
defer_builds_mode,
|
|
full_screen,
|
|
sphere_mode,
|
|
stereo_capable, // for informing PyMOL as to the capabilities of the context */
|
|
stereo_mode,
|
|
zoom_mode, // set "auto_zoom" setting
|
|
launch_status,
|
|
no_quit; // prevent any action from quitting or killing PyMOL
|
|
|
|
bool gldebug; // enables GL debugging
|
|
|
|
/* WARNING: for the sake of forward compability, never delete or
|
|
move any fields in the above ...initialization struct in PyMOL.c */
|
|
|
|
bool openvr_stub;
|
|
|
|
/* WARNING: don't add, delete, or change item order unless you also update
|
|
PyMOL.c "CPyMOLOptions Defaults"where this global structure is initialized */
|
|
};
|
|
|
|
#ifndef CPyMOLOptions_DEFINED
|
|
typedef struct _CPyMOLOptions CPyMOLOptions;
|
|
#define CPyMOLOptions_DEFINED
|
|
#endif
|
|
|
|
#endif
|