X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fprompt.h;h=d07793a9a1ed2d805e20f17f6963ff9d9d493b4f;hb=4b5373f609e6462995a38cc4f0f50b17cbc8f835;hp=007dae934cedc75b1e6f7b6e7e96dcdeff969495;hpb=bb557f06a6828a95ee94c7579919dec1ee014484;p=chaz%2Fopenbox diff --git a/openbox/prompt.h b/openbox/prompt.h index 007dae93..d07793a9 100644 --- a/openbox/prompt.h +++ b/openbox/prompt.h @@ -43,7 +43,7 @@ struct _ObPromptElement { struct _ObPrompt { - InternalWindow super; + ObInternalWindow super; gint ref; guint event_mask; @@ -100,7 +100,7 @@ void prompt_shutdown(gboolean reconfig); callback function returns TRUE. @param data User defined data which will be passed to the callback */ -ObPrompt* prompt_new(const gchar *msg, +ObPrompt* prompt_new(const gchar *msg, const gchar *title, const ObPromptAnswer *answers, gint n_answers, gint default_result, gint cancel_result, ObPromptCallback func, ObPromptCleanup cleanup, @@ -116,6 +116,7 @@ gboolean prompt_key_event(ObPrompt *self, XEvent *e); gboolean prompt_mouse_event(ObPrompt *self, XEvent *e); void prompt_cancel(ObPrompt *self); -void prompt_show_message(const gchar *msg, const gchar *answer); +ObPrompt* prompt_show_message(const gchar *msg, const gchar *title, + const gchar *answer); #endif