📄 channelinsystem.h
字号:
// LobbyScene.h: interface for the CMCLobbyScene class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CHANNELSCENE_H__29665D93_452E_42E8_B407_9C94B4ACBE5D__INCLUDED_)
#define AFX_CHANNELSCENE_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 "GraphicListCtrl.h"
#include "MCSound.h"
enum MAIN_CHANNELSELECT_BUTTON{
ID_BUTTON_CHANNEL_REFRESH = 50,
ID_BUTTON_CHANNEL_EXIT,
};
#define ID_CHANNELLIST_BUTTON 60 //60 - 72
class CMCChannelInScene : public CScene
{
public:
CMCChannelInScene(CDrawEx *pDraw);
virtual ~CMCChannelInScene();
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();
void Delete_ChannelList(int Index);
LRESULT SceneProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
HRESULT InvalidateDeviceObjects();
HRESULT RestoreDeviceObjects();
void Draw_BottonControls();
void Draw_GraphicList();
public:
CDrawEx *m_pDraw;
//咆胶媚
SPRITE_TEXTURE* m_pBackGround;
// BACK_TEXTURE m_pBackGround;
//Fonts
CMcFonts *m_pFonts;
//Button Control
CButtonCtrl *m_pButton_Refresh; //货肺绊摹 滚瓢
CButtonCtrl *m_pButton_Exit; //唱啊扁 滚瓢
//Graphic List Control
CGraphicListCtrl *m_pGChannelList; // 傈眉 盲澄 府胶飘
std::list <ChannelListInfo> m_pListChannelList;
};
#endif // !defined(AFX_CHANNELSCENE_H__29665D93_452E_42E8_B407_9C94B4ACBE5D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -