diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/canberra.h.in | 66 |
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 |