BWAPI
Classes | Defines | Functions | Variables
trunk/bwapi/BWAPI/Source/WMode.h File Reference
#include <windows.h>
#include "BW/Offsets.h"
Include dependency graph for WMode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BITMAPINFO256

Defines

#define WMODE_MIN_WIDTH   200
#define WMODE_MIN_HEIGHT   150
#define WMODE_SNAP_RANGE   20

Functions

BOOL WINAPI _GetCursorPos (LPPOINT lpPoint)
BOOL WINAPI _SetCursorPos (int X, int Y)
BOOL WINAPI _ClipCursor (const RECT *lpRect)
BOOL STORMAPI _SDrawLockSurface (int surfacenumber, RECT *lpDestRect, void **lplpSurface, int *lpPitch, int arg_unused)
BOOL STORMAPI _SDrawUnlockSurface (int surfacenumber, void *lpSurface, int a3, RECT *lpRect)
BOOL STORMAPI _SDrawUpdatePalette (unsigned int firstentry, unsigned int numentries, PALETTEENTRY *pPalEntries, int a4)
BOOL STORMAPI _SDrawRealizePalette ()
 BOOL (WINAPI *_GetCursorPosOld)(LPPOINT lpPoint)
 BOOL (STORMAPI *_SDrawLockSurfaceOld)(int surfacenumber
void InitializeWModeBitmap (int width, int height)
void GetBorderRect (HWND hWnd, LPRECT lpRect)
void GetBorderSize (HWND hWnd, LPSIZE lpSize)
LRESULT CALLBACK WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
void SetWMode (int width, int height, bool state)
void SetCursorShowState (bool bShow)

Variables

BITMAPINFO256 wmodebmp
int Y
RECT * lpDestRect
RECT void ** lplpSurface
RECT void intlpPitch
RECT void int int arg_unused
void * lpSurface
void int a3
void int RECT * lpRect
unsigned int numentries
unsigned int PALETTEENTRY * pPalEntries
unsigned int PALETTEENTRY int a4
WNDPROC wOriginalProc
HWND ghMainWnd
HDC hdcMem
void * pBits
RGBQUAD palette [256]
bool wmode
bool recordingUpdated
bool switchToWMode
RECT windowRect

Define Documentation

#define WMODE_MIN_HEIGHT   150
#define WMODE_MIN_WIDTH   200
#define WMODE_SNAP_RANGE   20

Function Documentation

BOOL WINAPI _ClipCursor ( const RECT *  lpRect)

Here is the caller graph for this function:

BOOL WINAPI _GetCursorPos ( LPPOINT  lpPoint)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL STORMAPI _SDrawLockSurface ( int  surfacenumber,
RECT *  lpDestRect,
void **  lplpSurface,
int lpPitch,
int  arg_unused 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL STORMAPI _SDrawRealizePalette ( )

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL STORMAPI _SDrawUnlockSurface ( int  surfacenumber,
void *  lpSurface,
int  a3,
RECT *  lpRect 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL STORMAPI _SDrawUpdatePalette ( unsigned int  firstentry,
unsigned int  numentries,
PALETTEENTRY *  pPalEntries,
int  a4 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL WINAPI _SetCursorPos ( int  X,
int  Y 
)

Here is the caller graph for this function:

BOOL ( WINAPI *  _GetCursorPosOld)
BOOL ( STORMAPI *  _SDrawLockSurfaceOld)
void GetBorderRect ( HWND  hWnd,
LPRECT  lpRect 
)

Here is the caller graph for this function:

void GetBorderSize ( HWND  hWnd,
LPSIZE  lpSize 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void InitializeWModeBitmap ( int  width,
int  height 
)

Here is the caller graph for this function:

void SetCursorShowState ( bool  bShow)

Here is the caller graph for this function:

void SetWMode ( int  width,
int  height,
bool  state 
)

Here is the call graph for this function:

Here is the caller graph for this function:

LRESULT CALLBACK WindowProc ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

void int a3
unsigned int PALETTEENTRY int a4
RECT void int int arg_unused
HDC hdcMem
RECT* lpDestRect
RECT void** lplpSurface
RECT void int* lpPitch
void int RECT* lpRect
void* lpSurface
unsigned int numentries
RGBQUAD palette[256]
void* pBits
unsigned int PALETTEENTRY* pPalEntries
RECT windowRect
bool wmode
WNDPROC wOriginalProc
int Y
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines