OSDN Git Service

Merge branch 'master' of o_ggy@git.sourceforge.jp:/gitroot/moflib/moflib
[moflib/moflib.git] / saisei-1.0 / rpg / rpg / oldcode / ItemMenu.h
1 #pragma once
2 #include "MyFrame.h"
3 #include "mof/Texture.h"
4 #include "ItemOperationMenu.h"
5
6 namespace et{
7
8         class ItemMenu : public MyFrame
9         {
10                 mof::Window* addSelectableTextItem(mof::Window* pOwner , std::vector<mof::Window*>& selectables , TCHAR* text , int size);
11                 
12                 mof::SelectionModel* m_pSelector;
13                 mof::TextureManager* m_pTextureManager;
14         
15                 std::list<et::ItemData>& m_itemDataList;
16                 et::ItemOperatorFactory* m_pNextMenuFactory;
17         public:
18                 ItemMenu(mof::TextureManager* pTextureManager , std::list<et::ItemData>& itemDataList , et::ItemOperatorFactory* pNextMenuFactory);
19                 virtual ~ItemMenu(void);
20                 virtual void setVisible(bool visible);
21                 virtual mof::SelectionModel* getSelectionModel(){return m_pSelector;}
22                 virtual MyFrame* performAction();
23         };
24
25
26 };