U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Missing methods in Win32 version of GLCtrl
Missing methods in Win32 version of GLCtrl [message #18627] Sun, 12 October 2008 21:52
cas_ is currently offline  cas_
Messages: 20
Registered: July 2008
Location: Poland
Promising Member
Hi!

X11 version of GLCtrl has two useful virtual methods, which are not present in GLCtrl's Win32 counterpart. I propose following changes:

On the bottom of Win32's GLCtrl class definition:

-- cut here --
protected:
virtual void GLInit() {};
virtual void GLDone() {};
-- cut here --

Now, on the bottom of void GLCtrl::OpenGL() in Win32GlCtrl.cpp:

-- cut here --
wglMakeCurrent(hDC, hRC);
GLInit();
-- cut here --

and on the top of void GLCtrl::CloseGL():

-- cut here --
GLDone();
-- cut here --
Previous Topic: [FEATURE REQUEST] Time to UTC ISO 8601 and UTC ISO 8601 to Time
Next Topic: SOLVED how to intercept the ENTER key
Goto Forum:
  


Current Time: Sun May 03 19:42:17 GMT+2 2026

Total time taken to generate the page: 0.00507 seconds