diff options
Diffstat (limited to 'embedserv/source/embed/tracker.cxx')
-rw-r--r-- | embedserv/source/embed/tracker.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/embedserv/source/embed/tracker.cxx b/embedserv/source/embed/tracker.cxx index a4cd899b6de1..00260481c0a8 100644 --- a/embedserv/source/embed/tracker.cxx +++ b/embedserv/source/embed/tracker.cxx @@ -31,6 +31,7 @@ static HCURSOR afxCursors[10] = { nullptr, }; static HBRUSH afxHalftoneBrush = nullptr; +namespace { // the struct below is used to determine the qualities of a particular handle struct AFX_HANDLEINFO @@ -45,6 +46,8 @@ struct AFX_HANDLEINFO int nInvertY; // handle converts to this when Y inverted }; +} + // this array describes all 8 handles (clock-wise) const AFX_HANDLEINFO afxHandleInfo[] = { @@ -61,6 +64,8 @@ const AFX_HANDLEINFO afxHandleInfo[] = { offsetof(RECT, left), offsetof(RECT, top), 0, 1, 0, 0, 5, 7 } }; +namespace { + // the struct below gives us information on the layout of a RECT struct and // the relationship between its members struct AFX_RECTINFO @@ -69,6 +74,8 @@ struct AFX_RECTINFO int nSignAcross; // sign relative to that point (ie. add/subtract) }; +} + // this array is indexed by the offset of the RECT member / sizeof(int) const AFX_RECTINFO afxRectInfo[] = { |