summaryrefslogtreecommitdiff
path: root/openbox/popup.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-09 04:56:12 +0000
committerDana Jansens <danakj@orodu.net>2003-08-09 04:56:12 +0000
commit79e189dbac9ec5ae5baed26515ee60b8dce9a079 (patch)
tree2fe7c44adc3b4976b01c46c8ae0f8ea66fafabf2 /openbox/popup.h
parent356318b5621305c2124466fd60516459b1ffdb83 (diff)
changes to the timer api, pass the timer to the callback function.
add a desktop-switch popup with the desktop's name
Diffstat (limited to 'openbox/popup.h')
-rw-r--r--openbox/popup.h6
1 files changed, 6 insertions, 0 deletions
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 <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);