diff mde/mainLoop.d @ 170:e45226d3deae

Context menu services not applicable to the current type can now be hidden. Added files missing from previous commits.
author Diggory Hardy <diggory.hardy@gmail.com>
date Mon, 29 Jun 2009 21:20:16 +0200
parents 9f035cd139c6
children
line wrap: on
line diff
--- a/mde/mainLoop.d	Mon Jun 29 18:55:50 2009 +0200
+++ b/mde/mainLoop.d	Mon Jun 29 21:20:16 2009 +0200
@@ -14,7 +14,7 @@
 along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
 /******************************************************************************
- * Adds some basic functionality to the main loop.
+ * Adds some standard functionality to the main loop.
  *****************************************************************************/
 module mde.mainLoop;
 
@@ -29,7 +29,7 @@
     mainSchedule.add (mainSchedule.getNewID, &mde.events.pollEvents).frame = true;
     // Polling interval of main loop; use old name to save renaming:
     pollInterval = new DoubleContent ("MiscOptions.pollInterval");
-    pollInterval.addCallback (delegate void(Content) {
+    pollInterval.addCallback (delegate void(IContent) {
         if (pollInterval() !<= 0.1 || pollInterval() !>= 0.0)
             pollInterval = 0.01;
         mainInterval = pollInterval();