paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/src/widgets pgwidget.cpp,1.4.4.2,1.4.4.3


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/widgets pgwidget.cpp,1.4.4.2,1.4.4.3
Date: Fri, 07 Jun 2002 10:46:52 -0400

Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv12797/src/widgets

Modified Files:
      Tag: devel-1-0
        pgwidget.cpp 
Log Message:
fixed PG_Widget::DrawText



Index: pgwidget.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgwidget.cpp,v
retrieving revision 1.4.4.2
retrieving revision 1.4.4.3
diff -C2 -r1.4.4.2 -r1.4.4.3
*** pgwidget.cpp        28 May 2002 10:25:07 -0000      1.4.4.2
--- pgwidget.cpp        7 Jun 2002 14:46:50 -0000       1.4.4.3
***************
*** 1484,1488 ****
  
  void PG_Widget::DrawText(int x, int y, const char* text) {
!       DrawText(PG_Rect(x,y,0,0), text);
  }
  
--- 1484,1488 ----
  
  void PG_Widget::DrawText(int x, int y, const char* text) {
!       DrawText(PG_Rect(x,y,w,h), text);
  }
  
***************
*** 1501,1509 ****
  void PG_Widget::DrawText(const PG_Rect& rect, const char* text, const 
SDL_Color& c) {
        SetFontColor(c);
!       DrawText(PG_Rect(x,y,0,0), text);
  }
  
  void PG_Widget::DrawText(int x, int y, const char* text, const SDL_Color& c) {
!       DrawText(PG_Rect(x,y,0,0), text, c);
  }
  
--- 1501,1509 ----
  void PG_Widget::DrawText(const PG_Rect& rect, const char* text, const 
SDL_Color& c) {
        SetFontColor(c);
!       DrawText(rect, text);
  }
  
  void PG_Widget::DrawText(int x, int y, const char* text, const SDL_Color& c) {
!       DrawText(PG_Rect(x,y,w,h), text, c);
  }
  




reply via email to

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