mirror of
https://github.com/digital-jellyfish/Virtu.git
synced 2024-05-31 15:41:33 +00:00
26bd5e3aa9
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
21 lines
497 B
C#
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; }
|
|
}
|
|
}
|