2025-10-07 11:02:38 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
#include <MwOO/Widget/SubMenu.h>
|
|
|
|
|
#include <Mw/Widget/SubMenu.h>
|
|
|
|
|
|
2025-10-07 14:20:45 +00:00
|
|
|
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){
|
2025-10-07 11:02:38 +00:00
|
|
|
}
|
2025-10-07 15:10:46 +00:00
|
|
|
|
2025-10-07 15:42:47 +00:00
|
|
|
void MwOO::SubMenu::Appear(MwMenu menu, MwPoint* point){
|
|
|
|
|
MwSubMenuAppear(this->widget, menu, point);
|
|
|
|
|
}
|
2025-10-08 17:34:14 +00:00
|
|
|
void MwOO::SubMenu::SetBackground(const char* value){
|
|
|
|
|
MwSetText(this->widget, MwNbackground, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const char* MwOO::SubMenu::GetBackground(void){
|
|
|
|
|
return MwGetText(this->widget, MwNbackground);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void MwOO::SubMenu::SetForeground(const char* value){
|
|
|
|
|
MwSetText(this->widget, MwNforeground, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const char* MwOO::SubMenu::GetForeground(void){
|
|
|
|
|
return MwGetText(this->widget, MwNforeground);
|
|
|
|
|
}
|
|
|
|
|
|