diff options
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 |