?? itemshopsystem.h
字號:
// LobbyScene.h: interface for the CMCLobbyScene class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ITEMSHOPSCENE_H__29665D93_452E_42E8_B407_9C94B4ACBE5D__INCLUDED_)
#define AFX_ITEMSHOPSCENE_H__29665D93_452E_42E8_B407_9C94B4ACBE5D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "DrawEx.h"
#include "MCFonts.h"
#include "ButtonCtrl.h"
#include "ListBoxCtrl.h"
#include "UserInfo.h"
#include "GraphicListCtrl.h"
#include "PopupMenu.h"
#include "Animate.h"
#include "DrawBoxRect.h"
#include "MCSound.h"
#define ID_ITEMSHOP_BTN_EQUIP 1
#define ID_ITEMSHOP_BTN_REPAIR 2
#define ID_ITEMSHOP_BTN_SELL 3
#define ID_ITEMSHOP_BTN_DESCRIPT 4
#define ID_ITEMSHOP_BTN_PRESENT 5
#define ID_ITEMSHOP_BTN_BUY 6
#define ID_ITEMSHOP_BTN_BACK 7
#define ID_ITEMSHOP_BTN_MYITEM 8 // 8 - 12鱉瘤 葷儈
#define ID_ITEMSHOP_BTN_MYITEMFRONT 13
#define ID_ITEMSHOP_BTN_MYITEMBACK 14
#define ID_ITEMSHOP_BTN_MAKECHAR 15
#define ID_ITEMSHOP_BTN_DELETECHAR 16
#define ID_ITEMSHOP_BTN_CHARNEXT 17
#define ID_ITEMSHOP_BTN_CHARBACK 18
#define ID_ITEMSHOP_BTN_BATTLE 19
#define ID_ITEMSHOP_BTN_MEDIC 20
#define ID_ITEMSHOP_BTN_OPERATOR 21
#define ID_ITEMSHOP_BTN_ENGINEER 22
#define ID_ITEMSHOP_BTN_ARTILLERY 23
#define ID_ITEMSHOP_BTN_COMMON 24
#define ID_ITEMLIST_BUTTON 100
#define ID_ITEMLIST_COMMON_BUTTON 110
#define ID_ITEMLIST_BATTLE_BUTTON 120
#define ID_ITEMLIST_MEDIC_BUTTON 130
#define ID_ITEMLIST_OPERATOR_BUTTON 140
#define ID_ITEMLIST_ENGINEER_BUTTON 150
#define ID_ITEMLIST_ARTILLERY_BUTTON 160
class CMCItemShopScene : public CScene
{
public:
CMCItemShopScene(CDrawEx *pDraw);
virtual ~CMCItemShopScene();
void OnLButtonUp( int x, int y, UINT nFlags );
void OnLButtonDown( BOOL fDoubleClick, int x, int y, UINT nFlags );
void OnRButtonUp( int x, int y, UINT nFlags );
void OnRButtonDown( BOOL fDoubleClick, int x, int y, UINT nFlags );
void OnLButtonDClick( BOOL fDoubleClick, int x, int y, UINT nkeyFlags );
void OnMouseMove( int x, int y, UINT nFlags );
void OnMouseWheel( int x, int y, UINT nFlags );
void OnKeyDown( BYTE bVk, BYTE bScan, DWORD dwFlags, ULONG_PTR dwExtraInfo );
void OnKeyUp( BYTE bVk, BYTE bScan, DWORD dwFlags, ULONG_PTR dwExtraInfo );
void OnChar( UINT nChar, WPARAM wParam, LPARAM lParam);
void InitScene();
bool LoadScene();
void CleanupScene();
void ProcessEvent(UINT nCtrlID, UINT nEvent, DWORD nParam);
bool render();
LRESULT SceneProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
HRESULT InvalidateDeviceObjects();
HRESULT RestoreDeviceObjects();
void Draw_SystemMenu();
void Draw_SellItemList();
void Draw_SellItemButton();
void Draw_MyItemList();
void Draw_MyItemButton();
void Draw_ItemDesc();
bool Set_Item_List();
bool Set_Item_List(int nCategory);
public:
CDrawEx *m_pDraw;
//咆膠媚
SPRITE_TEXTURE *m_pBackGround;
// BACK_TEXTURE m_pBackGround;
//Fonts
CMcFonts *m_pFonts;
// CButtonCtrl *m_pDermy01;
// CButtonCtrl *m_pDermy02;
// 硅撇馮 措扁角 蠟歷滾瓢
CButtonCtrl *m_pButton_Back;
CButtonCtrl *m_pButton_ItemBuy;
CButtonCtrl *m_pButton_ItemPresent;
CButtonCtrl *m_pButton_ItemSell;
CButtonCtrl *m_pButton_ItemDestroy;
//徘滾瓢
CButtonCtrl *m_pButton_AllItem;
CButtonCtrl *m_pButton_AutoRifle;
CButtonCtrl *m_pButton_Rifle;
CButtonCtrl *m_pButton_Pistol;
CButtonCtrl *m_pButton_Canon;
CButtonCtrl *m_pButton_Support;
CButtonCtrl *m_pButton_Etc;
CButtonCtrl *m_pButton_MyAllItem;
CButtonCtrl *m_pButton_MyAutoRifle;
CButtonCtrl *m_pButton_MyRifle;
CButtonCtrl *m_pButton_MyPistol;
CButtonCtrl *m_pButton_MyCanon;
CButtonCtrl *m_pButton_MySupport;
CButtonCtrl *m_pButton_MyEtc;
CGraphicListCtrl *m_pGItemList; // 傈眉 蠟歷 府膠飄
/* CGraphicListCtrl *m_pGItemRifle;
CGraphicListCtrl *m_pGItemPistole;
CGraphicListCtrl *m_pGItemMachineGun;
CGraphicListCtrl *m_pGItemCanon;
CGraphicListCtrl *m_pGItemSupport;
CGraphicListCtrl *m_pGItemEtc;
*/
CGraphicListCtrl *m_pGMyItemList; // 傈眉 蠟歷 府膠飄
/* CGraphicListCtrl *m_pGMyItemRifle;
CGraphicListCtrl *m_pGMyItemPistole;
CGraphicListCtrl *m_pGMyItemMachineGun;
CGraphicListCtrl *m_pGMyItemCanon;
CGraphicListCtrl *m_pGMyItemSupport;
CGraphicListCtrl *m_pGMyItemEtc;
*/
};
#endif // !defined(AFX_ITEMSHOPSCENE_H__29665D93_452E_42E8_B407_9C94B4ACBE5D__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -