Files
milsko/oosrc/widget/numberentry.cc
NishiOwO 9fc580eeb2 numberentry
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@246 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-10 06:08:19 +00:00

32 lines
870 B
C++

/* $Id$ */
#include <MwOO/Widget/NumberEntry.h>
#include <Mw/Widget/NumberEntry.h>
MwOO::NumberEntry::NumberEntry(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwNumberEntryClass, widget_name, parent, x, y, w, h){
}
void MwOO::NumberEntry::SetText(const char* value){
MwSetText(this->widget, MwNtext, value);
}
const char* MwOO::NumberEntry::GetText(void){
return MwGetText(this->widget, MwNtext);
}
void MwOO::NumberEntry::SetBackground(const char* value){
MwSetText(this->widget, MwNbackground, value);
}
const char* MwOO::NumberEntry::GetBackground(void){
return MwGetText(this->widget, MwNbackground);
}
void MwOO::NumberEntry::SetForeground(const char* value){
MwSetText(this->widget, MwNforeground, value);
}
const char* MwOO::NumberEntry::GetForeground(void){
return MwGetText(this->widget, MwNforeground);
}