]> Dogcows Code - chaz/openbox/blobdiff - openbox/popup.h
changes to the timer api, pass the timer to the callback function.
[chaz/openbox] / openbox / popup.h
index 3707c8cbd5f725d88eb3595971ca28a345e77ab6..e06217ea91b7b54ace52701313b834ca534c92a3 100644 (file)
@@ -2,9 +2,13 @@
 #define __popup_h
 
 #include <glib.h>
+#include "render/render.h"
 
 struct _ObClientIcon;
 
+#define POPUP_WIDTH 320
+#define POPUP_HEIGHT 48
+
 typedef struct _ObPopup Popup;
 
 Popup *popup_new(gboolean hasicon);
@@ -21,6 +25,8 @@ void popup_position(Popup *self, gint gravity, gint x, gint y);
 void popup_size(Popup *self, gint w, gint h);
 void popup_size_to_string(Popup *self, gchar *text);
 
+void popup_set_text_align(Popup *self, RrJustify align);
+
 void popup_show(Popup *self, gchar *text, struct _ObClientIcon *icon);
 void popup_hide(Popup *self);
 
This page took 0.025857 seconds and 4 git commands to generate.