aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_confirm_dialog.h
diff options
context:
space:
mode:
authorsndev <sndev>2006-05-22 20:28:33 +0000
committersndev <sndev@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2006-05-22 20:28:33 +0000
commitb8ed636f526ae808497397f19aa2cbbf5ea8ac84 (patch)
treec9ed768cc93ad1394d3f8004b7fb183937a53504 /src/bin/e_confirm_dialog.h
parente17 ja.po update (Yasufumi Haga) (diff)
downloadenlightenment-b8ed636f526ae808497397f19aa2cbbf5ea8ac84.tar.gz
1. The confirmation dialog on shelf delete is added. Somebody on IRC proposed to have it.
Also it is added on Key Binding deletion (see Key Bindings dialog). Code duplicates were moved to a separate function e_confirm_dialog_show. 2. Two new events E_EVENT_BORDER_FOCUS_IN and E_EVENT_BORDER_FOCUS_OUT are added. SVN revision: 22844
Diffstat (limited to 'src/bin/e_confirm_dialog.h')
-rw-r--r--src/bin/e_confirm_dialog.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/bin/e_confirm_dialog.h b/src/bin/e_confirm_dialog.h
new file mode 100644
index 000000000..251d7654b
--- /dev/null
+++ b/src/bin/e_confirm_dialog.h
@@ -0,0 +1,24 @@
+/*
+ * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
+ */
+#ifdef E_TYPEDEF
+
+#else
+#ifndef E_CONFIRM_DIALOG_H
+#define E_CONFIRM_DIALOG_H
+
+/*
+ * @title - dialog title
+ * @icon - dialog icon
+ * @text - the text show in the dialog
+ * @button_text - "yes" button text
+ * @button2_text - "no" button text
+ * func - the function is called if yes is pressed
+ * func2 - the function is called if no is pressed
+ * data - the pointer passed to func
+ * data2 - the pointer passed to func2
+ */
+EAPI void e_confirm_dialog_show(const char *title, const char *icon, const char *text, const char *button_text, const char *button2_text, void (*func)(void *data), void (*func2)(void *data), void *data, void *data2);
+
+#endif
+#endif