other-licenses/ia2/IA2CommonTypes.idl
author Jesse Ruderman <jruderman@gmail.com>
Thu, 09 Oct 2008 14:23:59 -0700
changeset 20221 bad67e7ea71b69a1868632fecb0da7f779fd36cf
parent 405 0f90734acfae709b9e60c336c063c684b5a55fc7
child 32381 37b976412c043d9436b495730565f1068b0887d0
permissions -rwxr-xr-x
Add crashtest

/*************************************************************************
 *
 *  File Name (IA2CommonTypes.idl)
 *
 *  IAccessible2 IDL Specification
 *
 *  Copyright (c) IBM Corp. 2007
 *  Copyright (c) Sun Microsystems, Inc. 2000, 2006
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License version 2.1, as published by the Free Software Foundation; either
 *  version 2.1 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02110-1301  USA
 *
 ************************************************************************/

/// These constants control the scrolling of an object or substring into a window.
enum IA2ScrollType {

  /** Scroll the top left of the object or substring to the top left of the 
   window (or as close as possible).
  */
  IA2_SCROLL_TYPE_TOP_LEFT, 		

  /** Scroll the bottom right of the object or substring to the bottom right of
   the window (or as close as possible). 
  */
  IA2_SCROLL_TYPE_BOTTOM_RIGHT,

  /** Scroll the top edge of the object or substring to the top edge of the 
   window (or as close as possible). 
  */
  IA2_SCROLL_TYPE_TOP_EDGE,

  /** Scroll the bottom edge of the object or substring to the bottom edge of 
   the window (or as close as possible). 
  */
  IA2_SCROLL_TYPE_BOTTOM_EDGE, 

  /** Scroll the left edge of the object or substring to the left edge of the 
   window (or as close as possible). 
  */
  IA2_SCROLL_TYPE_LEFT_EDGE, 

  /** Scroll the right edge of the object or substring to the right edge of the 
   window (or as close as possible). 
  */
  IA2_SCROLL_TYPE_RIGHT_EDGE 
};

/// These constants define which coordinate system a point is located in.
enum IA2CoordinateType {

  /// The coordinates are relative to the screen.
  IA2_COORDTYPE_SCREEN_RELATIVE, 

  /** The coordinates are relative to the upper left corner of the bounding box
   of the immediate parent.
  */
  IA2_COORDTYPE_PARENT_RELATIVE  

};