X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fpopup.h;h=e06217ea91b7b54ace52701313b834ca534c92a3;hb=79e189dbac9ec5ae5baed26515ee60b8dce9a079;hp=7a138bd0ebe2413608af22b07503042a6890307c;hpb=33a2cdbeb90fa1d5017174abe4fc9c99257ea175;p=chaz%2Fopenbox diff --git a/openbox/popup.h b/openbox/popup.h index 7a138bd0..e06217ea 100644 --- a/openbox/popup.h +++ b/openbox/popup.h @@ -1,9 +1,13 @@ #ifndef __popup_h #define __popup_h -#include "client.h" - #include +#include "render/render.h" + +struct _ObClientIcon; + +#define POPUP_WIDTH 320 +#define POPUP_HEIGHT 48 typedef struct _ObPopup Popup; @@ -21,7 +25,9 @@ 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_show(Popup *self, gchar *text, ObClientIcon *icon); +void popup_set_text_align(Popup *self, RrJustify align); + +void popup_show(Popup *self, gchar *text, struct _ObClientIcon *icon); void popup_hide(Popup *self); #endif