/usr/include/Wt/Chart/WLegend 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 | // This may look like C code, but it's really -*- C++ -*-
/*
 * Copyright (C) 2013 Emweb bvba, Leuven, Belgium.
 *
 * See the LICENSE file for terms of use.
 */
#ifndef CHART_WLEGEND_H
#define CHART_WLEGEND_H
#include <Wt/Chart/WChartGlobal>
#include <Wt/WBrush>
#include <Wt/WFont>
#include <Wt/WLength>
#include <Wt/WPen>
namespace Wt {
  namespace Chart {
class WLegend {
public:
  WLegend();
  void setLegendEnabled(bool enabled);
  bool isLegendEnabled() const { return legendEnabled_; }
  void setLegendLocation(LegendLocation location, Side side, AlignmentFlag alignment);
  void 	setLegendStyle(const WFont &font, const WPen &border, const WBrush &background);
  LegendLocation legendLocation() const { return legendLocation_; }
  Side legendSide() const { return legendSide_; }
  AlignmentFlag legendAlignment() const { return legendAlignment_; }
  int legendColumns() const { return legendColumns_; }
  WLength legendColumnWidth() const { return legendColumnWidth_; }
  WFont legendFont() const { return legendFont_; }
  WPen legendBorder() const { return legendBorder_; }
  WBrush legendBackground() const { return legendBackground_; }
  void setLegendColumns(int columns, const WLength &columnWidth);
protected:
  bool legendEnabled_;
  LegendLocation legendLocation_;
  Side legendSide_;
  AlignmentFlag legendAlignment_;
  int legendColumns_;
  WLength legendColumnWidth_;
  WFont legendFont_;
  WPen legendBorder_;
  WBrush legendBackground_;
};
  }
}
#endif
 |