Files
milsko/oosrc/widget/checkbox.cc
NishiOwO 406452391b add label
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@213 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-08 10:09:10 +00:00

16 lines
427 B
C++

/* $Id$ */
#include <MwOO/Widget/CheckBox.h>
#include <Mw/Widget/CheckBox.h>
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::SetChecked(int value){
MwSetInteger(this->widget, MwNchecked, value);
}
int MwOO::CheckBox::GetChecked(void){
return MwGetInteger(this->widget, MwNchecked);
}