git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@234 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-09 00:41:36 +00:00
parent 662f5796c5
commit 99de2b52fa
3 changed files with 22 additions and 7 deletions

View File

@@ -5,12 +5,12 @@
MwOO::Text::Text(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwTextClass, widget_name, parent, x, y, w, h){
}
void MwOO::Text::SetChecked(int value){
MwSetInteger(this->widget, MwNchecked, value);
void MwOO::Text::SetText(const char* value){
MwSetText(this->widget, MwNtext, value);
}
int MwOO::Text::GetChecked(void){
return MwGetInteger(this->widget, MwNchecked);
const char* MwOO::Text::GetText(void){
return MwGetText(this->widget, MwNtext);
}
void MwOO::Text::SetBackground(const char* value){