aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_dialog.h
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-07-28 04:35:45 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-07-28 04:35:45 +0000
commitd2ea9aee5df6a2bf02651bce782c798ad67540af (patch)
treedd903dc18c7c55a28b4cb20acbafaab5469ba225 /src/bin/e_dialog.h
parentfix flip (diff)
downloadenlightenment-d2ea9aee5df6a2bf02651bce782c798ad67540af.tar.gz
1. start work on dialog stuff
2. fix edge flip stuff 3. fix ghost windows stuff 4. spec SVN revision: 15925
Diffstat (limited to 'src/bin/e_dialog.h')
-rw-r--r--src/bin/e_dialog.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/bin/e_dialog.h b/src/bin/e_dialog.h
new file mode 100644
index 000000000..210bbfe3f
--- /dev/null
+++ b/src/bin/e_dialog.h
@@ -0,0 +1,35 @@
+/*
+ * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
+ */
+#ifdef E_TYPEDEFS
+
+typedef struct _E_Dialog E_Dialog;
+
+#else
+#ifndef E_DIALOG_H
+#define E_DIALOG_H
+
+#define E_DIALOG_TYPE 0xE0b01012
+
+struct _E_Dialog
+{
+ E_Object e_obj_inherit;
+
+ E_Win *win;
+ Evas_Object *bg_object;
+ Evas_Object *box_object;
+ Evas_Object *text_object;
+ Evas_Object *icon_object;
+ Evas_List *buttons;
+ void *data;
+};
+
+EAPI E_Dialog *e_dialog_new (E_Container *con);
+EAPI void e_dialog_button_add (E_Dialog *dia, char *label, char *icon, void (*func) (void *data, E_Dialog *dia), void *data);
+EAPI void e_dialog_title_set (E_Dialog *dia, char *title);
+EAPI void e_dialog_text_set (E_Dialog *dia, char *text);
+EAPI void e_dialog_icon_set (E_Dialog *dia, char *icon);
+EAPI void e_dialog_show (E_Dialog *dia);
+
+#endif
+#endif