* cspi/spi.h: add SPI_LAYER_WINDOW.
* cspi/spi_component.c: (AccessibleComponent_getLayer):
add Accessibility_LAYER_WINDOW case.
* idl/Accessibility_Component.idl: add LAYER_WINDOW.
* libspi/component.c: (impl_accessibility_component_get_layer):
add ATK_LAYER_WINDOW case.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@341
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
+2002-09-06 Mark McLoughlin <mark@skynet.ie>
+
+ * cspi/spi.h: add SPI_LAYER_WINDOW.
+
+ * cspi/spi_component.c: (AccessibleComponent_getLayer):
+ add Accessibility_LAYER_WINDOW case.
+
+ * idl/Accessibility_Component.idl: add LAYER_WINDOW.
+
+ * libspi/component.c: (impl_accessibility_component_get_layer):
+ add ATK_LAYER_WINDOW case.
+
2002-08-28 Bill Haneman <bill.haneman@sun.com>
* configure.in: incremented micro version.
* MDI components.
* @SPI_LAYER_OVERLAY: Component is in the overlay plane - this value is reserved
* for future use.
+ * @SPI_LAYER_WINDOW: Component is in the window layer and have valid Z-information
+ * relative to other window-layer components.
* @SPI_LAYER_LAST_DEFINED: Used to determine the last valid value in the enum,
* should not be encountered.
**/
SPI_LAYER_MDI,
SPI_LAYER_POPUP,
SPI_LAYER_OVERLAY,
+ SPI_LAYER_WINDOW,
SPI_LAYER_LAST_DEFINED
} AccessibleComponentLayer;
case Accessibility_LAYER_OVERLAY:
retval = SPI_LAYER_OVERLAY;
break;
+ case Accessibility_LAYER_WINDOW:
+ retval = SPI_LAYER_WINDOW;
+ break;
default:
retval = SPI_LAYER_INVALID;
break;
* AccessibleComponent_getMDIZOrder:
* @obj: a pointer to the #AccessibleComponent to query.
*
- * Query the z stacking order of a component which is in the MDI layer.
- * (Bigger z-order numbers mean nearer the top)
+ * Query the z stacking order of a component which is in the MDI or window
+ * layer. (Bigger z-order numbers mean nearer the top)
*
* Returns: a short integer indicating the stacking order of the component
* in the MDI layer, or -1 if the component is not in the MDI layer.
LAYER_MDI,
LAYER_POPUP,
LAYER_OVERLAY,
+ LAYER_WINDOW,
LAYER_LAST_DEFINED
};
return Accessibility_LAYER_POPUP;
case ATK_LAYER_OVERLAY:
return Accessibility_LAYER_OVERLAY;
+ case ATK_LAYER_WINDOW:
+ return Accessibility_LAYER_WINDOW;
default:
break;
}