milsko/include/MwOO/Widget/ListBox.h

24 lines
675 B
C
Raw Normal View History

/* $Id$ */
#ifndef __MWOO_WIDGET_LISTBOX_H__
#define __MWOO_WIDGET_LISTBOX_H__
#include <MwOO/Base.h>
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 InsertMultiple(int index, char** text, int count);
void Delete(int index);
const char* Get(int index);
void SetLeftPadding(int value);
int GetLeftPadding(void);
void SetBackground(const char* value);
const char* GetBackground(void);
void SetForeground(const char* value);
const char* GetForeground(void);
};
} // namespace MwOO
#endif