remove ARegion from the Canvas, use a RAS_Rect instead. (pair programming with Dalai...
[blender-staging.git] / source / gameengine / BlenderRoutines / KX_BlenderCanvas.h
index f3228f4b5244de1e24b9a2753de7e4192cfab2ca..5967ce78b4696f0d099d28769b978872da181b2d 100644 (file)
@@ -64,7 +64,7 @@ public:
         * 
         * @param area The Blender ARegion to run the game within.
         */
-       KX_BlenderCanvas(struct wmWindow* win, struct ARegion* ar);
+       KX_BlenderCanvas(struct wmWindow* win, struct RAS_Rect &rect);
        ~KX_BlenderCanvas();
 
                void 
@@ -167,8 +167,8 @@ public:
 
 private:
        /** Blender area the game engine is running within */
-       struct ARegion* m_ar;
        struct wmWindow* m_win;
+       RAS_Rect        m_frame_rect;
        RAS_Rect        m_area_rect;