paintmap.c File Reference

Go to the source code of this file.

Defines

#define DESELECTED   0
#define SELECTED   1
#define MAXTEXT   256
#define BOUND(x, min, max)   ((x) < (min) ? (min) : ((x) > (max) ? (max) : (x)))
#define SWAP(x, y)   ((x)^=(y)^=(x)^=(y))
#define MIN(x, y)   (((x) <= (y)) : x ? y)
#define StartWait()   hcurSave = SetCursor(LoadCursor(NULL,IDC_WAIT))
#define EndWait()   SetCursor(hcurSave)
#define NMENUHELPDATA   16

Typedefs

typedef struct tagMENUHELPDATA MENUHELPDATA

Functions

BOOL WINAPI DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
BOOL _PaintMap (HWND parent_window, HWND info_window, unsigned char *pix, long w, long h, long mapID, X__STRUCTURE *lpX__in)


Define Documentation

#define DESELECTED   0

Definition at line 30 of file paintmap.c.

#define SELECTED   1

Definition at line 31 of file paintmap.c.

#define MAXTEXT   256

Definition at line 33 of file paintmap.c.

#define BOUND ( x,
min,
max   )     ((x) < (min) ? (min) : ((x) > (max) ? (max) : (x)))

Definition at line 40 of file paintmap.c.

#define SWAP ( x,
y   )     ((x)^=(y)^=(x)^=(y))

Definition at line 41 of file paintmap.c.

#define MIN ( x,
y   )     (((x) <= (y)) : x ? y)

Definition at line 42 of file paintmap.c.

 
#define StartWait (  )     hcurSave = SetCursor(LoadCursor(NULL,IDC_WAIT))

Definition at line 43 of file paintmap.c.

 
#define EndWait (  )     SetCursor(hcurSave)

Definition at line 44 of file paintmap.c.

#define NMENUHELPDATA   16

Definition at line 66 of file paintmap.c.


Typedef Documentation

typedef struct tagMENUHELPDATA MENUHELPDATA


Function Documentation

BOOL WINAPI DllMain ( HANDLE  hDLL,
DWORD  dwReason,
LPVOID  lpReserved 
)

Definition at line 921 of file paintmap.c.

References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, hThisInstance, and TRUE.

BOOL _PaintMap ( HWND  parent_window,
HWND  info_window,
unsigned char *  pix,
long  w,
long  h,
long  mapID,
X__STRUCTURE lpX__in 
)

Definition at line 946 of file paintmap.c.

References iMap, L, and Viewer().


Generated on Sun Apr 27 14:20:16 2014 for OpenFX by  doxygen 1.5.6