From fdaeae206f67ce36fcc58e72897a731489691768 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 25 Jan 2001 23:06:11 +0000 Subject: Multiple project views git-svn-id: http://svn.leocad.org/trunk@227 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- common/glwindow.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'common/glwindow.h') diff --git a/common/glwindow.h b/common/glwindow.h index 837a9c2..3354884 100644 --- a/common/glwindow.h +++ b/common/glwindow.h @@ -7,12 +7,16 @@ class GLWindow GLWindow (GLWindow *share); virtual ~GLWindow (); - void Create (void* data); + bool Create (void* data); void DestroyContext (); bool MakeCurrent (); void SwapBuffers (); void Redraw (); + int GetWidth () const + { return m_nWidth; } + int GetHeight () const + { return m_nHeight; } virtual void OnDraw () { }; virtual void OnSize (int cx, int cy) -- cgit v1.2.3