mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-23 21:12:16 +00:00
8ec7b4bf0b
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@352 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 |