pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] r2942 - branches/pingus_sdl/src


From: grumbel at BerliOS
Subject: [Pingus-CVS] r2942 - branches/pingus_sdl/src
Date: Thu, 16 Aug 2007 00:10:48 +0200

Author: grumbel
Date: 2007-08-16 00:10:47 +0200 (Thu, 16 Aug 2007)
New Revision: 2942

Modified:
   branches/pingus_sdl/src/console.cpp
Log:
- little fix to the console, also changed background to green

Modified: branches/pingus_sdl/src/console.cpp
===================================================================
--- branches/pingus_sdl/src/console.cpp 2007-08-15 21:53:10 UTC (rev 2941)
+++ branches/pingus_sdl/src/console.cpp 2007-08-15 22:10:47 UTC (rev 2942)
@@ -124,7 +124,7 @@
   *this << "Welcome to Pingus " << VERSION << std::endl;
   *this << "================================" << std::endl;
   newline ();
-  *this << "This is the output and debug console, you can toggle it with ^" << 
std::endl;
+  *this << "This is the output and debug console, you can toggle it with F1" 
<< std::endl;
   newline ();
 }
 
@@ -164,10 +164,10 @@
     Display::get_height() - (font.get_height() * (number_of_lines + 3));
 
   // The background of the console
-  Display::fill_rect(Rect(0, start_y_pos - 15,
-                          Display::get_width(),
-                          Display::get_height()),
-                     Color(0, 0, 0, 128));
+  Display::fill_rect(Rect(0, start_y_pos - 15, Display::get_width(), 
Display::get_height()),
+                     Color(0, 50, 0, 128));
+  Display::fill_rect(Rect(0, start_y_pos - 15 - 4, Display::get_width(), 
start_y_pos - 15),
+                     Color(0, 150, 0, 128));
 
   const std::list<std::string>& buffer = streambuf.get_buffer ();
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]