|
| static int | mainXstart = sWidth / 400 |
| |
| static int | mainYstart = sWidth / 400 |
| |
| static int | mainWidth = (int) (sWidth * 0.8f) |
| |
| static int | mainHeight = sHeight / 20 |
| |
| static int | helpXstart = mainXstart + mainWidth |
| |
| static int | helpYstart = mainYstart |
| |
| static int | helpWidth = sWidth / 50 |
| |
| static int | helpHeight = mainHeight |
| |
| static int | exitXstart = helpXstart + helpWidth |
| |
| static int | exitYstart = mainYstart |
| |
| static int | exitWidth = sWidth / 12 |
| |
| static int | exitHeight = mainHeight |
| |
| static Rect | mainRect = new Rect (mainXstart, mainYstart, mainWidth, mainHeight) |
| |
| static Rect | helpRect = new Rect (helpXstart, helpYstart, helpWidth, helpHeight) |
| |
| static Rect | exitRect = new Rect (exitXstart, exitYstart, exitWidth, exitHeight) |
| |
| static int | fileBrowserWidth = sWidth / 3 |
| |
| static int | fileBrowserXstart = Screen.width - fileBrowserWidth |
| |
| static int | fileBrowserYstart = mainYstart + mainHeight |
| |
| static int | fileBrowserHeight = (int) (sHeight * 0.60f) |
| |
| static Rect | fileBrowserRect = new Rect(fileBrowserXstart, fileBrowserYstart, fileBrowserWidth, fileBrowserHeight) |
| |
| static int | atomScalesWidth = sWidth / 3 |
| |
| static int | atomScalesXstart = Screen.width - atomScalesWidth |
| |
| static int | atomScalesYstart = mainYstart |
| |
| static int | atomScalesHeight = (int) (sHeight * 0.5f) |
| |
| static Rect | atomScalesRect = new Rect (atomScalesXstart, atomScalesYstart, atomScalesWidth, atomScalesHeight) |
| |
| static Rect | panelsMenuRect = new Rect (atomScalesXstart, Screen.height/2, atomScalesWidth, atomScalesHeight/2) |
| |
| static int | openXstart = mainXstart |
| |
| static int | openYstart = mainYstart + mainHeight |
| |
| static int | openWidth = sWidth / 4 |
| |
| static int | openHeight = sHeight / 2 |
| |
| static Rect | openRect = new Rect(openXstart, openYstart, openWidth, openHeight) |
| |
| static int | atomMenuXstart = mainXstart |
| |
| static int | atomMenuYstart = mainYstart + mainHeight |
| |
| static int | atomMenuWidth = (int) (sWidth * 0.14f) |
| |
| static int | atomButtonWidth = (int) (Rectangles.atomMenuWidth * 0.45f) |
| |
| static int | atomMenuHeight = (int) (sHeight * 0.52f) |
| |
| static Rect | atomMenuRect = new Rect (atomMenuXstart, atomMenuYstart, atomMenuWidth, atomMenuHeight) |
| |
| static int | atomStyleXstart = mainXstart |
| |
| static int | atomStyleYstart = atomMenuYstart + atomMenuHeight |
| |
| static int | atomStyleWidth = atomMenuWidth |
| |
| static int | atomStyleHeight = (int) (sHeight / 6) |
| |
| static Rect | atomStyleRect = new Rect(atomStyleXstart, atomStyleYstart, atomStyleWidth, atomStyleHeight) |
| |
| static int | bondTypeXstart = mainXstart |
| |
| static int | bondTypeYstart = atomMenuYstart + atomMenuHeight |
| |
| static int | bondTypeWidth = atomMenuWidth |
| |
| static int | bondTypeHeight = sHeight / 5 |
| |
| static Rect | bondTypeRect = new Rect(bondTypeXstart, bondTypeYstart, bondTypeWidth, bondTypeHeight) |
| |
| static int | secStructMenuXstart = atomMenuXstart + atomMenuWidth |
| |
| static int | secStructMenuYstart = mainYstart + mainHeight |
| |
| static int | secStructMenuWidth = (int)(sWidth * 0.23f) |
| |
| static int | secStructMenuHeight = secStructMenuHeight = (int) (sHeight * 0.8f) |
| |
| static Rect | secStructMenuRect = new Rect(secStructMenuXstart, secStructMenuYstart, secStructMenuWidth, secStructMenuHeight) |
| |
| static int | surfaceMenuXstart = secStructMenuXstart + secStructMenuWidth |
| |
| static int | surfaceMenuYstart = mainYstart + mainHeight |
| |
| static int | surfaceMenuWidth = sWidth / 8 |
| |
| static int | surfaceMenuHeight = sHeight / 4 |
| |
| static Rect | surfaceMenuRect = new Rect(surfaceMenuXstart, surfaceMenuYstart, surfaceMenuWidth, surfaceMenuHeight) |
| |
| static int | surfaceParametersXstart = surfaceMenuXstart |
| |
| static int | surfaceParametersYstart = surfaceMenuYstart + surfaceMenuHeight |
| |
| static int | surfaceParametersWidth = surfaceMenuWidth |
| |
| static int | surfaceParametersHeight = (int)(sHeight * 0.50f) |
| |
| static Rect | surfaceParametersRect = new Rect(surfaceParametersXstart, surfaceParametersYstart, surfaceParametersWidth, surfaceParametersHeight) |
| |
| static int | hydroMenuXstart = surfaceMenuXstart + surfaceMenuWidth |
| |
| static int | hydroMenuYstart = surfaceMenuYstart + surfaceMenuHeight + 120 |
| |
| static int | hydroMenuWidth = surfaceMenuWidth + 30 |
| |
| static int | hydroMenuHeight = (int)(surfaceMenuHeight) |
| |
| static Rect | hydroMenuRect = new Rect (hydroMenuXstart, hydroMenuYstart, hydroMenuWidth, hydroMenuHeight) |
| |
| static int | surfaceCutXstart = surfaceParametersXstart |
| |
| static int | surfaceCutYstart = surfaceParametersYstart + surfaceParametersHeight |
| |
| static int | surfaceCutWidth = surfaceParametersWidth |
| |
| static int | surfaceCutHeight = (int) (sHeight * 0.32f) |
| |
| static Rect | surfaceCutRect = new Rect(surfaceCutXstart, surfaceCutYstart, surfaceCutWidth, surfaceCutHeight) |
| |
| static int | surfaceMobileCutXstart = surfaceCutXstart |
| |
| static int | surfaceMobileCutYstart = surfaceCutYstart |
| |
| static int | surfaceMobileCutWidth = surfaceCutWidth |
| |
| static int | surfaceMobileCutHeight = sHeight / 6 |
| |
| static Rect | surfaceMobileCutRect = new Rect(surfaceMobileCutXstart, surfaceMobileCutYstart, surfaceMobileCutWidth, surfaceMobileCutHeight) |
| |
| static int | moveCutPlaneWidth = (int)(sWidth * 0.18f) |
| |
| static int | moveCutPlaneXstart = Screen.width - moveCutPlaneWidth |
| |
| static int | moveCutPlaneYstart = mainYstart |
| |
| static int | moveCutPlaneHeight = moveCutPlaneWidth |
| |
| static Rect | movePlaneRect = new Rect(moveCutPlaneXstart, moveCutPlaneYstart, moveCutPlaneWidth, moveCutPlaneHeight) |
| |
| static int | electroMenuXstart = surfaceMenuXstart + surfaceMenuWidth |
| |
| static int | electroMenuYstart = mainYstart + mainHeight |
| |
| static int | electroMenuWidth = sWidth / 8 |
| |
| static int | electroMenuHeight = (int) (sHeight *0.36f) |
| |
| static Rect | electroMenuRect = new Rect (electroMenuXstart, electroMenuYstart, electroMenuWidth, electroMenuHeight) |
| |
| static int | fieldLinesXstart = electroMenuXstart |
| |
| static int | fieldLinesYstart = electroMenuYstart + electroMenuHeight |
| |
| static int | fieldLinesWidth = electroMenuWidth |
| |
| static int | fieldLinesHeight = (int) (sHeight *0.36f) |
| |
| static Rect | fieldLinesRect = new Rect (fieldLinesXstart, fieldLinesYstart, fieldLinesWidth, fieldLinesHeight) |
| |
| static int | manipulatorWidth = sWidth / 6 |
| |
| static int | manipulatorHeight = (int) (sHeight * 0.30f) |
| |
| static int | manipulatorXstart = Screen.width - manipulatorWidth |
| |
| static int | manipulatorYstart = Screen.height - manipulatorHeight |
| |
| static Rect | manipulatorRect = new Rect(manipulatorXstart, manipulatorYstart, manipulatorWidth, manipulatorHeight) |
| |
| static int | manipulatorMoveWidth = manipulatorWidth |
| |
| static int | manipulatorMoveXstart = Screen.width - manipulatorMoveWidth |
| |
| static Rect | manipulatorMoveRect = new Rect(manipulatorXstart, manipulatorMoveYstart, manipulatorWidth, manipulatorMoveHeight) |
| |
| static int | colorPickerWidth = 238 |
| |
| static int | colorPickerXstart = Screen.width - colorPickerWidth - atomScalesWidth |
| |
| static int | colorPickerYstart = mainYstart |
| |
| static int | colorPickerHeight = 284 |
| |
| static Rect | colorPickerRect = new Rect(colorPickerXstart, colorPickerYstart, colorPickerWidth, colorPickerHeight) |
| |
| static int | advOptXstart = electroMenuXstart + electroMenuWidth |
| |
| static int | advOptYstart = mainYstart + mainHeight |
| |
| static int | advOptWidth = sWidth / 4 |
| |
| static int | advOptHeight = (int) (sHeight *0.30f) |
| |
| static Rect | advOptionsRect = new Rect(advOptXstart, advOptYstart, advOptWidth, advOptHeight) |
| |
| static int | cubeLineBondTypeXstart = mainXstart |
| |
| static int | cubeLineBondTypeYstart = atomMenuYstart + atomMenuHeight |
| |
| static int | cubeLineBondTypeWidth = atomMenuWidth |
| |
| static int | cubeLineBondTypeHeight = sHeight / 8 |
| |
| static int | SugarMenuTypeXstart = atomMenuXstart+atomMenuWidth |
| |
| static int | SugarMenuTypeYstart = atomMenuYstart |
| |
| static int | SugarMenuTypeWidth = surfaceMenuWidth |
| |
| static int | SugarMenuTypeHeight = (int) (sHeight / 4) |
| |
| static Rect | SugarMenuRect = new Rect(SugarMenuTypeXstart, SugarMenuTypeYstart, SugarMenuTypeWidth, SugarMenuTypeHeight) |
| |
| static int | SugarRibbonsTuneXstart = SugarMenuTypeXstart |
| |
| static int | SugarRibbonsTuneYstart = SugarMenuTypeYstart + SugarMenuTypeHeight |
| |
| static int | SugarRibbonsTuneWidth = surfaceMenuWidth+75 |
| |
| static int | SugarRibbonsTuneHeight = (int) (sHeight / 1.45) |
| |
| static Rect | SugarRibbonsTuneRect = new Rect(SugarRibbonsTuneXstart, SugarRibbonsTuneYstart, SugarRibbonsTuneWidth, SugarRibbonsTuneHeight) |
| |
| static int | ColorTuneXstart = SugarMenuTypeXstart + SugarRibbonsTuneWidth |
| |
| static int | ColorTuneYstart = SugarRibbonsTuneYstart |
| |
| static int | ColorTuneWidth = surfaceMenuWidth |
| |
| static int | ColorTuneHeight = (int) (sHeight / 2) |
| |
| static Rect | ColorTuneRect = new Rect(ColorTuneXstart, ColorTuneYstart, ColorTuneWidth, ColorTuneHeight) |
| |
| static int | GuidedNavXstart = surfaceMenuXstart |
| |
| static int | GuidedNavYstart = surfaceMenuYstart + surfaceMenuHeight |
| |
| static int | GuidedNavWidth = surfaceMenuWidth |
| |
| static int | GuidedNavHeight = sHeight / 6 |
| |
| static Rect | GuidedNavRect = new Rect(GuidedNavXstart, GuidedNavYstart, GuidedNavWidth, GuidedNavHeight) |
| |
| static Rect | cubeLineBondRect = new Rect(cubeLineBondTypeXstart, cubeLineBondTypeYstart, cubeLineBondTypeWidth, cubeLineBondTypeHeight) |
| |
| static int | hyperballXstart = mainXstart |
| |
| static int | hyperballYstart = atomMenuYstart + atomMenuHeight |
| |
| static int | hyperballWidth = atomMenuWidth |
| |
| static int | hyperballHeight = (int) (sHeight * 0.45f) |
| |
| static Rect | hyperballRect = new Rect(hyperballXstart, hyperballYstart, hyperballWidth, hyperballHeight) |
| |
| static int | textureXstart = exitXstart + exitWidth |
| |
| static int | textureYstart = mainYstart + mainHeight |
| |
| static int | textureWidth = (int) (sWidth * 0.35f) |
| |
| static int | textureHeight = (int) (sHeight * 0.55f) |
| |
| static Rect | textureRect = new Rect (textureXstart, textureYstart, textureWidth, textureHeight) |
| |
| static int | metaphorXstart = atomMenuXstart + atomMenuWidth |
| |
| static int | metaphorYstart = atomMenuYstart + atomMenuHeight + 40 |
| |
| static int | metaphorWidth = sWidth / 8 |
| |
| static int | metaphorHeight = (int) (sHeight * 0.26f) |
| |
| static Rect | metaphorRect = new Rect(metaphorXstart, metaphorYstart, metaphorWidth, metaphorHeight) |
| |
| static int | effectTypeWidth = sWidth / 9 |
| |
| static int | effectTypeHeight = (int) (sHeight * 0.52f) |
| |
| static int | effectTypeXstart = Screen.width - effectTypeWidth |
| |
| static int | effectTypeYstart = manipulatorYstart - effectTypeHeight |
| |
| static Rect | effectTypeRect = new Rect(effectTypeXstart, effectTypeYstart, effectTypeWidth, effectTypeHeight) |
| |
| static int | backTypeWidth = sWidth / 6 |
| |
| static int | backTypeHeight = sHeight / 4 |
| |
| static int | backTypeXstart = manipulatorXstart + ( (manipulatorWidth - backTypeWidth) / 2) |
| |
| static int | backTypeYstart = manipulatorYstart - backTypeHeight |
| |
| static Rect | backTypeRect = new Rect(backTypeXstart, backTypeYstart, backTypeWidth, backTypeHeight) |
| |
| static int | webHelpXstart = 0 |
| |
| static int | webHelpHeight = (int) (Screen.height * 0.05f) |
| |
| static int | webHelpYstart = Screen.height - webHelpHeight |
| |
| static int | webHelpWidth = sWidth / 10 |
| |
| static Rect | expUIRect = new Rect(webHelpXstart, webHelpYstart - 90, webHelpWidth * 2, webHelpHeight) |
| |
| static Rect | webHelpRect = new Rect(webHelpXstart, webHelpYstart, webHelpWidth, webHelpHeight) |
| |
| static int | fpsInfosXstart = 0 |
| |
| static int | fpsInfosHeight = (int) (Screen.height * 0.05f) |
| |
| static int | fpsInfosYstart = (int) (Screen.height - webHelpHeight - fpsInfosHeight) |
| |
| static int | fpsInfosWidth = sWidth / 10 |
| |
| static Rect | fpsInfosRect = new Rect(fpsInfosXstart, fpsInfosYstart, fpsInfosWidth, fpsInfosHeight) |
| |
| static int | residuesMenuWidth = surfaceMenuWidth + 50 |
| |
| static int | residuesMenuXstart = Screen.width - atomScalesWidth - residuesMenuWidth |
| |
| static int | residuesMenuHeight = atomScalesHeight / 4 |
| |
| static int | residuesMenuYstart = atomScalesHeight / 2 |
| |
| static Rect | residuesMenuRect = new Rect(residuesMenuXstart, residuesMenuYstart, residuesMenuWidth, residuesMenuHeight) |
| |
| static Rect | atomsExtendedMenuRect = new Rect(residuesMenuXstart, residuesMenuYstart, residuesMenuWidth, residuesMenuHeight) |
| |
| static Rect | chainsMenuRect = new Rect(residuesMenuXstart, residuesMenuYstart, residuesMenuWidth, residuesMenuHeight) |
| |
| static int | artemisMenuXstart = surfaceMenuXstart / 2 |
| |
| static int | artemisMenuYstart = surfaceMenuYstart |
| |
| static int | artemisMenuWidth = surfaceMenuWidth + 50 |
| |
| static int | artemisMenuHeight = sHeight / 2 |
| |
| static Rect | artemisMenuRect = new Rect(artemisMenuXstart, artemisMenuYstart, artemisMenuWidth, artemisMenuHeight) |
| |
| static int | plotWidth = 273 |
| |
| static int | plotHeight = 273 |
| |
| static int | plotWindowWidth = 260 |
| |
| static int | plotWindowHeight = 290 |
| |
| static Rect | artemisTotalEnergyPlotWindowRect = new Rect(100, 100, plotWindowWidth, plotWindowHeight) |
| |
| static Rect | artemisHBondsEnergyPlotWindowRect = new Rect(100, 100, plotWindowWidth, plotWindowHeight) |
| |
| static Rect | artemisStackingEnergyPlotWindowRect = new Rect(100, 100, plotWindowWidth, plotWindowHeight) |
| |
| static Rect | artemisTotalEnergyPlotTextureRect = new Rect(5, 30, plotWidth, plotHeight) |
| |
| static Rect | artemisHBondsEnergyPlotTextureRect = new Rect(5, 30, plotWidth, plotHeight) |
| |
| static Rect | artemisStackingEnergyPlotTextureRect = new Rect(5, 30, plotWidth, plotHeight) |
| |
| static int | hirernaMenuXstart = exitXstart + exitWidth |
| |
| static int | hirernaMenuYstart = surfaceMenuYstart |
| |
| static int | hirernaMenuWidth = surfaceMenuWidth + 50 |
| |
| static int | hirernaMenuHeight = sHeight / 4 |
| |
| static Rect | hirernaMenuRect = new Rect(hirernaMenuXstart, hirernaMenuYstart, hirernaMenuWidth, hirernaMenuHeight) |
| |
| static int | webContestMenuXstart = surfaceMenuXstart |
| |
| static int | webContestMenuYstart = surfaceMenuYstart |
| |
| static int | webContestMenuWidth = surfaceMenuWidth + 50 |
| |
| static int | webContestMenuHeight = sHeight / 2 |
| |
| static Rect | webContestMenuRect = new Rect(webContestMenuXstart, webContestMenuYstart, webContestMenuWidth, webContestMenuHeight) |
| |
| static bool | onlyBestTextures = true |
| |
| static int | texture_set =0 |
| |
| static bool | HYPERBALLSDEFAULT = true |
| |
| static float | minOrthoSize = 1f |
| |
| static float | maxOrthoSize = 60f |
| |
| static float | orthoSize = 10f |
| |
| static bool | showOpenMenu = true |
| |
| static bool | showReactionMenu = false |
| |
| static bool | showAnimationMenu = false |
| |
| static bool | showAtomMenu = false |
| |
| static bool | showSetAtomScales = false |
| |
| static bool | showResiduesMenu = false |
| |
| static bool | showAtomsExtendedMenu = false |
| |
| static bool | showChainsMenu = false |
| |
| static bool | showPanelsMenu = false |
| |
| static bool | showArtemisMenu = false |
| |
| static bool | showHiRERNAMenu = false |
| |
| static bool | showWebContestMenu = false |
| |
| static bool | showTestMenu = false |
| |
| static bool | toggle_HELP = false |
| |
| static bool | toggle_INFOS = true |
| |
| static bool | toggle_VE_COPYR = true |
| |
| static bool | toggle_HB_SANIM = false |
| |
| static float | hb_sanim = 0.7f |
| |
| static float | hb_ssign = 1.0f |
| |
| static bool | toggle_HB_RANIM = false |
| |
| static float | hb_ranim = 0.4f |
| |
| static float | hb_rsign = 1.0f |
| |
| static float | depthfactor = -1.0f |
| |
| static float | drag = 0.6f |
| |
| static float | spring = 5 |
| |
| static float | fov_angle = 60f |
| |
| static float | previous_angle = 60f |
| |
| static bool | toggle_HB_TRANS = true |
| |
| static bool | toggle_NA_INTERACTIVE = false |
| |
| static bool | toggle_NA_HIDE = false |
| |
| static bool | toggle_NA_SWITCH = false |
| |
| static bool | toggle_NA_HBALLSMOOTH = false |
| |
| static bool | LOD_INITIALIZED = false |
| |
| static bool | toggle_NA_MEASURE = false |
| |
| static bool | toggle_NA_CLICK = false |
| |
| static bool | toggle_NA_MAXCAM = true |
| |
| static bool | toggle_NA_AUTOMOVE = false |
| |
| static bool | toggle_NA_CAMLOCK = false |
| |
| static bool | toggle_LIGHTCAM = false |
| |
| static bool | toggle_MESHCOMBINE = false |
| |
| static GameObject | scenecontroller = null |
| |
| static Molecule3D | Molecule3DComp = null |
| |
| static bool | toggle_DISTANCE_CUEING = false |
| |
| static bool | toggle_HIDE_HYDROGEN =false |
| |
| static bool | distanceCueingEnabled = false |
| |
| static bool | toggle_IMD = false |
| |
| static bool | toggleIMDTotalEnergy = false |
| |
| static bool | toggleIMDHBondsEnergy = false |
| |
| static bool | toggleIMDStackingEnergy = false |
| |
| static bool | showGrayColor = false |
| |
| static bool | showSurfaceButton = false |
| |
| static bool | FileBrowser_show = false |
| |
| static bool | FileBrowser_show2 = false |
| |
| static ImprovedFileBrowser | m_fileBrowser |
| |
| static string | m_textPath |
| |
| static Camera | mainCamera |
| |
| static float | backgroundColorRed = 0.0f |
| |
| static float | backgroundColorGreen = 0.0f |
| |
| static float | backgroundColorBlue = 0.0f |
| |
| static ColorObject | BackgroundColor = new ColorObject(Color.black) |
| |
| static ColorPicker | m_colorPicker = null |
| |
| static Material | electricsymbol = (Material)Resources.Load ("Materials/electricparticle") |
| |