/usr/include/phat/phatfanslider.h is in libphat-dev 0.4.1-5.
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 | #ifndef __PHAT_FAN_SLIDER_H__
#define __PHAT_FAN_SLIDER_H__
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define PHAT_TYPE_FAN_SLIDER (phat_fan_slider_get_type ( ))
#define PHAT_FAN_SLIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PHAT_TYPE_FAN_SLIDER, PhatFanSlider))
#define PHAT_FAN_SLIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PHAT_TYPE_FAN_SLIDER, PhatFanSliderClass))
#define PHAT_IS_FAN_SLIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PHAT_TYPE_FAN_SLIDER))
#define PHAT_IS_FAN_SLIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PHAT_TYPE_FAN_SLIDER))
typedef struct _PhatFanSliderClass PhatFanSliderClass;
typedef struct _PhatFanSlider PhatFanSlider;
struct _PhatFanSlider
{
GtkWidget parent;
GtkAdjustment* adjustment;
GtkAdjustment* adjustment_prv;
double val;
double center_val;
int xclick_root;
int yclick_root;
int xclick;
int yclick;
int fan_max_thickness;
int state;
gboolean inverted;
gboolean is_log;
GtkOrientation orientation;
GtkWidget* fan_window;
GdkRegion* fan_clip0;
GdkRegion* fan_clip1;
GdkCursor* arrow_cursor;
GdkCursor* empty_cursor;
GdkWindow* event_window;
GtkWidget* hint_window0;
GtkWidget* hint_window1;
GdkRegion* hint_clip0;
GdkRegion* hint_clip1;
gboolean use_default_value;
gdouble default_value;
};
struct _PhatFanSliderClass
{
GtkWidgetClass parent_class;
void (*value_changed) (PhatFanSlider* slider);
void (*changed) (PhatFanSlider* slider);
};
GType phat_fan_slider_get_type ( );
void phat_fan_slider_set_value (PhatFanSlider* slider, double value);
void phat_fan_slider_set_log (PhatFanSlider* slider, gboolean is_log);
gboolean phat_fan_slider_is_log (PhatFanSlider* slider);
double phat_fan_slider_get_value (PhatFanSlider* slider);
void phat_fan_slider_set_range (PhatFanSlider* slider,
double lower, double upper);
void phat_fan_slider_get_range (PhatFanSlider* slider,
double* lower, double* upper);
void phat_fan_slider_set_adjustment (PhatFanSlider* slider,
GtkAdjustment* adjustment);
GtkAdjustment* phat_fan_slider_get_adjustment (PhatFanSlider* slider);
void phat_fan_slider_set_inverted (PhatFanSlider* slider, gboolean inverted);
gboolean phat_fan_slider_get_inverted (PhatFanSlider* slider);
void phat_fan_slider_set_default_value(PhatFanSlider* slider, gdouble value);
G_END_DECLS
#endif /* __PHAT_FAN_SLIDER_H__ */
|