pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] r3854 - trunk/pingus/src/display


From: grumbel at BerliOS
Subject: [Pingus-CVS] r3854 - trunk/pingus/src/display
Date: Thu, 17 Jul 2008 18:07:40 +0200

Author: grumbel
Date: 2008-07-17 18:07:39 +0200 (Thu, 17 Jul 2008)
New Revision: 3854

Modified:
   trunk/pingus/src/display/framebuffer.hpp
   trunk/pingus/src/display/sdl_framebuffer.cpp
   trunk/pingus/src/display/sdl_framebuffer.hpp
Log:
Const fix

Modified: trunk/pingus/src/display/framebuffer.hpp
===================================================================
--- trunk/pingus/src/display/framebuffer.hpp    2008-07-17 13:14:19 UTC (rev 
3853)
+++ trunk/pingus/src/display/framebuffer.hpp    2008-07-17 16:07:39 UTC (rev 
3854)
@@ -46,7 +46,7 @@
   virtual void draw_rect(const Rect& rect, const Color& color) =0;
   virtual void fill_rect(const Rect& rect, const Color& color) =0;
 
-  virtual Size get_size() =0;
+  virtual Size get_size() const =0;
 };
 
 #endif

Modified: trunk/pingus/src/display/sdl_framebuffer.cpp
===================================================================
--- trunk/pingus/src/display/sdl_framebuffer.cpp        2008-07-17 13:14:19 UTC 
(rev 3853)
+++ trunk/pingus/src/display/sdl_framebuffer.cpp        2008-07-17 16:07:39 UTC 
(rev 3854)
@@ -409,7 +409,7 @@
 }
 
 Size
-SDLFramebuffer::get_size()
+SDLFramebuffer::get_size() const
 {
   return Size(screen->w, screen->h);
 }

Modified: trunk/pingus/src/display/sdl_framebuffer.hpp
===================================================================
--- trunk/pingus/src/display/sdl_framebuffer.hpp        2008-07-17 13:14:19 UTC 
(rev 3853)
+++ trunk/pingus/src/display/sdl_framebuffer.hpp        2008-07-17 16:07:39 UTC 
(rev 3854)
@@ -51,7 +51,7 @@
   void draw_rect(const Rect& rect, const Color& color);
   void fill_rect(const Rect& rect, const Color& color);
 
-  Size get_size();
+  Size get_size() const;
 
 private:
   SDLFramebuffer (const SDLFramebuffer&);





reply via email to

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