diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-27 23:11:17 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-27 23:11:17 +1100 |
commit | 03187ebf1d25dfbed909ac8c980ca29c01491fbf (patch) | |
tree | 9c53628a81e0cc83ee52256ca03695a2034d7301 /vcl/inc/salgeom.hxx | |
parent | 9925881003cb4f8055e32e23e51feb7fbef751f8 (diff) |
vcl: change SalFrameGeometry from typedef struct to struct
Change-Id: I3d5d1a07c0ec088600e55dc557ccc5e698dcf649
Diffstat (limited to 'vcl/inc/salgeom.hxx')
-rw-r--r-- | vcl/inc/salgeom.hxx | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/vcl/inc/salgeom.hxx b/vcl/inc/salgeom.hxx index d54c58a0ee98..0321e99ab368 100644 --- a/vcl/inc/salgeom.hxx +++ b/vcl/inc/salgeom.hxx @@ -22,7 +22,7 @@ #include <vcl/dllapi.h> -typedef struct _SalFrameGeometry { +struct SalFrameGeometry { // screen position of upper left corner of drawable area in pixel long nX, nY; // dimensions of the drawable area in pixel @@ -34,13 +34,18 @@ typedef struct _SalFrameGeometry { nBottomDecoration; unsigned int nDisplayScreenNumber; - _SalFrameGeometry() : - nX( 0 ), nY( 0 ), nWidth( 1 ), nHeight( 1 ), - nLeftDecoration( 0 ), nTopDecoration( 0 ), - nRightDecoration( 0 ), nBottomDecoration( 0 ), - nDisplayScreenNumber( 0 ) + SalFrameGeometry() : + nX( 0 ), + nY( 0 ), + nWidth( 1 ), + nHeight( 1 ), + nLeftDecoration( 0 ), + nTopDecoration( 0 ), + nRightDecoration( 0 ), + nBottomDecoration( 0 ), + nDisplayScreenNumber( 0 ) {} -} SalFrameGeometry; +}; /// Interface used to share logic on sizing between /// SalVirtualDevices and SalFrames |