summaryrefslogtreecommitdiff
path: root/include/glbase.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-11-14 17:21:14 +0000
committerpixel <pixel>2003-11-14 17:21:14 +0000
commitfae0c2bfe95a122de0f165791690dc18928a931c (patch)
tree1f8056a480702d72c4f871ad7375a575510bb7ff /include/glbase.h
parentd7575bef1e530eac004c973b0384a12561f0bb8b (diff)
Started working on widgets.
Diffstat (limited to 'include/glbase.h')
-rw-r--r--include/glbase.h3
1 files changed, 3 insertions, 0 deletions
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;
};
};