CWndVendorCtrl::CWndVendorCtrl() { m_nWndColor = D3DCOLOR_TEMP( 255, 0x5 << 3, 0x5 << 3, 0x5 << 3 ); m_nFontColor = D3DCOLOR_TEMP( 255, 255, 255, 255 ); m_nSelectColor = D3DCOLOR_TEMP( 255, 255, 255, 0 ); m_nCurSel = -1; m_pFocusItem = NULL; m_pMover = NULL; m_bDrag = FALSE; }
CWndGuildMeritCtrl::CWndGuildMeritCtrl() { m_nWndColor = D3DCOLOR_TEMP( 255, 0x5 << 3, 0x5 << 3, 0x5 << 3 ); m_nFontColor = D3DCOLOR_TEMP( 255, 255, 255, 255 ); m_nSelectColor = D3DCOLOR_TEMP( 255, 255, 255, 0 ); m_nCurSel = -1; m_pFocusItem = NULL; m_pItemContainer.clear(); m_bDrag = FALSE; }
CWndRepairItemCtrl::CWndRepairItemCtrl() { m_nWndColor = D3DCOLOR_TEMP( 255, 0x5 << 3, 0x5 << 3, 0x5 << 3 ); m_nFontColor = D3DCOLOR_TEMP( 255, 255, 255, 255 ); m_nSelectColor = D3DCOLOR_TEMP( 255, 255, 255, 0 ); m_nCurSel = -1; m_pFocusItem = NULL; m_pdwIdRepair = NULL; m_bDrag = FALSE; }
CWndShopCtrl::CWndShopCtrl() { m_nWndColor = D3DCOLOR_TEMP( 255, 0x5 << 3, 0x5 << 3, 0x5 << 3 ); m_nFontColor = D3DCOLOR_TEMP( 255, 255, 255, 255 ); m_nSelectColor = D3DCOLOR_TEMP( 255, 255, 255, 0 ); m_nCurSelect = -1; m_bDrag = FALSE; m_nLastPoint = 0; Clear(); m_nTabType = 0; }