mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-10 21:55:11 +01:00
ListBox
This commit is contained in:
parent
2cb604b095
commit
b0ca5f88bd
@ -53,7 +53,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
class List : public gcn::Widget
|
||||
class List : public gcn::ListBox
|
||||
{
|
||||
public:
|
||||
class PrivListModel : public gcn::ListModel
|
||||
@ -77,8 +77,12 @@ public:
|
||||
int n_msgs;
|
||||
};
|
||||
|
||||
List(const char **msgs, int n_msgs) {
|
||||
List(const char **msgs, int n_msgs)
|
||||
{
|
||||
this->model = new PrivListModel(msgs, n_msgs);
|
||||
}
|
||||
private:
|
||||
PrivListModel *model;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user