blob: 8711e8ea3b097eaff116e103c4ad3ef420039cea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
VCL positioning
Window coordinates are parent relative, with exception of maState fields, they
have screen coordinates.
Every window has a parent window, usually the client area of an existing window,
otherwise the desktop window.
When a window is to be sized/moved, SetPosSize is called.
Since coordinates are the position/size of client area, we need to calculate
current window frame size/position and map to screen coordinates using the
owner window position as offset.
|