// Welcom.h: interface for the CWelcom class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_WELCOM_H__E0A8EC11_3D6B_48FF_87C1_396C27C61F16__INCLUDED_) #define AFX_WELCOM_H__E0A8EC11_3D6B_48FF_87C1_396C27C61F16__INCLUDED_ #if _MSC_VER > 1000 #pragma once #include #include "GameEngine.h" #include "Resource.h" #include "Bitmap.h" #include "Button.h" #include "Content.h" #include "SideBar.h" #include "Digitalv.h" #endif // _MSC_VER > 1000 #include "Panel.h" class CWelcome : public CPanel { private: void SetVideoClip(int xPos,int yPos,char *szFileName); DWORD PlayMovie(WORD wDevID, DWORD dwFrom, DWORD dwTo); Bitmap *bmpBackGround; HWND hwndMovie; bool bPlayingMovie; bool bOnceMouseDown; MCI_DGV_OPEN_PARMS mciOpen; bool bUnderline[7]; CButton *btnLinks[7]; CSideBar *_pMainSideBar; CContent *pContent; CButton *btHideShowPanel; public: void MouseMove(int x,int y); void MouseButtonUp(int x,int y,BOOL bLeft); CWelcome(int ix,int iy,int iwidth,int iheight,int iLayerWidth,int iLayerHeight,UINT uiBG,CSideBar *_pMainSideBar,CContent *pContent,CButton *btHideShowPanel); virtual ~CWelcome(); void DrawScreen(HDC hDC); void ShowPanel(bool bShow); void MouseButtonDown(int x,int y,BOOL bLeft); }; #endif // !defined(AFX_WELCOM_H__E0A8EC11_3D6B_48FF_87C1_396C27C61F16__INCLUDED_)