/* ========================================================================== * ÀÛ ¼º ÀÚ : À̼ø±Ô * ÀÛ ¼º ÀÏ : 2007.03.09 * ³» ¿ë : ȯ°æ Ä«¸Þ¶ó ´ÙÀ̾ó·Î±× * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once #include "UI/NumericEdit.h" class cAreaFogDialog; /// ȯ°æ Ä«¸Þ¶ó ´ÙÀ̾ó·Î±× class cEnvCameraDialog : public CDialog { DECLARE_DYNAMIC(cEnvCameraDialog) public: cEnvCameraDialog(); virtual ~cEnvCameraDialog(); void Update( float farDist ); float GetFarDistance() const; protected: virtual void DoDataExchange( CDataExchange* dx ); BOOL OnInitDialog(); protected: DECLARE_MESSAGE_MAP() afx_msg LRESULT OnChangedFarDist( WPARAM id, LPARAM ); private: /// ¼ýÀÚ ¿¡µðÆ® cNumericEdit mFarDist; }; inline float cEnvCameraDialog::GetFarDistance() const { return mFarDist.GetValue() * 100.0f; }