4 * ***** BEGIN GPL LICENSE BLOCK *****
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
21 * All rights reserved.
23 * The Original Code is: all of this file.
25 * Contributor(s): none yet.
27 * ***** END GPL LICENSE BLOCK *****
30 #ifndef _GPG_CANVAS_H_
31 #define _GPG_CANVAS_H_
34 #pragma warning (disable : 4786)
37 #include "GPC_Canvas.h"
39 #include "GHOST_IWindow.h"
42 class GPG_Canvas : public GPC_Canvas
46 GHOST_IWindow* m_window;
49 GPG_Canvas(GHOST_IWindow* window);
50 virtual ~GPG_Canvas(void);
52 virtual void Init(void);
53 virtual void SetMousePosition(int x, int y);
54 virtual void SetMouseState(RAS_MouseState mousestate);
55 virtual void SwapBuffers();
57 bool BeginDraw() { return true;};
61 #endif // _GPG_CANVAS_H_