This file is indexed.

/usr/include/gwenhywfar4/gwen-gui-fox16/fox16_htmltext.hpp is in libgwengui-fox16-dev 4.20.0-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
/***************************************************************************
    begin       : Sat Jun 19 2010
    copyright   : (C) 2010 by Martin Preuss
    email       : martin@libchipcard.de

 ***************************************************************************
 *          Please see toplevel file COPYING for license details           *
 ***************************************************************************/


#ifndef FOX16_HTMLTEXT_HPP
#define FOX16_HTMLTEXT_HPP

#include <gwen-gui-fox16/fox16_gui.hpp>

#include <fx.h>


class FOX16_HtmlCtx;


class FOX16GUI_API FOX16_HtmlText: public FXScrollArea {
  FXDECLARE(FOX16_HtmlText)

public:

  enum {
    /** don't wrap the text. If this flag is given as parameter to the constructor
     * then you'll have to insert line-breaks into the text yourself.
     */
    FLAGS_NO_WORDWRAP = 0x00080000
  };

  FOX16_HtmlText(FXComposite* p, const FXString& text,
                 FXuint opts=0,
                 FXint x=0, FXint y=0, FXint w=0, FXint h=0);
  ~FOX16_HtmlText();

  /// Set the text for this label
  void setText(const FXString& text);

  /// Get the text for this label
  FXString getText() const { return m_text; }

  virtual FXint getContentWidth();

  virtual FXint getContentHeight();

  void setMinimumWidth(int i) { m_minWidth=i;};

  void makePositionVisible(FXint pos);

  long onPaint(FXObject*, FXSelector, void*);

  void layout();

protected:
  FOX16_HtmlCtx *m_htmlCtx;
  FXString m_text;
  int m_minWidth;
  int m_maxDefaultWidth;

  bool m_haveDefaultDims;
  FXint m_defaultWidth;
  FXint m_defaultHeight;

  FXint margintop;           // Margins top
  FXint marginbottom;        // Margin bottom
  FXint marginleft;          // Margin left
  FXint marginright;         // Margin right
  FXint barwidth;

  FOX16_HtmlText();
  void updateHtml();
  void calcDefaultDims();


};



#endif