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

wintrack.cpp File Reference

#include <os2win.h>
#include <string.h>
#include "win32wbase.h"
#include "hook.h"
#include "pmwindow.h"

Include dependency graph for wintrack.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define ON_LEFT_BORDER(hit)   (((hit) == HTLEFT) || ((hit) == HTTOPLEFT) || ((hit) == HTBOTTOMLEFT))
#define ON_RIGHT_BORDER(hit)   (((hit) == HTRIGHT) || ((hit) == HTTOPRIGHT) || ((hit) == HTBOTTOMRIGHT))
#define ON_TOP_BORDER(hit)   (((hit) == HTTOP) || ((hit) == HTTOPLEFT) || ((hit) == HTTOPRIGHT))
#define ON_BOTTOM_BORDER(hit)   (((hit) == HTBOTTOM) || ((hit) == HTBOTTOMLEFT) || ((hit) == HTBOTTOMRIGHT))
#define RECT_WIDTH(a)   ((a)->right - (a)->left)
#define RECT_HEIGHT(a)   ((a)->bottom - (a)->top)
#define RECT_EQUAL(a, b)   (memcmp(a, b, sizeof(RECT)) == 0)


Define Documentation

#define ON_LEFT_BORDER hit       (((hit) == HTLEFT) || ((hit) == HTTOPLEFT) || ((hit) == HTBOTTOMLEFT))
 

Definition at line 26 of file wintrack.cpp.

#define ON_RIGHT_BORDER hit       (((hit) == HTRIGHT) || ((hit) == HTTOPRIGHT) || ((hit) == HTBOTTOMRIGHT))
 

Definition at line 28 of file wintrack.cpp.

#define ON_TOP_BORDER hit       (((hit) == HTTOP) || ((hit) == HTTOPLEFT) || ((hit) == HTTOPRIGHT))
 

Definition at line 30 of file wintrack.cpp.

#define ON_BOTTOM_BORDER hit       (((hit) == HTBOTTOM) || ((hit) == HTBOTTOMLEFT) || ((hit) == HTBOTTOMRIGHT))
 

Definition at line 32 of file wintrack.cpp.

#define RECT_WIDTH      ((a)->right - (a)->left)
 

Definition at line 35 of file wintrack.cpp.

#define RECT_HEIGHT      ((a)->bottom - (a)->top)
 

Definition at line 36 of file wintrack.cpp.

#define RECT_EQUAL a,
     (memcmp(a, b, sizeof(RECT)) == 0)
 

Definition at line 37 of file wintrack.cpp.


Generated on Wed Jan 23 23:22:02 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001