[dasher] Return framerate to 40fps by popular demand.



commit 609740a6a654ab3c946e131047f7330c5da3376e
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Fri Jul 3 12:31:05 2009 +0100

    Return framerate to 40fps by popular demand.

 ChangeLog                  |    5 +++++
 Src/Gtk2/DasherControl.cpp |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f60f3c9..1f537ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-03  Patrick Welche <prlw1 cam ac uk>
+
+	* Gtk2/DasherControl.cpp: Return framerate to 40fps by popular
+	demand.
+
 2009-07-02  Patrick Welche <prlw1 cam ac uk>
 
 	* White space to keep gcc happy, and typos.
diff --git a/Src/Gtk2/DasherControl.cpp b/Src/Gtk2/DasherControl.cpp
index c145daa..59dc26c 100644
--- a/Src/Gtk2/DasherControl.cpp
+++ b/Src/Gtk2/DasherControl.cpp
@@ -257,10 +257,10 @@ void CDasherControl::RealizeCanvas(GtkWidget *pWidget) {
 
 void CDasherControl::StartTimer() {
   // Start the timer loops as everything is set up.
-  // Aim for 10 frames per second, we aren't the only process on the system.
+  // Aim for 40 frames per second, computers are getting faster.
 
   if(g_iTimeoutID == 0) {
-    g_iTimeoutID = g_timeout_add_full(G_PRIORITY_DEFAULT_IDLE, 100, timer_callback, this, NULL);
+    g_iTimeoutID = g_timeout_add_full(G_PRIORITY_DEFAULT_IDLE, 25, timer_callback, this, NULL);
     // TODO: Reimplement this (or at least reimplement some kind of status reporting)
     //g_timeout_add_full(G_PRIORITY_DEFAULT_IDLE, 5000, long_timer_callback, this, NULL);
   }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]