This file is indexed.

/usr/include/gwenhywfar4/gwen-gui-fox16/theme.h 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
 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
/* These widgets have initially been created by Martin Oberzalek who gave them into
 * the public domain via an email to the mailing list foxgui-users on 17th of June, 2010
 * ("here the source. Free to use for alll.").
 * I (Martin Preuss) adapted them to be usable with FOX 1.6 and also added some widgets of
 * my own (for now: ThemeHeaderItem).
 */

#ifndef THEME_H
#define THEME_H

#include <fx.h>

/** This header is only needed for the definition of "FOX16GUI_API" which is
 * used in the declaration of all exported classes and methods.
 * If you want to use these themed widgets in your own projects you should remove
 * this include here and all occurrences of "FOX16GUI_API".
 */
#include <gwen-gui-fox16/fox16_gui.hpp>



#define THEMEBUTTON          ThemeButton
#define THEMETEXTFIELD       ThemeTextField
#define THEMECOMBOBOX        ThemeComboBox
#define THEMELABEL           ThemeLabel
#define THEMEVERTICALFRAME   ThemeVerticalFrame
#define THEMEHORIZONTALFRAME ThemeHorizontalFrame
#define THEMEMENUBUTTON      ThemeMenuButton
#define THEMEHEADERITEM      ThemeHeaderItem
#define THEMETABITEM         ThemeTabItem



class FOX16GUI_API ThemeButton : public FXButton {
  FXDECLARE( ThemeButton );

protected:
  ThemeButton() {}

public:
  ThemeButton(FXComposite* p,const FXString& text,FXIcon* ic=NULL,
              FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=BUTTON_NORMAL,
              FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,
              FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD);

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



class FOX16GUI_API ThemeTextField : public FXTextField {
  FXDECLARE( ThemeTextField );

protected:
  ThemeTextField() {}

public:
  ThemeTextField(FXComposite* p,FXint ncols,FXObject* tgt=NULL,FXSelector sel=0,
                 FXuint opts=TEXTFIELD_NORMAL,FXint x=0,FXint y=0,FXint w=0,
                 FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD);

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

protected:
  void drawFrame(FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
};




FOX16GUI_API void init_theme( FXApp *app );




class FOX16GUI_API ThemeComboBox : public FXComboBox {
  FXDECLARE( ThemeComboBox );

protected:
  ThemeComboBox() {}

public:
  ThemeComboBox(FXComposite *p,FXint cols,FXObject* tgt=NULL,FXSelector sel=0,
                FXuint opts=COMBOBOX_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,
                FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD);

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




class FOX16GUI_API ThemeLabel : public FXLabel {
  FXDECLARE( ThemeLabel );

protected:
  ThemeLabel() {}

public:
  ThemeLabel(FXComposite* p,const FXString& text,FXIcon* ic=0,FXuint opts=LABEL_NORMAL,
             FXint x=0,FXint y=0,FXint w=0,FXint h=0,
             FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD);

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




class FOX16GUI_API ThemeTabItem : public FXTabItem {
  FXDECLARE( ThemeTabItem );

protected:
  ThemeTabItem() {}

public:
  ThemeTabItem(FXTabBar* p,const FXString& text,FXIcon* ic=0,
               FXuint opts=TAB_TOP_NORMAL,
               FXint x=0,FXint y=0,FXint w=0,FXint h=0,
               FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,
               FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD);
};




class FOX16GUI_API ThemeVerticalFrame : public FXVerticalFrame {
protected:
  ThemeVerticalFrame() {}

public:
  ThemeVerticalFrame(FXComposite *p,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0,
                     FXint pl=DEFAULT_SPACING,FXint pr=DEFAULT_SPACING,FXint pt=DEFAULT_SPACING,
                     FXint pb=DEFAULT_SPACING,FXint hs=DEFAULT_SPACING,FXint vs=DEFAULT_SPACING);
};




class FOX16GUI_API ThemeHorizontalFrame : public FXHorizontalFrame {
protected:
  ThemeHorizontalFrame() {}

public:
  ThemeHorizontalFrame(FXComposite *p,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint
                       pl=DEFAULT_SPACING,FXint pr=DEFAULT_SPACING,FXint pt=DEFAULT_SPACING,
                       FXint pb=DEFAULT_SPACING,FXint hs=DEFAULT_SPACING,FXint vs=DEFAULT_SPACING);
};




class FOX16GUI_API ThemeMenuButton : public FXMenuButton {
  FXDECLARE( ThemeMenuButton );

protected:
  ThemeMenuButton() {}

public:
  ThemeMenuButton(FXComposite* p,const FXString& text,FXIcon* ic=NULL,
                  FXPopup* pup=NULL,
                  FXuint opts=JUSTIFY_NORMAL|ICON_BEFORE_TEXT|MENUBUTTON_DOWN,
                  FXint x=0,FXint y=0,FXint w=0,FXint h=0,
                  FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,
                  FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD);


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

  FXint getDefaultWidth();
};



class FOX16GUI_API ThemeHeaderItem : public FXHeaderItem {
protected:
  ThemeHeaderItem() {}

public:
  ThemeHeaderItem(const FXString& text, FXIcon* ic=NULL, FXint s=0, void* ptr=NULL);

  void draw(const FXHeader* header,FXDC& dc,FXint x,FXint y,FXint w,FXint h);

};



#endif