mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
add stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@207 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -5,3 +5,6 @@
|
||||
MwOO::Menu::Menu(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwMenuClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
MwMenu MwOO::Menu::Add(MwMenu menu, const char* name){
|
||||
return MwMenuAdd(this->widget, menu, name);
|
||||
}
|
||||
|
||||
@@ -5,3 +5,12 @@
|
||||
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){
|
||||
return MwOpenGLGetProcAddress(this->widget, name);
|
||||
}
|
||||
void MwOO::OpenGL::SwapBuffer(void){
|
||||
MwOpenGLSwapBuffer(this->widget);
|
||||
}
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
MwOO::ScrollBar::ScrollBar(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwScrollBarClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
int MwOO::ScrollBar::GetVisibleLength(void){
|
||||
return MwScrollBarGetVisibleLength(this->widget);
|
||||
}
|
||||
void MwOO::ScrollBar::SetAreaShown(int value){
|
||||
MwSetInteger(this->widget, MwNareaShown, value);
|
||||
}
|
||||
|
||||
@@ -5,3 +5,6 @@
|
||||
MwOO::SubMenu::SubMenu(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwSubMenuClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
void MwOO::SubMenu::Appear(MwMenu menu, MwPoint* point){
|
||||
MwSubMenuAppear(this->widget, menu, point);
|
||||
}
|
||||
|
||||
@@ -5,3 +5,18 @@
|
||||
MwOO::Vulkan::Vulkan(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwVulkanClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
void MwOO::Vulkan::EnableExtension(void){
|
||||
MwVulkanEnableExtension(this->widget);
|
||||
}
|
||||
void MwOO::Vulkan::EnableLayer(void){
|
||||
MwVulkanEnableLayer(this->widget);
|
||||
}
|
||||
void MwOO::Vulkan::Configure(void){
|
||||
MwVulkanConfigure(this->widget);
|
||||
}
|
||||
void* MwOO::Vulkan::GetField(MwVulkanField field, MwErrorEnum* out){
|
||||
return MwVulkanGetField(this->widget, field, out);
|
||||
}
|
||||
VkBool32 MwOO::Vulkan::Supported(void){
|
||||
return MwVulkanSupported(this->widget);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user