diff src/aosd/ghosd-internal.h @ 569:d401f87f89f7 trunk

[svn] - added Audacious OSD, yet-another-written-from-scratch plugin to display OSD, based on Ghosd library; currently untied from configure, to compile it you have to run make in its directory; will be added to configure after some testing
author giacomo
date Mon, 29 Jan 2007 06:40:04 -0800
parents
children 6584e697e6da
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/aosd/ghosd-internal.h	Mon Jan 29 06:40:04 2007 -0800
@@ -0,0 +1,25 @@
+/* ghosd -- OSD with fake transparency, cairo, and pango.
+ * Copyright (C) 2006 Evan Martin <martine@danga.com>
+ */
+
+#include <X11/Xlib.h>
+
+#include "ghosd.h"
+
+typedef struct {
+  GhosdRenderFunc func;
+  void *data;
+  void (*data_destroy)(void*);
+} RenderCallback;
+
+struct _Ghosd {
+  Display *dpy;
+  Window win;
+  int transparent;
+  int x, y, width, height;
+  
+  Pixmap background;
+  RenderCallback render;
+};
+
+/* vim: set ts=2 sw=2 et cino=(0 : */