Files
Client/GameTools/NeoRylClient/GUIButtonManager.h
LGram16 dd97ddec92 Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code:
- Client: Game client source (moved to Client/Client/)
- Server: Game server source
- GameTools: Development tools
- CryptoSource: Encryption utilities
- database: Database scripts
- Script: Game scripts
- rylCoder_16.02.2008_src: Legacy coder tools
- GMFont, Game: Additional resources

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 20:17:20 +09:00

45 lines
1.0 KiB
C++

// GUIButtonManager.h: interface for the CGUIButtonManager class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_GUIBUTTONMANAGER_H__148D53DB_B19B_4701_A72A_CBE12492825A__INCLUDED_)
#define AFX_GUIBUTTONMANAGER_H__148D53DB_B19B_4701_A72A_CBE12492825A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <vector>
#include "GUIButton.h"
using namespace std;
class CGUIButtonManager
{
protected:
public:
vector<CGUIButton *> m_lstButton;
void SetMove(long lMoveX, long lMoveY)
{
vector<CGUIButton *>::iterator it;
for(it = m_lstButton.begin(); it != m_lstButton.end(); it++)
{
(*it)->SetMove(lMoveX, lMoveY);
}
}
void Render(LPDIRECT3DDEVICE8 lpD3DDevice, unsigned char cAlpha = 0xFF);
void DestroyAllButton(void);
void Update(void);
BOOL AddButton(CGUIButton *pButton);
CGUIButtonManager();
~CGUIButtonManager();
};
extern CGUIButtonManager g_ButtonManager;
#endif // !defined(AFX_GUIBUTTONMANAGER_H__148D53DB_B19B_4701_A72A_CBE12492825A__INCLUDED_)