stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@206 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
286ecbd71b
commit
2129cf9cb8
18 changed files with 202 additions and 2 deletions
|
|
@ -16,6 +16,38 @@ void MwOO::Base::Loop(void){
|
|||
MwLoop(this->widget);
|
||||
}
|
||||
|
||||
void MwOO::Base::SetX(int value){
|
||||
MwSetInteger(this->widget, MwNx, value);
|
||||
}
|
||||
|
||||
void MwOO::Base::SetY(int value){
|
||||
MwSetInteger(this->widget, MwNy, value);
|
||||
}
|
||||
|
||||
void MwOO::Base::SetWidth(int value){
|
||||
MwSetInteger(this->widget, MwNwidth, value);
|
||||
}
|
||||
|
||||
void MwOO::Base::SetHeight(int value){
|
||||
MwSetInteger(this->widget, MwNheight, value);
|
||||
}
|
||||
|
||||
int MwOO::Base::GetX(void){
|
||||
return MwGetInteger(this->widget, MwNx);
|
||||
}
|
||||
|
||||
int MwOO::Base::GetY(void){
|
||||
return MwGetInteger(this->widget, MwNy);
|
||||
}
|
||||
|
||||
int MwOO::Base::GetWidth(void){
|
||||
return MwGetInteger(this->widget, MwNwidth);
|
||||
}
|
||||
|
||||
int MwOO::Base::GetHeight(void){
|
||||
return MwGetInteger(this->widget, MwNheight);
|
||||
}
|
||||
|
||||
/* BEGIN AUTOGENERATE */
|
||||
static void __OnActivate(MwWidget widget, void* user, void* call){
|
||||
MwOO::Base* c = (MwOO::Base*)user;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue