axmol/tests/fairygui-tests/Source/BagWindow.h

25 lines
432 B
C
Raw Normal View History

2020-08-04 13:15:02 +08:00
#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