From fae0c2bfe95a122de0f165791690dc18928a931c Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 14 Nov 2003 17:21:14 +0000 Subject: Started working on widgets. --- include/glbase.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/glbase.h') diff --git a/include/glbase.h b/include/glbase.h index 6328d94..7e6d454 100644 --- a/include/glbase.h +++ b/include/glbase.h @@ -15,12 +15,15 @@ namespace mogltk { virtual void Leave2DMode(void); virtual void Flip(void); virtual bool is2D(void); + virtual void changeviewport(int x = 0, int y = 0, unsigned int w = 0, unsigned int h = 0); + void changefovy(GLdouble); static void glVertex(GLshort, GLshort, GLshort = 0, GLshort = 1); static void glVertex(GLint, GLint, GLint = 0, GLint = 1); static void glVertex(GLfloat, GLfloat, GLfloat = 0.0, GLfloat = 1.0); static void glVertex(GLdouble, GLdouble, GLdouble = 0.0, GLdouble = 1.0); private: int twoD; + GLdouble ratio, fovy; }; }; -- cgit v1.2.3