CBCGPRadialMenuObject::CBCGPRadialMenuObject()
{
	m_nHighlighted = -1;
	m_nPressed = -1;
	m_nLastClicked = -1;
	m_pCtrl = NULL;
	m_nAutoRepeatTimeDelay = 0;
	m_nAutoRepeatTimerID = 0;
	m_bIsFirstClick = TRUE;
	m_bHasCenterButton = FALSE;
	m_bIsCloseOnInvoke = TRUE;
	m_cxIcon = 16;
	m_nShadowDepth = 0;

	SetColorTheme(BCGP_COLOR_THEME_SILVER);

	m_brShadow.SetColors(CBCGPColor(.1, .1, .1, .1), CBCGPColor(1, 1, 1, .1), CBCGPBrush::BCGP_GRADIENT_DIAGONAL_LEFT);
}
//*******************************************************************************
void CBCGPTextGaugeImpl::SetText(const CString& str, const CBCGPColor& clrText, BOOL bRedraw)
{
	m_strText = str;
	CreateResources(clrText == CBCGPColor() ? CBCGPBrush() : CBCGPBrush(clrText), FALSE);

	SetDirty();

	if (bRedraw)
	{
		Redraw();
	}
}
//*******************************************************************************
void CBCGPChartObject::CommonInit()
{
	m_pParentChart = NULL;

	m_pXAxis = NULL;
	m_pYAxis = NULL;

	m_rectScreen.SetRectEmpty();
	m_rectCoordinates = CBCGPChartObject::_EmptyRect;
	m_szObjectSize.SetSizeEmpty();

	m_nObjectID = -1;

	m_bVisible = TRUE;
	m_bIsForeground = TRUE;

	m_dblShadowDepth = 0.;

	m_brShadow.SetColor(CBCGPColor(.1, .1, .1, .1));
}