pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/gui display_graphic_context.cxx,1.1,1


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/gui display_graphic_context.cxx,1.1,1.2 display_graphic_context.hxx,1.1,1.2 graphic_context.hxx,1.1,1.2
Date: 16 Mar 2003 23:07:05 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/gui
In directory dark:/tmp/cvs-serv9196/gui

Modified Files:
        display_graphic_context.cxx display_graphic_context.hxx 
        graphic_context.hxx 
Log Message:
bunch of small things


Index: display_graphic_context.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/gui/display_graphic_context.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- display_graphic_context.cxx 19 Feb 2003 09:51:44 -0000      1.1
+++ display_graphic_context.cxx 16 Mar 2003 23:07:02 -0000      1.2
@@ -152,6 +152,12 @@
   return offset.y;
 }
 
+void
+DisplayGraphicContext::clear (float r, float g, float b)
+{
+  CL_Display::clear_display(r, g, b);
+}
+
 void 
 DisplayGraphicContext::draw (Sprite& sprite, const Vector& pos)
 {

Index: display_graphic_context.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/gui/display_graphic_context.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- display_graphic_context.hxx 19 Feb 2003 09:51:44 -0000      1.1
+++ display_graphic_context.hxx 16 Mar 2003 23:07:02 -0000      1.2
@@ -71,6 +71,8 @@
   Vector screen_to_world (Vector pos);
   Vector world_to_screen (Vector pos);
 
+  void clear (float r, float g, float b);
+
   void draw (Sprite& sprite, const Vector& pos);
   void draw (Sprite& sprite, const Vector& pos, int frame);
   void draw (CL_Surface& sur, const Vector& pos);

Index: graphic_context.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/gui/graphic_context.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- graphic_context.hxx 19 Feb 2003 09:51:44 -0000      1.1
+++ graphic_context.hxx 16 Mar 2003 23:07:02 -0000      1.2
@@ -62,6 +62,8 @@
   virtual Vector screen_to_world (Vector pos) =0;
   virtual Vector world_to_screen (Vector pos) =0;
 
+  virtual void clear (float r, float g, float b) =0;
+
   virtual void draw (Sprite& sprite, const Vector& pos) =0;
   virtual void draw (Sprite& sprite, const Vector& pos, int frame) =0;
   virtual void draw (CL_Surface& sur, const Vector& pos) =0;





reply via email to

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