Files
milsko/include/MwOO/Widget/ListBox.h
NishiOwO 07199650b7 less memleak
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@361 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-16 10:42:59 +00:00

25 lines
714 B
C++

/* $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, MwLLPixmap pixmap);
void InsertMultiple(int index, char** text, MwLLPixmap* pixmap, 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