2006-11-02 22:40:36 +01: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 12:50:08 +01:00
|
|
|
|
|
|
|
public override bool ProcessEvents()
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
return base.ProcessEvents();
|
|
|
|
}
|
2006-11-02 22:40:36 +01:00
|
|
|
}
|
|
|
|
}
|