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@437 b9cfdab3-6d41-4d17-bbe4-086880011989
28 lines
751 B
C++
28 lines
751 B
C++
/* $Id$ */
|
|
#include <MwOO/Widget/SubMenu.h>
|
|
#include <Mw/Widget/SubMenu.h>
|
|
|
|
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){
|
|
}
|
|
|
|
void MwOO::SubMenu::Appear(MwMenu menu, MwPoint* point){
|
|
MwSubMenuAppear(this->widget, menu, point);
|
|
}
|
|
|
|
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);
|
|
}
|
|
|