Opentk/Source/Framework/WindowsPlatform.cs

25 lines
485 B
C#
Raw Normal View History

2006-11-02 21:40:36 +00:00
using System;
using System.Collections.Generic;
using System.Text;
using OpenTK.Platform.Windows;
namespace OpenTK
{
class WindowsPlatform : PlatformSpecific
{
public override bool IsIdle()
{
WinApi.Message msg;
return !WinApi.PeekMessage(out msg, IntPtr.Zero, 0, 0, 0);
}
2006-11-05 11:50:08 +00:00
public override bool ProcessEvents()
{
return base.ProcessEvents();
}
2006-11-02 21:40:36 +00:00
}
}