fix oo bindings

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@437 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-20 22:06:38 +00:00
parent d7234d3a11
commit a18ba68942
18 changed files with 86 additions and 1 deletions

View File

@@ -5,6 +5,16 @@
MwOO::Viewport::Viewport(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwViewportClass, widget_name, parent, x, y, w, h){
}
MwOO::Base MwOO::Viewport::GetViewport(void){
MwOO::Base ret;
ret = MwOO::Base(MwViewportGetViewport(this->widget));
return ret;
}
void MwOO::Viewport::SetSize(int w, int h){
MwViewportSetSize(this->widget, w, h);
}
void MwOO::Viewport::SetBackground(const char* value){
MwSetText(this->widget, MwNbackground, value);
}