/* ==================================================================== * ÆÄ ÀÏ : AppWindow.h * ¸ñ Àû : À©µµ¿ì â¿¡´ëÇÑ °ü¸® ¹× Á¤º¸ Á¦°ø * ÀÛ ¼º ÀÚ : À̹ý¼® * ÀÛ ¼º ÀÏ : 2005.12 * * Ãß°¡³»¿ë : * Ãß°¡³¯Â¥ ÀÛ¾÷ÀÚ Ãß°¡³»¿ë * 2005.12 À̹ý¼® »ý¼º * * ÁÖÀÇ»çÇ× : 1. Àý´ë·Î ÀÓÀÇ·Î width, heightÀÇ º¯°æ ÇÔ¼ö¸¦ ¸¸µéÁö ¸»°Í.. * º¯°æÀº Ç×»ó RenderSystemÀ» ÅëÇØ¼­ UpdateWindowÇÔ¼ö ³»ºÎ¿¡¼­¸¸ * °¡´ÉÇϵµ·Ï ¼³Á¤ÇÑ´Ù. * =================================================================== */ #pragma once class cAppWindow { public: cAppWindow(); ~cAppWindow(); /// window mutex handle static HANDLE mMutexHandle; static LPCTSTR GetWindowClassName() { return mWindowClassName; } inline unsigned int GetWidth() const { return mWidth; } inline unsigned int GetHeight() const { return mHeight; } inline NiWindowRef GetHWND() const { return mWnd; } /// À©µµ¿ì »ý¼º NiWindowRef Create( NiInstanceRef hi, unsigned int width, unsigned int height ); // /// window mode º¯°æ void AdjustWindowForChange( bool isFullScreen ); void AdjustWindowRect( unsigned int width, unsigned int height, bool Init = false ); void ChangeWindowOrder( bool top ); public: /// window cStageManager name static TCHAR mWindowClassName[]; private: /// window handle NiWindowRef mWnd; /// window width unsigned int mWidth; /// window height unsigned int mHeight; /// window style unsigned long mWindowStyle; };