Ejemplo n.º 1
0
void LayoutManager::Draw(DrawingContext &dc, float interpolation) const
{
	dc.SetMode(INTERFACE);

    DrawWindowRecursive(*_desktop.Get(), dc, false, false);
    DrawWindowRecursive(*_desktop.Get(), dc, true, false);

#ifndef NDEBUG
	for (auto &id2pos: _lastPointerLocation)
	{
		math::RectFloat dst = { id2pos.second.x-4, id2pos.second.y-4, id2pos.second.x+4, id2pos.second.y+4 };
		dc.DrawSprite(&dst, 0U, 0xffffffff, 0U);
	}
#endif
}