This file is indexed.

/usr/include/gaminggear-0/gaminggear/gaminggear_hscale.h is in libgaminggear-dev 0.15.1-7.

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
#ifndef __GAMINGGEAR_HSCALE_H__
#define __GAMINGGEAR_HSCALE_H__

/*
 * This file is part of libgaminggear.
 *
 * libgaminggear is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * libgaminggear is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with libgaminggear. If not, see <http://www.gnu.org/licenses/>.
 */

/*! \file gaminggear/gaminggear_hscale.h
 *  \brief Horizontal scale with connected spinbutton and clamping.
 *
 *  Properties
 *  - digits\n
 *    Number of digits to display in spinbutton.
 *  - value\n
 *    Actual value.
 *  - min\n
 *    Minimal value.
 *  - max\n
 *    Maximum value.
 *  - step\n
 *    Step increment.
 *
 *  Signals
 *  - value-changed\n
 *    Emitted when value is changed.
 */

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define GAMINGGEAR_HSCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GAMINGGEAR_HSCALE_TYPE, GaminggearHScaleClass))
#define IS_GAMINGGEAR_HSCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GAMINGGEAR_HSCALE_TYPE))
#define GAMINGGEAR_HSCALE_TYPE (gaminggear_hscale_get_type())
#define GAMINGGEAR_HSCALE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GAMINGGEAR_HSCALE_TYPE, GaminggearHScale))
#define IS_GAMINGGEAR_HSCALE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GAMINGGEAR_HSCALE_TYPE))

typedef struct _GaminggearHScaleClass GaminggearHScaleClass;
typedef struct _GaminggearHScale GaminggearHScale;
typedef struct _GaminggearHScalePrivate GaminggearHScalePrivate;

struct _GaminggearHScaleClass {
	GtkHBoxClass parent_class;
};

struct _GaminggearHScale {
	GtkHBox hbox;
	GaminggearHScalePrivate *priv;
};

GType gaminggear_hscale_get_type(void);

/*! \brief Creates new hscale.
 *  \param min Minimum value.
 *  \param max Maximum value.
 *  \param step Step increment.
 *  \retval widget A new GaminggearHScale.
 */
GtkWidget *gaminggear_hscale_new_with_range(gdouble min, gdouble max, gdouble step);

/*! \brief Gets the current value of the scale.
 *  \param hscale A GaminggearHScale.
 *  \retval value Actual value.
 */
gdouble gaminggear_hscale_get_value(GaminggearHScale *hscale);

/*! \brief Sets current value of scale.
 *
 *  The scale emits "value-changed" signal after changing the value.
 *
 *  \param hscale A GaminggearHScale.
 *  \param value The new value.
 */
void gaminggear_hscale_set_value(GaminggearHScale *hscale, gdouble value);

/*! \brief Adds a tick mark to the scale.
 *
 *  Marks can only be removed in whole by gaminggear_hscale_clear_marks().
 *
 *  \param hscale A GaminggearHScale.
 *  \param value Between limits of hscale.
 *  \param position Where to draw the mark. \c GTK_POS_TOP or \c GTK_POS_BOTTOM.
 *  \param markup Text for the mark or \c NULL.
 */
void gaminggear_hscale_add_mark(GaminggearHScale *hscale, gdouble value, GtkPositionType position, gchar const *markup);

/*! \brief Removes all marks from the scale.
 *
 *  Removes all marks that have been added by gaminggear_hscale_add_mark().
 *
 *  \param hscale A GaminggearHScale.
 */
void gaminggear_hscale_clear_marks(GaminggearHScale *hscale);

/*! \brief Gets number of decimal places displayed in the spinbutton.
 *  \param hscale A GaminggearHScale.
 *  \retval digits Actual digits.
 */
guint gaminggear_hscale_get_digits(GaminggearHScale *hscale);

/*! \brief Sets number of decimal places displayed in the spinbutton.
 *  \param hscale A GaminggearHScale.
 *  \param digits Number of decimal places.
 */
void gaminggear_hscale_set_digits(GaminggearHScale *hscale, guint digits);

/*! \brief Sets range of scale.
 *  \param hscale A GaminggearHScale.
 *  \param min Minimum value.
 *  \param max Maximum value.
 */
void gaminggear_hscale_set_range(GaminggearHScale *hscale, gdouble min, gdouble max);

/*! \brief Sets increment size.
 *
 *  GaminggearHScale clamps its value to this increment. This means value is always:
 *  value = min + x * step
 *
 *  \param hscale A GaminggearHScale.
 *  \param step Step increment.
 */
void gaminggear_hscale_set_increment(GaminggearHScale *hscale, gdouble step);

/*! \brief Sets wether to draw the spinbutton.
 *  \param hscale A GaminggearHScale.
 *  \param draw_spin \c TRUE or \c FALSE.
 */
void gaminggear_hscale_set_draw_spin(GaminggearHScale *hscale, gboolean draw_spin);

G_END_DECLS

#endif