2025-10-07 11:02:38 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
#include <MwOO/Widget/Frame.h>
|
|
|
|
|
#include <Mw/Widget/Frame.h>
|
|
|
|
|
|
2025-10-07 14:20:45 +00:00
|
|
|
MwOO::Frame::Frame(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwFrameClass, 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-08 17:34:14 +00:00
|
|
|
void MwOO::Frame::SetBackground(const char* value){
|
|
|
|
|
MwSetText(this->widget, MwNbackground, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const char* MwOO::Frame::GetBackground(void){
|
|
|
|
|
return MwGetText(this->widget, MwNbackground);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void MwOO::Frame::SetForeground(const char* value){
|
|
|
|
|
MwSetText(this->widget, MwNforeground, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const char* MwOO::Frame::GetForeground(void){
|
|
|
|
|
return MwGetText(this->widget, MwNforeground);
|
|
|
|
|
}
|
|
|
|
|
|