paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/include pgrect.h,1.3,1.3.6.1


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/include pgrect.h,1.3,1.3.6.1
Date: Mon, 03 Jun 2002 06:51:42 -0400

Update of /cvsroot/paragui/paragui/include
In directory subversions:/tmp/cvs-serv29512/include

Modified Files:
      Tag: devel-1-0
        pgrect.h 
Log Message:
fixed "const" problem with Width() & Height() in PG_Rect



Index: pgrect.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgrect.h,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -C2 -r1.3 -r1.3.6.1
*** pgrect.h    15 Apr 2002 13:35:35 -0000      1.3
--- pgrect.h    3 Jun 2002 10:51:38 -0000       1.3.6.1
***************
*** 155,158 ****
--- 155,162 ----
        }
  
+       inline Uint16 Width() const {
+               return w;
+       }
+ 
        /**
        Return the height of the rectangle
***************
*** 160,163 ****
--- 164,171 ----
        */
        inline Uint16 Height() {
+               return h;
+       }
+ 
+       inline Uint16 Height() const {
                return h;
        }




reply via email to

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