2001-12-07 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / util / mag_image.h
index 624aab0..6ca08b7 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __MAGNIFIER_IMAGE_H__
-#define __MAGNIFIER_IMAGE_H__
+#ifndef __MAGNIFIER_SPI_IMAGE_H__
+#define __MAGNIFIER_SPI_IMAGE_H__
 #include <stdio.h>
 #include <unistd.h>
 #include <sys/types.h>
@@ -33,7 +33,7 @@ point     center_position;
 point      curpos; /* Position of the magnified cursor */
 GdkPixbuf*  image;
 GdkPixbuf*  scaled_image;
-Window     image_root_window;
+Window     spi_image_root_window;
 int        screen_num;
 int         old_factor_x;
 int         old_factor_y;
@@ -42,6 +42,8 @@ xlib_colormap * x_cmap;
 typedef struct _MagnifierData {
        int mag_width;
        int mag_height;
+       int mag_x;
+       int mag_y;
        int factor_x;
        int factor_y;
        point center;