aboutsummaryrefslogtreecommitdiffstats
path: root/src/callbacks.h
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2014-07-21 12:58:18 (GMT)
committerAlessio Treglia <alessio@debian.org>2014-07-21 12:58:18 (GMT)
commit6ef14034edff72de856c29dd2e4f2b180444d890 (patch)
tree6586d6a6d6c494ff4c82adfc63154dc8496fd93c /src/callbacks.h
Imported Upstream version 0.17upstream/0.17
Diffstat (limited to 'src/callbacks.h')
-rw-r--r--src/callbacks.h77
1 files changed, 77 insertions, 0 deletions
diff --git a/src/callbacks.h b/src/callbacks.h
new file mode 100644
index 0000000..04ede00
--- /dev/null
+++ b/src/callbacks.h
@@ -0,0 +1,77 @@
+#include <gtk/gtk.h>
+#include "fileio.h"
+#include <gconf/gconf-client.h>
+
+typedef struct image_state {
+ gboolean wacky;
+ gboolean threshold;
+ gboolean threshold_channel;
+ gboolean sobel;
+ gboolean laplace;
+ gboolean negative;
+ gboolean mirror;
+ gboolean colour;
+ gboolean smooth;
+ gboolean fc;
+} state;
+
+void on_change_size_activate (GtkWidget * widget, cam * cam);
+void on_quit1_activate (GtkMenuItem * menuitem, gpointer user_data);
+void gconf_notify_func (GConfClient * client, guint cnxn_id,
+ GConfEntry * entry, char *);
+void gconf_notify_func_bool (GConfClient * client, guint cnxn_id,
+ GConfEntry * entry, gboolean val);
+void gconf_notify_func_int (GConfClient * client, guint cnxn_id,
+ GConfEntry * entry, int val);
+int delete_event (GtkWidget *, gpointer data);
+void cap_func (GtkWidget *, cam *);
+void rcap_func (GtkWidget *, cam *);
+void acap_func (GtkWidget *, cam *);
+void set_sensitive (cam *);
+void tt_enable_func (GtkWidget *, cam *);
+void interval_change (GtkWidget *, cam *);
+void ts_func (GtkWidget *, cam *);
+void customstring_func (GtkWidget *, cam *);
+void drawdate_func (GtkWidget *, cam *);
+void append_func (GtkWidget *, cam *);
+void rappend_func (GtkWidget *, cam *);
+void jpg_func (GtkWidget *, cam *);
+void png_func (GtkWidget *, cam *);
+void ppm_func (GtkWidget *, cam *);
+void rts_func (GtkWidget *, cam *);
+void rjpg_func (GtkWidget *, cam *);
+void rpng_func (GtkWidget *, cam *);
+gint (*pt2Function) (cam *);
+void rppm_func (GtkWidget *, cam *);
+void on_preferences1_activate (GtkMenuItem * menuitem, gpointer user_data);
+void on_about1_activate (GtkMenuItem * menuitem, gpointer user_data);
+void on_show_adjustments1_activate (GtkMenuItem * menuitem, cam *);
+void on_show_effects_activate (GtkMenuItem * menuitem, cam *);
+void prefs_func (GtkWidget *, cam *);
+gint io_func (cam *, gint, GdkInputCondition);
+void capture_func2 (GtkWidget *, cam *);
+void capture_func (GtkWidget *, cam *);
+void init_cam (GtkWidget * capture, cam * cam);
+gint timeout_capture_func (cam *);
+gint fps (GtkWidget *);
+gint timeout_func (cam *);
+gint read_timeout_func (cam *);
+void edge_func1 (GtkToggleButton *, gpointer);
+void sobel_func (GtkToggleButton *, gpointer);
+void fix_colour_func (GtkToggleButton *, char *);
+void threshold_func1 (GtkToggleButton *, gpointer);
+void threshold_ch_func (GtkToggleButton *, gpointer);
+void edge_func3 (GtkToggleButton *, gpointer);
+void mirror_func (GtkToggleButton *, gpointer);
+void colour_func (GtkToggleButton *, gpointer);
+void smooth_func (GtkToggleButton *, gpointer);
+void negative_func (GtkToggleButton *, gpointer);
+void on_scale1_drag_data_received (GtkHScale *, cam *);
+void on_status_show (GtkWidget *, cam *);
+void contrast_change (GtkHScale *, cam *);
+void brightness_change (GtkHScale *, cam *);
+void colour_change (GtkHScale *, cam *);
+void hue_change (GtkHScale *, cam *);
+void wb_change (GtkHScale *, cam *);
+gboolean on_drawingarea1_expose_event (GtkWidget *, GdkEventExpose *, cam *);
+void update_tooltip (cam * cam);

Privacy Policy