⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 menuslotmanager.h

📁 墨香最新私服
💻 H
字号:
// MenuSlotManager.h: interface for the CMenuSlotManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MENUSLOTMANAGER_H__7E9778D7_1C83_4B30_B3C5_436FB47AA91C__INCLUDED_)
#define AFX_MENUSLOTMANAGER_H__7E9778D7_1C83_4B30_B3C5_436FB47AA91C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "IndexGenerator.h"

#define MENUSLOTMGR USINGTON(CMenuSlotManager)

class cIcon;
class CMenuIcon;

class CMenuSlotManager  
{
protected:
	CIndexGenerator		m_IconIndexCreator;

public:
	CMenuSlotManager();
	virtual ~CMenuSlotManager();

	void Init();
	void Release();

	BOOL LoadMenuIcon( char* strFile );
	BOOL SaveMenuIcon( char* strFile );

	BOOL AddMenuIcon( WORD wPage, WORD wPos, cIcon* pIcon );
	BOOL DeleteMenuIcon( CMenuIcon* pMenuIcon );
	BOOL ExchangeMenuIcon( CMenuIcon* pMenuIcon1, CMenuIcon* pMenuIcon2 );
	BOOL MoveMenuIcon( WORD wPage, WORD wPos, CMenuIcon* pMenuIcon );
		
	BOOL UseMenuIcon( CMenuIcon* pMenuIcon );	
	
};

EXTERNGLOBALTON(CMenuSlotManager)

#endif // !defined(AFX_MENUSLOTMANAGER_H__7E9778D7_1C83_4B30_B3C5_436FB47AA91C__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -