work on text widget
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@227 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
7450b17bcf
commit
b230521a1a
7 changed files with 97 additions and 4 deletions
|
|
@ -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
|
||||
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/text.o
|
||||
|
|
|
|||
15
oosrc/widget/text.cc
Normal file
15
oosrc/widget/text.cc
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/* $Id$ */
|
||||
#include <MwOO/Widget/Text.h>
|
||||
#include <Mw/Widget/Text.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
int MwOO::Text::GetChecked(void){
|
||||
return MwGetInteger(this->widget, MwNchecked);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue