This file is indexed.

/usr/lib/Wt/examples/widgetgallery/PaintBrush.h is in witty-examples 3.1.10-1ubuntu2.

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
// This may look like C code, but it's really -*- C++ -*-

#include <Wt/WPaintedWidget>
#include <Wt/WPainterPath>
#include <Wt/WColor>
#include <Wt/WEvent>

#include <vector>

#ifndef PAINTBRUSH_H_
#define PAINTBRUSH_H_

using namespace Wt;

class PaintBrush : public WPaintedWidget
{
public:
  PaintBrush(int width, int height, WContainerWidget *parent = 0);

  void clear() {
    update();
  }

  void setColor(const WColor& c) {
    color_ = c;
  }

protected:
  virtual void paintEvent(WPaintDevice *paintDevice);

private:
  WPainterPath path_;
  WColor color_;

  void mouseDown(const WMouseEvent& e); 
  void mouseDrag(const WMouseEvent& e);
  void touchStart(const WTouchEvent& e);
  void touchMove(const WTouchEvent& e);
};

#endif // PAINTBRUSH_H_