mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@435 b9cfdab3-6d41-4d17-bbe4-086880011989
42 lines
983 B
C++
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);
|
|
}
|
|
|