#include "window.h"
#include "geom.h"
-#include "render/render.h"
+#include "obrender/render.h"
#include <glib.h>
#include <X11/Xlib.h>
gint x, y, width, height;
gboolean pressed;
+ gboolean hover;
gint result;
};
struct _ObPrompt
{
- InternalWindow super;
+ ObInternalWindow super;
gint ref;
guint event_mask;
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,
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