This commit is contained in:
romkazvo
2023-08-07 19:29:24 +08:00
commit 34d6c5d489
4832 changed files with 1389451 additions and 0 deletions

67
CryGame/UIMenu.cpp Normal file
View File

@@ -0,0 +1,67 @@
#include "stdafx.h"
#include "UIMenu.h"
#include "UISystem.h"
//------------------------------------------------------------------------------------
CUIMenu::CUIMenu()
{
}
//------------------------------------------------------------------------------------
CUIMenu::~CUIMenu()
{
}
//------------------------------------------------------------------------------------
string CUIMenu::GetClassName()
{
return UICLASSNAME_MENU;
}
//------------------------------------------------------------------------------------
int CUIMenu::Update(unsigned int iMessage, unsigned int wParam, unsigned int lParam)
{
return 1;
}
//------------------------------------------------------------------------------------
int CUIMenu::Draw()
{
return 1;
}
//------------------------------------------------------------------------------------
int CUIMenu::Release()
{
return m_pUISystem->DestroyWidget(this);
}
//------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------
int CUIMenu::AddItem(CUIMenuItem *pMenuItem)
{
return 1;
}
//------------------------------------------------------------------------------------
int CUIMenu::DelItem(CUIMenuItem *pMenuItem)
{
return 1;
}
//------------------------------------------------------------------------------------
int CUIMenu::DelItem(const std::string &szName)
{
return 1;
}
//------------------------------------------------------------------------------------
CUIMenuItem *CUIMenu::FindItem(const std::string &szName)
{
return 0;
}
//------------------------------------------------------------------------------------