more methods
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@330 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
dd2e8e1d57
commit
81b3edd023
11 changed files with 166 additions and 12 deletions
|
|
@ -26,6 +26,13 @@ MWDECL MwClass MwListBoxClass;
|
|||
*/
|
||||
MWDECL void MwListBoxInsert(MwWidget handle, int index, const char* text);
|
||||
|
||||
/*!
|
||||
* %brief Deletes item from the listbox
|
||||
* %param handle Widget
|
||||
* %param index Index
|
||||
*/
|
||||
MWDECL void MwListBoxDelete(MwWidget handle, int index);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ namespace MwOO {
|
|||
class ListBox : public MwOO::Base {
|
||||
public:
|
||||
ListBox(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void Insert(int index, const char* text);
|
||||
void Delete(int index);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue