Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
47 lines
1.2 KiB
C++
47 lines
1.2 KiB
C++
// MeshContainerBar.cpp: implementation of the CMeshContainerBar class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#include "stdafx.h"
|
|
#include "WorldCreator.h"
|
|
#include "MeshContainerBar.h"
|
|
|
|
#ifdef _DEBUG
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[]=__FILE__;
|
|
#define new DEBUG_NEW
|
|
#endif
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// Construction/Destruction
|
|
//////////////////////////////////////////////////////////////////////
|
|
CMeshContainerBar::CMeshContainerBar()
|
|
{
|
|
|
|
}
|
|
|
|
CMeshContainerBar::~CMeshContainerBar()
|
|
{
|
|
}
|
|
|
|
void CMeshContainerBar::OnInitDialogBar()
|
|
{
|
|
m_MeshContainerSheet=new CMeshContainerSheet("Rainbow");
|
|
m_MeshContainerSheet->EnableStackedTabs( FALSE );
|
|
m_MeshContainerSheet->Create(this,WS_CHILD|WS_VISIBLE,0);
|
|
m_MeshContainerSheet->ModifyStyleEx(0,WS_EX_CONTROLPARENT);
|
|
m_MeshContainerSheet->ModifyStyle(0,WS_TABSTOP);
|
|
m_MeshContainerSheet->MoveWindow(0,0,335,800);
|
|
|
|
CTabCtrl * pTabCtrl = m_MeshContainerSheet->GetTabControl();
|
|
pTabCtrl->SetMinTabWidth( 10 );
|
|
pTabCtrl->SetWindowPos( NULL, 0,0,325,800, SWP_NOZORDER | SWP_NOMOVE );
|
|
|
|
}
|
|
void CMeshContainerBar::Destory()
|
|
{
|
|
m_MeshContainerSheet->DestroyWindow();
|
|
delete m_MeshContainerSheet;
|
|
}
|