mirror of
https://github.com/unknownworlds/NS.git
synced 2024-12-11 05:10:56 +00:00
f44f16d59a
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@168 67975925-1194-0748-b3d5-c16f83f1a3a1
34 lines
No EOL
743 B
C++
34 lines
No EOL
743 B
C++
#ifndef UIPIEMENU_H
|
|
#define UIPIEMENU_H
|
|
|
|
#include "ui/UIComponents.h"
|
|
|
|
class PieMenu;
|
|
|
|
class UIPieMenu : public UIPanel
|
|
{
|
|
public:
|
|
UIPieMenu(void);
|
|
|
|
// Destructor automatically removes component from the engine
|
|
virtual ~UIPieMenu(void);
|
|
|
|
virtual vgui::Panel* GetComponentPointer(void);
|
|
|
|
virtual const string& GetType(void) const;
|
|
|
|
virtual bool SetClassProperties(const TRDescription& inDescription, Panel* inComponent, CSchemeManager* inSchemeManager);
|
|
|
|
virtual void Update(float theCurrentTime);
|
|
|
|
private:
|
|
|
|
static const string UIPieMenuType;
|
|
|
|
virtual void AllocateComponent(const TRDescription& inDescription);
|
|
|
|
PieMenu* mPieMenu;
|
|
|
|
};
|
|
|
|
#endif |