Virtu/Virtu/Services/VideoService.cs
Sean Fausett 26bd5e3aa9 Cosmetic changes.
Modified to clear audio buffer on reset.
Refactored keyboard services and unified key bindings where practical.

--HG--
extra : convert_revision : svn%3Affd33b8c-2492-42e0-bdc5-587b920b7d6d/trunk%4044385
2010-04-01 23:00:24 +00:00

21 lines
497 B
C#

namespace Jellyfish.Virtu.Services
{
public abstract class VideoService : MachineService
{
protected VideoService(Machine machine) :
base(machine)
{
}
public abstract void SetPixel(int x, int y, uint color);
public abstract void Update(); // main thread
public void ToggleFullScreen()
{
IsFullScreen ^= true;
}
public bool IsFullScreen { get; private set; }
}
}