mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
numberentry
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@246 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
# $Id$
|
||||
OOL_OBJS += oosrc/widget/button.o oosrc/widget/frame.o oosrc/widget/image.o oosrc/widget/menu.o oosrc/widget/scrollbar.o oosrc/widget/submenu.o oosrc/widget/window.o oosrc/widget/checkbox.o oosrc/widget/label.o oosrc/widget/entry.o
|
||||
OOL_OBJS += oosrc/widget/button.o oosrc/widget/frame.o oosrc/widget/image.o oosrc/widget/menu.o oosrc/widget/scrollbar.o oosrc/widget/submenu.o oosrc/widget/window.o oosrc/widget/checkbox.o oosrc/widget/label.o oosrc/widget/entry.o oosrc/widget/numberentry.o
|
||||
|
||||
31
oosrc/widget/numberentry.cc
Normal file
31
oosrc/widget/numberentry.cc
Normal file
@@ -0,0 +1,31 @@
|
||||
/* $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);
|
||||
}
|
||||
|
||||
@@ -14,9 +14,6 @@ void* MwOO::OpenGL::GetProcAddress(const char* name){
|
||||
void MwOO::OpenGL::SwapBuffer(void){
|
||||
MwOpenGLSwapBuffer(this->widget);
|
||||
}
|
||||
void MwOO::OpenGL::SetColor(MwLLColor color){
|
||||
MwOpenGLSetColor(this->widget, color);
|
||||
}
|
||||
void MwOO::OpenGL::SetBackground(const char* value){
|
||||
MwSetText(this->widget, MwNbackground, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user