From 79e189dbac9ec5ae5baed26515ee60b8dce9a079 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 9 Aug 2003 04:56:12 +0000 Subject: changes to the timer api, pass the timer to the callback function. add a desktop-switch popup with the desktop's name --- openbox/popup.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openbox/popup.h') diff --git a/openbox/popup.h b/openbox/popup.h index 3707c8cb..e06217ea 100644 --- a/openbox/popup.h +++ b/openbox/popup.h @@ -2,9 +2,13 @@ #define __popup_h #include +#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); -- cgit v1.2.3