/* ========================================================================== * ÀÛ ¼º ÀÚ : À̼ø±Ô * ÀÛ ¼º ÀÏ : 2006.12.20 * ³» ¿ë : ¾îÇø®ÄÉÀÌ¼Ç À©µµ¿ì * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once /// ¾îÇø®ÄÉÀÌ¼Ç À©µµ¿ì class cAppWindow { public: cAppWindow( HWND wnd ); virtual ~cAppWindow(); // ÁÖÀÇ: ÀÓÀÇ·Î width, heightÀÇ º¯°æ ÇÔ¼ö¸¦ ¸¸µéÁö ¸»°Í. // º¯°æÀº Ç×»ó RenderSystemÀ» ÅëÇØ¼­ ToggleWindowÇÔ¼ö ³»ºÎ¿¡¼­¸¸ °¡´ÉÇϵµ·Ï ¼³Á¤ÇÑ´Ù. unsigned int GetWidth() const; unsigned int GetHeight() const; /// ÇÚµéÀ» ¸®ÅÏ NiWindowRef GetHandle() const; /// ½ºÅ©¸° ¸ðµå¸¦ º¯°æ void ToggleWindow( bool fullScreen ); private: /// ÇÚµé NiWindowRef mHandle; /// Å©±â unsigned int mWidth; unsigned int mHeight; /// À©µµ¿ì ½ºÅ¸ÀÏ unsigned long mWindowStyle; }; inline unsigned int cAppWindow::GetWidth() const { return mWidth; } inline unsigned int cAppWindow::GetHeight() const { return mHeight; } inline NiWindowRef cAppWindow::GetHandle() const { return mHandle; }