canberra.h | canberra.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
* | * | |||
* Evaluates to the major version number of libcanberra. | * Evaluates to the major version number of libcanberra. | |||
*/ | */ | |||
#define CA_MAJOR (0) | #define CA_MAJOR (0) | |||
/** | /** | |||
* CA_MINOR: | * CA_MINOR: | |||
* | * | |||
* Evaluates to the minor version number of libcanberra. | * Evaluates to the minor version number of libcanberra. | |||
*/ | */ | |||
#define CA_MINOR (16) | #define CA_MINOR (17) | |||
/** | /** | |||
* CA_CHECK_VERSION: | * CA_CHECK_VERSION: | |||
* | * | |||
* Evaluates to TRUE when the library version is newer than the | * Evaluates to TRUE when the library version is newer than the | |||
* specified parameters. | * specified parameters. | |||
*/ | */ | |||
#define CA_CHECK_VERSION(major,minor) \ | #define CA_CHECK_VERSION(major,minor) \ | |||
((CA_MAJOR > (major)) || \ | ((CA_MAJOR > (major)) || \ | |||
(CA_MAJOR == (major) && CA_MINOR >= (minor))) | (CA_MAJOR == (major) && CA_MINOR >= (minor))) | |||
skipping to change at line 212 | skipping to change at line 212 | |||
/** | /** | |||
* CA_PROP_WINDOW_ICON_NAME: | * CA_PROP_WINDOW_ICON_NAME: | |||
* | * | |||
* If this sound event was triggered by a window on the screen, an | * If this sound event was triggered by a window on the screen, an | |||
* icon name for this window, as defined in the XDG icon naming | * icon name for this window, as defined in the XDG icon naming | |||
* specification. | * specification. | |||
*/ | */ | |||
#define CA_PROP_WINDOW_ICON_NAME "window.icon_name" | #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: | * CA_PROP_WINDOW_X11_DISPLAY: | |||
* | * | |||
* If this sound event was triggered by a window on the screen and the | * If this sound event was triggered by a window on the screen and the | |||
* windowing system is X11, the X display name of the window (e.g. ":0"). | * windowing system is X11, the X display name of the window (e.g. ":0"). | |||
*/ | */ | |||
#define CA_PROP_WINDOW_X11_DISPLAY "window.x11.display" | #define CA_PROP_WINDOW_X11_DISPLAY "window.x11.display" | |||
/** | /** | |||
* CA_PROP_WINDOW_X11_SCREEN: | * CA_PROP_WINDOW_X11_SCREEN: | |||
* | * | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 67 lines changed or added | |||