WindowDevice.cpp File Reference

#include "WindowDevice.h"
#include <OPS_Globals.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Functions

LONG WINAPI WndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
int oglSetPixelFormat (HDC hDC, BYTE type, DWORD flags)
HWND oglCreateWindow (char *title, int x, int y, int width, int height, HGLRC *hRC, HDC *hDC)
int oglDestroyWindow (char *title, HWND hWnd, HGLRC hRC, HDC hDC)
int oglCreateBitmap (int width, int height, HGLRC *hRC, HDC *hDC, HBITMAP *theBitmap, BITMAPINFO *info, GLubyte **bits)
int oglDestroyBitmap (HBITMAP *theBitmap, HGLRC hRC, HDC hDC)


Function Documentation

int oglCreateBitmap ( int  width,
int  height,
HGLRC *  hRC,
HDC *  hDC,
HBITMAP *  theBitmap,
BITMAPINFO *  info,
GLubyte **  bits 
)

Definition at line 232 of file WindowDevice.cpp.

References exit(), and oglSetPixelFormat().

HWND oglCreateWindow ( char *  title,
int  x,
int  y,
int  width,
int  height,
HGLRC *  hRC,
HDC *  hDC 
)

Definition at line 120 of file WindowDevice.cpp.

References exit(), oglSetPixelFormat(), and WndProc().

Referenced by WindowDevice::WINOPEN(), and OpenGlDevice::WINOPEN().

int oglDestroyBitmap ( HBITMAP *  theBitmap,
HGLRC  hRC,
HDC  hDC 
)

Definition at line 282 of file WindowDevice.cpp.

int oglDestroyWindow ( char *  title,
HWND  hWnd,
HGLRC  hRC,
HDC  hDC 
)

int oglSetPixelFormat ( HDC  hDC,
BYTE  type,
DWORD  flags 
)

Definition at line 78 of file WindowDevice.cpp.

References FALSE.

Referenced by oglCreateBitmap(), and oglCreateWindow().

LONG WINAPI WndProc ( HWND  hWnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 49 of file WindowDevice.cpp.

Referenced by oglCreateWindow().

Generated on Mon Oct 23 15:05:35 2006 for OpenSees by doxygen 1.5.0