LCOV - code coverage report
Current view: top level - vcl/source/gdi - impanmvw.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 6 0.0 %
Date: 2012-08-25 Functions: 0 6 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     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                 :            :  * This file incorporates work covered by the following license notice:
      10                 :            :  *
      11                 :            :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12                 :            :  *   contributor license agreements. See the NOTICE file distributed
      13                 :            :  *   with this work for additional information regarding copyright
      14                 :            :  *   ownership. The ASF licenses this file to you under the Apache
      15                 :            :  *   License, Version 2.0 (the "License"); you may not use this file
      16                 :            :  *   except in compliance with the License. You may obtain a copy of
      17                 :            :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18                 :            :  */
      19                 :            : 
      20                 :            : #ifndef _SV_IMPANMVW_HXX
      21                 :            : #define _SV_IMPANMVW_HXX
      22                 :            : 
      23                 :            : #include <vcl/animate.hxx>
      24                 :            : 
      25                 :            : // ----------------
      26                 :            : // - ImplAnimView -
      27                 :            : // ----------------
      28                 :            : 
      29                 :            : class Animation;
      30                 :            : class OutputDevice;
      31                 :            : class VirtualDevice;
      32                 :            : struct AnimationBitmap;
      33                 :            : 
      34                 :            : class ImplAnimView
      35                 :            : {
      36                 :            : private:
      37                 :            : 
      38                 :            :     Animation*      mpParent;
      39                 :            :     OutputDevice*   mpOut;
      40                 :            :     long            mnExtraData;
      41                 :            :     Point           maPt;
      42                 :            :     Point           maDispPt;
      43                 :            :     Point           maRestPt;
      44                 :            :     Size            maSz;
      45                 :            :     Size            maSzPix;
      46                 :            :     Size            maDispSz;
      47                 :            :     Size            maRestSz;
      48                 :            :     MapMode         maMap;
      49                 :            :     Region          maClip;
      50                 :            :     VirtualDevice*  mpBackground;
      51                 :            :     VirtualDevice*  mpRestore;
      52                 :            :     sal_uLong           mnActPos;
      53                 :            :     Disposal        meLastDisposal;
      54                 :            :     sal_Bool            mbPause;
      55                 :            :     sal_Bool            mbMarked;
      56                 :            :     sal_Bool            mbHMirr;
      57                 :            :     sal_Bool            mbVMirr;
      58                 :            : 
      59                 :            :     void            ImplGetPosSize( const AnimationBitmap& rAnm, Point& rPosPix, Size& rSizePix );
      60                 :            :     void            ImplDraw( sal_uLong nPos, VirtualDevice* pVDev );
      61                 :            : 
      62                 :            : public:
      63                 :            : 
      64                 :            :                     ImplAnimView( Animation* pParent, OutputDevice* pOut,
      65                 :            :                                   const Point& rPt, const Size& rSz, sal_uLong nExtraData,
      66                 :            :                                   OutputDevice* pFirstFrameOutDev = NULL );
      67                 :            :                     ~ImplAnimView();
      68                 :            : 
      69                 :            :     sal_Bool            ImplMatches( OutputDevice* pOut, long nExtraData ) const;
      70                 :            :     void            ImplDrawToPos( sal_uLong nPos );
      71                 :            :     void            ImplDraw( sal_uLong nPos );
      72                 :            :     void            ImplRepaint();
      73                 :            :     AInfo*          ImplCreateAInfo() const;
      74                 :            : 
      75                 :          0 :     const Point&    ImplGetOutPos() const { return maPt; }
      76                 :            : 
      77                 :            :     const Size&     ImplGetOutSize() const { return maSz; }
      78                 :          0 :     const Size&     ImplGetOutSizePix() const { return maSzPix; }
      79                 :            : 
      80                 :          0 :     void            ImplPause( sal_Bool bPause ) { mbPause = bPause; }
      81                 :          0 :     sal_Bool            ImplIsPause() const { return mbPause; }
      82                 :            : 
      83                 :          0 :     void            ImplSetMarked( sal_Bool bMarked ) { mbMarked = bMarked; }
      84                 :          0 :     sal_Bool            ImplIsMarked() const { return mbMarked; }
      85                 :            : };
      86                 :            : 
      87                 :            : #endif
      88                 :            : 
      89                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10