Example #1
0
short int ListPage::DrawFrame(Rect drawRect, colorSets whichColors)
{
	if (m_osdRegionIndex == 0)
		return 0;

	ListColors theColors = GetColorDef(whichColors);

	drawRect.Fill(m_osdRegionIndex, theColors.bgColor);
	drawRect.DrawBox(m_osdRegionIndex, 2, theColors.frameColor);

	return 2;
}
Example #2
0
short int ListPage::DrawHeaderFrame(Rect drawRect)
{
	if (m_osdRegionIndex == 0)
		return 0;

	ListColors theColors = GetColorDef(headerColors);

	drawRect.Fill(m_osdRegionIndex, theColors.bgColor);
	drawRect.DrawBox(m_osdRegionIndex, 2, theColors.frameColor);

	return 2;
}