changeset 33567:251a48bca536

Implement uiStop and remove outdated comment.
author reimar
date Sun, 19 Jun 2011 12:36:12 +0000
parents b2dad0a365ea
children 276ab400eb1c
files gui/win32/interface.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/interface.c	Sun Jun 19 12:26:38 2011 +0000
+++ b/gui/win32/interface.c	Sun Jun 19 12:36:12 2011 +0000
@@ -431,6 +431,11 @@
     guiGetEvent(guiCEvent, (void *) guiSetStop);
 }
 
+void uiStop()
+{
+    guiGetEvent(guiCEvent, (void *) guiSetStop);
+}
+
 void uiSetFileName(char *dir, char *name, int type)
 {
     if(!name) return;
@@ -860,7 +865,7 @@
 
     if(!sub_window)
     {
-        WinID = -1; // so far only directx supports WinID in windows
+        WinID = -1;
 
         if(IsWindowVisible(mygui->subwindow) && guiInfo.sh_video && guiInfo.Playing)
         {