mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-10 03:13:28 +00:00
work on listbox
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@327 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
23
oosrc/widget/listbox.cc
Normal file
23
oosrc/widget/listbox.cc
Normal file
@@ -0,0 +1,23 @@
|
||||
/* $Id$ */
|
||||
#include <MwOO/Widget/ListBox.h>
|
||||
#include <Mw/Widget/ListBox.h>
|
||||
|
||||
MwOO::ListBox::ListBox(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwListBoxClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
void MwOO::ListBox::SetBackground(const char* value){
|
||||
MwSetText(this->widget, MwNbackground, value);
|
||||
}
|
||||
|
||||
const char* MwOO::ListBox::GetBackground(void){
|
||||
return MwGetText(this->widget, MwNbackground);
|
||||
}
|
||||
|
||||
void MwOO::ListBox::SetForeground(const char* value){
|
||||
MwSetText(this->widget, MwNforeground, value);
|
||||
}
|
||||
|
||||
const char* MwOO::ListBox::GetForeground(void){
|
||||
return MwGetText(this->widget, MwNforeground);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user