Files
milsko/oosrc/widget/vulkan.cc
NishiOwO 39f4e355f4 oops
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@435 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-20 22:01:57 +00:00

42 lines
983 B
C++

/* $Id$ */
#include <MwOO/Widget/Vulkan.h>
#include <Mw/Widget/Vulkan.h>
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);
}
VkBool32 MwOO::Vulkan::Supported(void){
VkBool32 ret;
ret = MwVulkanSupported(this->widget);
return ret;
}
void MwOO::Vulkan::SetBackground(const char* value){
MwSetText(this->widget, MwNbackground, value);
}
const char* MwOO::Vulkan::GetBackground(void){
return MwGetText(this->widget, MwNbackground);
}
void MwOO::Vulkan::SetForeground(const char* value){
MwSetText(this->widget, MwNforeground, value);
}
const char* MwOO::Vulkan::GetForeground(void){
return MwGetText(this->widget, MwNforeground);
}