2013-03-15 13:11:33 +00:00
|
|
|
namespace phoenix {
|
|
|
|
|
|
|
|
struct pMenu : public pAction {
|
2013-05-02 11:25:45 +00:00
|
|
|
Menu& menu;
|
2013-03-15 13:11:33 +00:00
|
|
|
|
2013-05-02 11:25:45 +00:00
|
|
|
void append(Action& action);
|
|
|
|
void remove(Action& action);
|
|
|
|
void setImage(const image& image);
|
2013-05-05 09:21:30 +00:00
|
|
|
void setText(string text);
|
2013-03-15 13:11:33 +00:00
|
|
|
|
2013-05-02 11:25:45 +00:00
|
|
|
pMenu(Menu& menu) : pAction(menu), menu(menu) {}
|
2013-03-15 13:11:33 +00:00
|
|
|
void constructor();
|
|
|
|
void destructor();
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|