ReactOS  0.4.15-dev-4853-g3a72a52
textedit.cpp File Reference
#include "precomp.h"
Include dependency graph for textedit.cpp:

Go to the source code of this file.

Macros

#define CXY_GRIP   3
 
#define X0   rc.left
 
#define X1   ((rc.left + rc.right - CXY_GRIP) / 2)
 
#define X2   (rc.right - CXY_GRIP)
 
#define Y0   rc.top
 
#define Y1   ((rc.top + rc.bottom - CXY_GRIP) / 2)
 
#define Y2   (rc.bottom - CXY_GRIP)
 
#define RECT0   X0, Y0, X0 + CXY_GRIP, Y0 + CXY_GRIP
 
#define RECT1   X1, Y0, X1 + CXY_GRIP, Y0 + CXY_GRIP
 
#define RECT2   X2, Y0, X2 + CXY_GRIP, Y0 + CXY_GRIP
 
#define RECT3   X0, Y1, X0 + CXY_GRIP, Y1 + CXY_GRIP
 
#define RECT4   X2, Y1, X2 + CXY_GRIP, Y1 + CXY_GRIP
 
#define RECT5   X0, Y2, X0 + CXY_GRIP, Y2 + CXY_GRIP
 
#define RECT6   X1, Y2, X1 + CXY_GRIP, Y2 + CXY_GRIP
 
#define RECT7   X2, Y2, X2 + CXY_GRIP, Y2 + CXY_GRIP
 

Macro Definition Documentation

◆ CXY_GRIP

#define CXY_GRIP   3

Definition at line 13 of file textedit.cpp.

◆ RECT0

#define RECT0   X0, Y0, X0 + CXY_GRIP, Y0 + CXY_GRIP

Definition at line 28 of file textedit.cpp.

◆ RECT1

#define RECT1   X1, Y0, X1 + CXY_GRIP, Y0 + CXY_GRIP

Definition at line 29 of file textedit.cpp.

◆ RECT2

#define RECT2   X2, Y0, X2 + CXY_GRIP, Y0 + CXY_GRIP

Definition at line 30 of file textedit.cpp.

◆ RECT3

#define RECT3   X0, Y1, X0 + CXY_GRIP, Y1 + CXY_GRIP

Definition at line 31 of file textedit.cpp.

◆ RECT4

#define RECT4   X2, Y1, X2 + CXY_GRIP, Y1 + CXY_GRIP

Definition at line 32 of file textedit.cpp.

◆ RECT5

#define RECT5   X0, Y2, X0 + CXY_GRIP, Y2 + CXY_GRIP

Definition at line 33 of file textedit.cpp.

◆ RECT6

#define RECT6   X1, Y2, X1 + CXY_GRIP, Y2 + CXY_GRIP

Definition at line 34 of file textedit.cpp.

◆ RECT7

#define RECT7   X2, Y2, X2 + CXY_GRIP, Y2 + CXY_GRIP

Definition at line 35 of file textedit.cpp.

◆ X0

#define X0   rc.left

Definition at line 22 of file textedit.cpp.

◆ X1

#define X1   ((rc.left + rc.right - CXY_GRIP) / 2)

Definition at line 23 of file textedit.cpp.

◆ X2

#define X2   (rc.right - CXY_GRIP)

Definition at line 24 of file textedit.cpp.

◆ Y0

#define Y0   rc.top

Definition at line 25 of file textedit.cpp.

◆ Y1

#define Y1   ((rc.top + rc.bottom - CXY_GRIP) / 2)

Definition at line 26 of file textedit.cpp.

◆ Y2

#define Y2   (rc.bottom - CXY_GRIP)

Definition at line 27 of file textedit.cpp.