Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Win32OpenGLDisplayDevice.C File Reference

#include <windows.h>
#include <winuser.h>
#include "VMDApp.h"
#include "OpenGLDisplayDevice.h"
#include "Inform.h"
#include "utilities.h"
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <GL/gl.h>
#include "../msvc/winvmd/res/resource.h"
#include <GL/glext.h>
#include <GL/wglext.h>

Go to the source code of this file.

Defines

#define _WIN32_WINNT   0x0400

Functions

LONG WINAPI vmdWindowProc (HWND, UINT, WPARAM, LPARAM)
int OpenWin32Connection (wgldata *glwsrv)
int PFDHasStereo (int ID, HDC hDC)
HGLRC SetupOpenGL (wgldata *glwsrv)
int myCreateWindow (wgldata *glwsrv, int xpos, int ypos, int xs, int ys)
void vmd_transwin32mouse (OpenGLDisplayDevice *d, LPARAM l)

Variables

const char * glStereoNameStr [OPENGL_STEREO_MODES]
const char * glRenderNameStr [OPENGL_RENDER_MODES]
const char * glCacheNameStr [OPENGL_CACHE_MODES]
char szAppName [] = "VMD"
char szAppTitle [] = "VMD " VMDVERSION " OpenGL Display"
OpenGLDisplayDeviceogldispdev


Define Documentation

#define _WIN32_WINNT   0x0400
 

Definition at line 25 of file Win32OpenGLDisplayDevice.C.


Function Documentation

int myCreateWindow wgldata *    glwsrv,
int    xpos,
int    ypos,
int    xs,
int    ys
[static]
 

Definition at line 238 of file Win32OpenGLDisplayDevice.C.

References NULL, szAppName, and szAppTitle.

int OpenWin32Connection wgldata *    glwsrv [static]
 

Definition at line 80 of file Win32OpenGLDisplayDevice.C.

References NULL, szAppName, and vmdWindowProc.

int PFDHasStereo int    ID,
HDC    hDC
[static]
 

Definition at line 111 of file Win32OpenGLDisplayDevice.C.

Referenced by SetupOpenGL.

HGLRC SetupOpenGL wgldata *    glwsrv [static]
 

Definition at line 183 of file Win32OpenGLDisplayDevice.C.

References NULL, and PFDHasStereo.

Referenced by vmdWindowProc.

void vmd_transwin32mouse OpenGLDisplayDevice   d,
LPARAM    l
[static]
 

Definition at line 272 of file Win32OpenGLDisplayDevice.C.

References DisplayDevice::ySize.

Referenced by vmdWindowProc.

LONG WINAPI vmdWindowProc HWND   ,
UINT   ,
WPARAM   ,
LPARAM   
 

Definition at line 358 of file Win32OpenGLDisplayDevice.C.

References VMDApp::molecule_load, NULL, OpenGLDisplayDevice::reshape, OpenGLDisplayDevice::set_cursor, SetupOpenGL, vmd_transwin32mouse, OpenGLDisplayDevice::vmdapp, DisplayDevice::xSize, and DisplayDevice::ySize.

Referenced by OpenWin32Connection.


Variable Documentation

const char* glCacheNameStr[OPENGL_CACHE_MODES] [static]
 

Initial value:

 
{ "Off",
  "On" }

Definition at line 70 of file Win32OpenGLDisplayDevice.C.

const char* glRenderNameStr[OPENGL_RENDER_MODES] [static]
 

Initial value:

{ "Normal",
  "AlphaBlend",
  "GLSL",
  "Acrobat3D" }

Definition at line 64 of file Win32OpenGLDisplayDevice.C.

const char* glStereoNameStr[OPENGL_STEREO_MODES] [static]
 

Initial value:

 
 { "Off", 
   "CrystalEyes", 
   "CrystalEyesReversed", 
   "DTI SideBySide",
   "Scanline Interleaved",
   "Anaglyph",
   "CrossEyes", 
   "SideBySide", 
   "AboveBelow",
   "Left", 
   "Right" }

Definition at line 51 of file Win32OpenGLDisplayDevice.C.

OpenGLDisplayDevice* ogldispdev [static]
 

Definition at line 76 of file Win32OpenGLDisplayDevice.C.

char szAppName[] = "VMD" [static]
 

Definition at line 74 of file Win32OpenGLDisplayDevice.C.

Referenced by myCreateWindow, and OpenWin32Connection.

char szAppTitle[] = "VMD " VMDVERSION " OpenGL Display" [static]
 

Definition at line 75 of file Win32OpenGLDisplayDevice.C.

Referenced by myCreateWindow.


Generated on Thu Jul 24 01:27:55 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002