LCOV - code coverage report
Current view: top level - libreoffice/vcl/source/gdi - salnativewidgets-none.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 4 8 50.0 %
Date: 2012-12-27 Functions: 2 4 50.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             :  * 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             : 
      21             : #include <salgdi.hxx>
      22             : 
      23             : using ::rtl::OUString;
      24             : 
      25             : /****************************************************************
      26             :  *  Placeholder for no native widgets
      27             :  ***************************************************************/
      28             : 
      29             : 
      30             : /*
      31             :  * IsNativeControlSupported()
      32             :  *
      33             :  *  Returns sal_True if the platform supports native
      34             :  *  drawing of the control defined by nPart
      35             :  */
      36       37490 : sal_Bool SalGraphics::IsNativeControlSupported( ControlType, ControlPart )
      37             : {
      38       37490 :     return( sal_False );
      39             : }
      40             : 
      41             : 
      42             : /*
      43             :  * HitTestNativeControl()
      44             :  *
      45             :  *  If the return value is sal_True, bIsInside contains information whether
      46             :  *  aPos was or was not inside the native widget specified by the
      47             :  *  nType/nPart combination.
      48             :  */
      49           0 : sal_Bool SalGraphics::hitTestNativeControl( ControlType,
      50             :                               ControlPart,
      51             :                               const Rectangle&,
      52             :                               const Point&,
      53             :                               sal_Bool& )
      54             : {
      55           0 :     return( sal_False );
      56             : }
      57             : 
      58             : 
      59             : /*
      60             :  * DrawNativeControl()
      61             :  *
      62             :  *  Draws the requested control described by nPart/nState.
      63             :  *
      64             :  *  rControlRegion: The bounding region of the complete control in VCL frame coordinates.
      65             :  *  aValue:         An optional value (tristate/numerical/string)
      66             :  *  aCaption:   A caption or title string (like button text etc)
      67             :  */
      68           0 : sal_Bool SalGraphics::drawNativeControl(    ControlType,
      69             :                             ControlPart,
      70             :                             const Rectangle&,
      71             :                             ControlState,
      72             :                             const ImplControlValue&,
      73             :                             const OUString& )
      74             : {
      75           0 :     return( sal_False );
      76             : }
      77             : 
      78             : /*
      79             :  * GetNativeControlRegion()
      80             :  *
      81             :  *  If the return value is sal_True, rNativeBoundingRegion
      82             :  *  contains the sal_True bounding region covered by the control
      83             :  *  including any adornment, while rNativeContentRegion contains the area
      84             :  *  within the control that can be safely drawn into without drawing over
      85             :  *  the borders of the control.
      86             :  *
      87             :  *  rControlRegion: The bounding region of the control in VCL frame coordinates.
      88             :  *  aValue:     An optional value (tristate/numerical/string)
      89             :  *  aCaption:       A caption or title string (like button text etc)
      90             :  */
      91        4331 : sal_Bool SalGraphics::getNativeControlRegion(  ControlType,
      92             :                                 ControlPart,
      93             :                                 const Rectangle&,
      94             :                                 ControlState,
      95             :                                 const ImplControlValue&,
      96             :                                 const OUString&,
      97             :                                 Rectangle &,
      98             :                                 Rectangle & )
      99             : {
     100        4331 :     return( sal_False );
     101             : }
     102             : 
     103             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10