public void DrawCursor(ref float x, ref float y, float size)
{
if(x < 0)
{
x = 0;
}
if(x >= _videoWidth)
{
x = _videoWidth;
}
if(y < 0)
{
y = 0;
}
if(y >= _videoHeight)
{
y = _videoHeight;
}
idE.RenderSystem.Color = idColor.White;
AdjustCoordinates(ref x, ref y, ref size, ref size);
DrawStretchPicture(x, y, size, size, 0, 0, 1, 1, _cursorImages[(int) _cursor]);
}