mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-04 08:30:51 +00:00
more methods
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@330 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user