2025-10-07 11:02:38 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
#include <MwOO/Widget/Window.h>
|
|
|
|
|
#include <Mw/Widget/Window.h>
|
|
|
|
|
|
2025-10-07 14:20:45 +00:00
|
|
|
MwOO::Window::Window(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwWindowClass, widget_name, parent, x, y, w, h){
|
2025-10-07 11:02:38 +00:00
|
|
|
}
|
2025-10-07 15:10:46 +00:00
|
|
|
|
2025-10-13 06:30:36 +00:00
|
|
|
void MwOO::Window::MakeBorderless(int toggle){
|
|
|
|
|
MwWindowMakeBorderless(this->widget, toggle);
|
|
|
|
|
}
|
2025-10-08 10:09:10 +00:00
|
|
|
void MwOO::Window::SetTitle(const char* value){
|
|
|
|
|
MwSetText(this->widget, MwNtitle, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const char* MwOO::Window::GetTitle(void){
|
|
|
|
|
return MwGetText(this->widget, MwNtitle);
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-08 17:34:14 +00:00
|
|
|
void MwOO::Window::SetBackground(const char* value){
|
|
|
|
|
MwSetText(this->widget, MwNbackground, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const char* MwOO::Window::GetBackground(void){
|
|
|
|
|
return MwGetText(this->widget, MwNbackground);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void MwOO::Window::SetForeground(const char* value){
|
|
|
|
|
MwSetText(this->widget, MwNforeground, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const char* MwOO::Window::GetForeground(void){
|
|
|
|
|
return MwGetText(this->widget, MwNforeground);
|
|
|
|
|
}
|
|
|
|
|
|