add label

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@213 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-08 10:09:10 +00:00
parent b07ee601cd
commit 406452391b
18 changed files with 167 additions and 15 deletions

View File

@@ -5,11 +5,11 @@
MwOO::CheckBox::CheckBox(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwCheckBoxClass, widget_name, parent, x, y, w, h){
}
void MwOO::CheckBox::SetPixmap(void* value){
MwSetVoid(this->widget, MwNpixmap, value);
void MwOO::CheckBox::SetChecked(int value){
MwSetInteger(this->widget, MwNchecked, value);
}
void* MwOO::CheckBox::GetPixmap(void){
return MwGetVoid(this->widget, MwNpixmap);
int MwOO::CheckBox::GetChecked(void){
return MwGetInteger(this->widget, MwNchecked);
}