This file is indexed.

/usr/include/Wt/WBorder 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
// 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 WBORDER_H_
#define WBORDER_H_

#include <Wt/WLength>
#include <Wt/WColor>

namespace Wt {

/*! \class WBorder Wt/WBorder Wt/WBorder
 *  \brief A value class that defines the CSS border style of a widget.
 *
 * \ingroup style
 */
class WT_API WBorder
{
public:

  /*! \brief Enumeration for border width
   */
  enum Width { Thin,    //!< Browser-dependent 'thin' border.
	       Medium,  //!< Browser-dependent 'medium' border, default.
	       Thick,   //!< Browser-dependent 'thick' border.
	       Explicit //!< Explicit width. See also explicitWidth()
  };

  /*! \brief Enumeration for border style
   */
  enum Style { None,    //!< No border (width ignored), default.
	       Hidden,  //!< Invisible border (of specified width). 
	       Dotted,  //!< Dotted border
	       Dashed,  //!< Dashed border
	       Solid,   //!< Solid border
	       Double,  //!< Double lined border
	       Groove,  //!< Relief border grooved into the canvas
	       Ridge,   //!< Relief border coming out of the canvas
	       Inset,   //!< Relief border lowering contents into the canvas 
	       Outset   //!< Relief border letting contents come out of the canvas
  };

  /*! \brief Creates a border indicating <i>no border</i>.
   */
  WBorder();

  /*! \brief Creates a border with given style, thickness and color.
   */
  WBorder(Style style, Width = Medium, WColor color = WColor());

  /*! \brief Creates a border with an absolute width.
   */
  WBorder(Style style, const WLength& width, WColor color = WColor());

  /*! \brief Comparison operator
   */
  bool operator==(const WBorder& other) const;

  /*! \brief Comparison operator
   */
  bool operator!=(const WBorder& other) const;

  /*! \brief Sets the border width.
   *
   * If width == Explicit, then the width specified in
   * \p explicitWidth is used.
   */
  void setWidth(Width width, const WLength& explicitWidth = WLength::Auto);

  /*! \brief Sets the border color.
   */
  void setColor(WColor color);

  /*! \brief Sets the border style.
   */
  void setStyle(Style style);

  /*! \brief Returns the border width.
   *
   * \sa setWidth()
   */
  Width width() const { return width_; }

  /*! \brief Returns the border width when set explicitly.
   *
   * \sa setWidth()
   */
  WLength explicitWidth() const { return explicitWidth_; }

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

  /*! \brief Returns the border style.
   *
   * \sa setStyle()
   */
  Style style() const { return style_; }

  /*! \brief Returns the CSS text for this border style.
   */
  std::string cssText() const;

#ifdef WT_TARGET_JAVA
  /*! \brief Clone method.
   *
   * Clones this border.
   */
  WBorder clone() const;
#endif
  
private:
  Width   width_;
  WLength explicitWidth_;
  WColor  color_;
  Style   style_;
};

}

#endif // WLENGTH