Example #1
0
void DynamicDisplayItem::Draw(const ItemDrawData * theData, const class Theme * theTheme)
{
	bool aSelected = (theData->State & ITEMSTATE_SELECTED) != 0;

	if ( theData->ContentMask == ITEMCONTENT_ALL )
		DrawFull(theData->DC, aSelected, theData->Rect, theTheme);

	else if (theData->ContentMask == ITEMCONTENT_ICON )
		DrawIconOnly(theData->DC, aSelected, theData->Rect, theTheme);
}
void glArchivItem_Bitmap::DrawFull(const DrawPoint& dstPos, unsigned color)
{
    DrawFull(Rect(dstPos, GetSize()), color);
}