コード例 #1
0
ファイル: DynamicDisplayItem.cpp プロジェクト: kerido/koapch
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);
}
コード例 #2
0
void glArchivItem_Bitmap::DrawFull(const DrawPoint& dstPos, unsigned color)
{
    DrawFull(Rect(dstPos, GetSize()), color);
}