paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/include pgapplication.h,1.8,1.9 pgwidget.h,1.


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/include pgapplication.h,1.8,1.9 pgwidget.h,1.9,1.10
Date: Tue, 30 Apr 2002 10:51:16 -0400

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

Modified Files:
        pgapplication.h pgwidget.h 
Log Message:
inlined some often used functions (have to check if this works for windows)



Index: pgapplication.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgapplication.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** pgapplication.h     30 Apr 2002 14:07:19 -0000      1.8
--- pgapplication.h     30 Apr 2002 14:51:13 -0000      1.9
***************
*** 440,444 ****
          might need to call this if you stop the normal event loop from 
running.
        */
!       static void DrawCursor();
        //! Set or query the type of mouse cursor to use.
        /*!
--- 440,444 ----
          might need to call this if you stop the normal event loop from 
running.
        */
!       static void DrawCursor(bool bUpdate = true);
        //! Set or query the type of mouse cursor to use.
        /*!

Index: pgwidget.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgwidget.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** pgwidget.h  30 Apr 2002 14:07:19 -0000      1.9
--- pgwidget.h  30 Apr 2002 14:51:13 -0000      1.10
***************
*** 209,213 ****
        @return                                                 true if object 
is visible
        */
!       bool IsVisible();
  
        /**
--- 209,215 ----
        @return                                                 true if object 
is visible
        */
!       inline bool IsVisible() {
!               return my_visible;
!       }
  
        /**
***************
*** 216,220 ****
        @return a pointer to the parentwidget or NULL if there is no 
parentwidget
        */
!       PG_Widget* GetParent();
  
        /**
--- 218,225 ----
        @return a pointer to the parentwidget or NULL if there is no 
parentwidget
        */
!       inline PG_Widget* GetParent() {
!               return my_parent;
!       }
! 
  
        /**
***************
*** 816,819 ****
--- 821,827 ----
        */
        SDL_Color my_colorBorder[2][2];
+ 
+       PG_Widget* my_parent;
+       bool my_visible;
  
  private:




reply via email to

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