This file is indexed.

/usr/include/Wt/WShadow is in libwt-dev 3.3.3+dfsg-4.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
// This may look like C code, but it's really -*- C++ -*-
/*
 * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
 *
 * See the LICENSE file for terms of use.
 */
#ifndef WSHADOW_H_
#define WSHADOW_H_

#include <Wt/WColor>

namespace Wt {

/*! \class WShadow Wt/WShadow Wt/WShadow
 *  \brief A value class that defines a shadow style
 *
 * \sa WPainter::setShadow()
 *
 * \ingroup painting
 */
class WT_API WShadow
{
public:
  /*! \brief Default constructor.
   *
   * Constructs a disabled shadow effect (offsetX = offsetY = blur = 0)
   */
  WShadow();

  /*! \brief Constructs a shadow with given offset and color.
   */
  WShadow(double dx, double dy, const WColor& color, double blur);

#ifdef WT_TARGET_JAVA
    /*! \brief Clone method.
   *
   * Clones this shadow.
   */
  WShadow clone() const;
#endif

  /*! \brief Comparison operator.
   *
   * Returns \c true if the shadows are exactly the same.
   */
  bool operator==(const WShadow& other) const;

  /*! \brief Comparison operator.
   *
   * Returns \c true if the shadows are different.
   */
  bool operator!=(const WShadow& other) const;

  /*! \brief Returns whether the shadow effect is nihil.
   */
  bool none() const;

  /*! \brief Sets the shadow offset.
   */
  void setOffsets(double dx, double dy);

  /*! \brief Returns the shadow X offset.
   *
   * \sa setOffsets()
   */
  double offsetX() const { return offsetX_; }

  /*! \brief Returns the shadow Y offset.
   *
   * \sa setOffsets()
   */
  double offsetY() const { return offsetY_; }

  /*! \brief Changes the shadow color.
   *
   * \sa color()
   */
  void setColor(const WColor& color);

  /*! \brief Returns the shadow color.
   *
   * \sa setColor()
   */
  const WColor& color() const { return color_; }

  /*! \brief Sets the blur.
   *
   * \sa blur()
   */
  void setBlur(double blur);

  /*! \brief Returns the blur.
   *
   * \sa setBlur()
   */
  double blur() const { return blur_; }

private:
  WColor color_;
  double offsetX_, offsetY_, blur_;
};

}

#endif // WSHADOW_H_