mirror of https://github.com/axmolengine/axmol.git
25 lines
432 B
C
25 lines
432 B
C
|
#ifndef __BAG_WINDOW_H__
|
||
|
#define __BAG_WINDOW_H__
|
||
|
|
||
|
#include "FairyGUI.h"
|
||
|
|
||
|
USING_NS_FGUI;
|
||
|
|
||
|
class BagWindow : public Window
|
||
|
{
|
||
|
public:
|
||
|
CREATE_FUNC(BagWindow);
|
||
|
|
||
|
protected:
|
||
|
virtual void onInit() override;
|
||
|
virtual void doShowAnimation() override;
|
||
|
virtual void doHideAnimation() override;
|
||
|
|
||
|
private:
|
||
|
void onClickItem(EventContext* context);
|
||
|
void renderListItem(int index, GObject* obj);
|
||
|
|
||
|
GList* _list;
|
||
|
};
|
||
|
|
||
|
#endif
|