LCOV - code coverage report
Current view: top level - vcl/inc/opengl/x11 - salvd.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 4 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 4 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  */
       9             : 
      10             : #ifndef INCLUDED_VCL_INC_OPENGL_X11_SALVD_H
      11             : #define INCLUDED_VCL_INC_OPENGL_X11_SALVD_H
      12             : 
      13             : #include <prex.h>
      14             : #include <postx.h>
      15             : 
      16             : #include <unx/saltype.h>
      17             : #include <salvd.hxx>
      18             : 
      19             : class SalDisplay;
      20             : class X11OpenGLSalGraphics;
      21             : class X11SalGraphics;
      22             : 
      23             : class X11OpenGLSalVirtualDevice : public SalVirtualDevice
      24             : {
      25             :     SalDisplay       *mpDisplay;
      26             :     X11SalGraphics   *mpGraphics;
      27             :     bool              mbGraphics;         // is Graphics used
      28             :     SalX11Screen      mnXScreen;
      29             :     int               mnWidth;
      30             :     int               mnHeight;
      31             :     sal_uInt16        mnDepth;
      32             : 
      33             : public:
      34             :     X11OpenGLSalVirtualDevice( SalGraphics *pGraphics,
      35             :                                long &nDX, long &nDY,
      36             :                                sal_uInt16 nBitCount,
      37             :                                const SystemGraphicsData *pData );
      38             :     virtual ~X11OpenGLSalVirtualDevice();
      39             : 
      40             :     // SalGeometryProvider
      41           0 :     virtual long GetWidth() const SAL_OVERRIDE { return mnWidth; }
      42           0 :     virtual long GetHeight() const SAL_OVERRIDE { return mnHeight; }
      43             : 
      44           0 :     SalDisplay *            GetDisplay() const { return mpDisplay; }
      45             :     sal_uInt16              GetDepth() const { return mnDepth; }
      46           0 :     SalX11Screen            GetXScreenNumber() const { return mnXScreen; }
      47             : 
      48             :     virtual SalGraphics*    AcquireGraphics() SAL_OVERRIDE;
      49             :     virtual void            ReleaseGraphics( SalGraphics* pGraphics ) SAL_OVERRIDE;
      50             : 
      51             :                             // Set new size, without saving the old contents
      52             :     virtual bool            SetSize( long nNewDX, long nNewDY ) SAL_OVERRIDE;
      53             : };
      54             : 
      55             : #endif // INCLUDED_VCL_INC_OPENGL_X11_SALVD_H
      56             : 
      57             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11