summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-09-11 04:50:26 +0200
committerLennart Poettering <lennart@poettering.net>2009-09-11 04:50:26 +0200
commiteb17d362304629c08d3d8fccec760fc291db270d (patch)
treef56e7458500f96aee16473e7b6cb13075f3a5cd4
parentbad8763baa0852f8d28a678215e1206988ebeb9f (diff)
define properties for window position/size information
-rw-r--r--src/canberra.h.in66
1 files changed, 66 insertions, 0 deletions
diff --git a/src/canberra.h.in b/src/canberra.h.in
index 5bf198a..47505bd 100644
--- a/src/canberra.h.in
+++ b/src/canberra.h.in
@@ -209,6 +209,72 @@ extern "C" {
#define CA_PROP_WINDOW_ICON_NAME "window.icon_name"
/**
+ * CA_PROP_WINDOW_X:
+ *
+ * If this sound event was triggered by a window on the screen, the X
+ * position of the window measured from the top left corner of the
+ * screen to the top left corner of the window.
+ *
+ * Since: 0.17
+ */
+#define CA_PROP_WINDOW_X "window.x"
+
+/**
+ * CA_PROP_WINDOW_Y:
+ *
+ * If this sound event was triggered by a window on the screen, the y
+ * position of the window measured from the top left corner of the
+ * screen to the top left corner of the window.
+ *
+ * Since: 0.17
+ */
+#define CA_PROP_WINDOW_Y "window.y"
+
+/**
+ * CA_PROP_WINDOW_WIDTH:
+ *
+ * If this sound event was triggered by a window on the screen, the
+ * pixel width of the window.
+ *
+ * Since: 0.17
+ */
+#define CA_PROP_WINDOW_WIDTH "window.width"
+
+/**
+ * CA_PROP_WINDOW_HEIGHT:
+ *
+ * If this sound event was triggered by a window on the screen, the
+ * pixel height of the window.
+ *
+ * Since: 0.17
+ */
+#define CA_PROP_WINDOW_HEIGHT "window.height"
+
+/**
+ * CA_PROP_WINDOW_HPOS:
+ *
+ * If this sound event was triggered by a window on the screen, the X
+ * position of the center of the window as fractional value between 0
+ * and 1, formatted as string, 0 reflecting the left side of the
+ * screen, 1 the right side.
+ *
+ * Since: 0.17
+ */
+#define CA_PROP_WINDOW_HPOS "window.hpos"
+
+/**
+ * CA_PROP_WINDOW_VPOS:
+ *
+ * If this sound event was triggered by a window on the screen, the Y
+ * position of the center of the window as fractional value between 0
+ * and 1, formatted as string, 0 reflecting the top side of the
+ * screen, 1 the bottom side.
+ *
+ * Since: 0.17
+ */
+#define CA_PROP_WINDOW_VPOS "window.vpos"
+
+/**
* CA_PROP_WINDOW_X11_DISPLAY:
*
* If this sound event was triggered by a window on the screen and the