fix oo bindings
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@437 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
d7234d3a11
commit
a18ba68942
18 changed files with 86 additions and 1 deletions
|
|
@ -5,6 +5,20 @@
|
|||
MwOO::OpenGL::OpenGL(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwOpenGLClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
void MwOO::OpenGL::MakeCurrent(void){
|
||||
MwOpenGLMakeCurrent(this->widget);
|
||||
}
|
||||
|
||||
void* MwOO::OpenGL::GetProcAddress(const char* name){
|
||||
void* ret;
|
||||
ret = MwOpenGLGetProcAddress(this->widget, name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
void MwOO::OpenGL::SwapBuffer(void){
|
||||
MwOpenGLSwapBuffer(this->widget);
|
||||
}
|
||||
|
||||
void MwOO::OpenGL::SetBackground(const char* value){
|
||||
MwSetText(this->widget, MwNbackground, value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue