mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 02:43:30 +00:00
add MwNleftPadding and update binding
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@346 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -21,6 +21,14 @@ int MwOO::Label::GetAlignment(void){
|
||||
return MwGetInteger(this->widget, MwNalignment);
|
||||
}
|
||||
|
||||
void MwOO::Label::SetBold(int value){
|
||||
MwSetInteger(this->widget, MwNbold, value);
|
||||
}
|
||||
|
||||
int MwOO::Label::GetBold(void){
|
||||
return MwGetInteger(this->widget, MwNbold);
|
||||
}
|
||||
|
||||
void MwOO::Label::SetBackground(const char* value){
|
||||
MwSetText(this->widget, MwNbackground, value);
|
||||
}
|
||||
|
||||
@@ -17,6 +17,14 @@ void MwOO::ListBox::Delete(int index){
|
||||
const char* MwOO::ListBox::Get(int index){
|
||||
return MwListBoxGet(this->widget, index);
|
||||
}
|
||||
void MwOO::ListBox::SetLeftPadding(int value){
|
||||
MwSetInteger(this->widget, MwNleftPadding, value);
|
||||
}
|
||||
|
||||
int MwOO::ListBox::GetLeftPadding(void){
|
||||
return MwGetInteger(this->widget, MwNleftPadding);
|
||||
}
|
||||
|
||||
void MwOO::ListBox::SetBackground(const char* value){
|
||||
MwSetText(this->widget, MwNbackground, value);
|
||||
}
|
||||
|
||||
@@ -16,6 +16,30 @@ const char* MwOO::Window::GetTitle(void){
|
||||
return MwGetText(this->widget, MwNtitle);
|
||||
}
|
||||
|
||||
void MwOO::Window::SetMain(int value){
|
||||
MwSetInteger(this->widget, MwNmain, value);
|
||||
}
|
||||
|
||||
int MwOO::Window::GetMain(void){
|
||||
return MwGetInteger(this->widget, MwNmain);
|
||||
}
|
||||
|
||||
void MwOO::Window::SetIconPixmap(void* value){
|
||||
MwSetVoid(this->widget, MwNiconPixmap, value);
|
||||
}
|
||||
|
||||
void* MwOO::Window::GetIconPixmap(void){
|
||||
return MwGetVoid(this->widget, MwNiconPixmap);
|
||||
}
|
||||
|
||||
void MwOO::Window::SetSizeHints(void* value){
|
||||
MwSetVoid(this->widget, MwNsizeHints, value);
|
||||
}
|
||||
|
||||
void* MwOO::Window::GetSizeHints(void){
|
||||
return MwGetVoid(this->widget, MwNsizeHints);
|
||||
}
|
||||
|
||||
void MwOO::Window::SetBackground(const char* value){
|
||||
MwSetText(this->widget, MwNbackground, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user