File: PyMOLOptions.h

package info (click to toggle)
pymol 2.5.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 42,288 kB
  • sloc: cpp: 476,472; python: 76,538; ansic: 29,510; javascript: 6,792; sh: 47; makefile: 24
file content (67 lines) | stat: -rw-r--r-- 2,040 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67


/* 
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