Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Fri Mar 29 00:46:00 CET 2024

Total time taken to generate the page: 0.01832 seconds