paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/src/widgets pgscrollbar.cpp,1.3,1.3.6.1 pgthe


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/widgets pgscrollbar.cpp,1.3,1.3.6.1 pgthemewidget.cpp,1.3.6.4,1.3.6.5
Date: Thu, 25 Jul 2002 03:27:40 -0400

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

Modified Files:
      Tag: devel-1-0
        pgscrollbar.cpp pgthemewidget.cpp 
Log Message:
updated PhysicsFS



Index: pgscrollbar.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgscrollbar.cpp,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -C2 -r1.3 -r1.3.6.1
*** pgscrollbar.cpp     15 Apr 2002 13:35:36 -0000      1.3
--- pgscrollbar.cpp     25 Jul 2002 07:27:38 -0000      1.3.6.1
***************
*** 60,64 ****
          if ((Sint16)position[2].h < 0)
              position[2].h = 0;
- 
                position[3].x = 0;
                position[3].w = r.my_width;
--- 60,63 ----

Index: pgthemewidget.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgthemewidget.cpp,v
retrieving revision 1.3.6.4
retrieving revision 1.3.6.5
diff -C2 -r1.3.6.4 -r1.3.6.5
*** pgthemewidget.cpp   12 Jul 2002 10:12:14 -0000      1.3.6.4
--- pgthemewidget.cpp   25 Jul 2002 07:27:38 -0000      1.3.6.5
***************
*** 108,112 ****
  
                b = t->FindProperty(widgettype, objectname, "simplebackground");
!               my_internaldata->simplebackground = (b != -1) ? b : 
my_internaldata->simplebackground;
  
                b = t->FindProperty(widgettype, objectname, "nocache");
--- 108,115 ----
  
                b = t->FindProperty(widgettype, objectname, "simplebackground");
!               if(b != -1) {
!                       SetSimpleBackground(b);
!               }
!               //my_internaldata->simplebackground = (b != -1) ? b : 
my_internaldata->simplebackground;
  
                b = t->FindProperty(widgettype, objectname, "nocache");
***************
*** 153,157 ****
  
        if(g) {
!               my_gradient = *g;
                my_has_gradient = true;
        }
--- 156,160 ----
  
        if(g) {
!               SetGradient(*g);
                my_has_gradient = true;
        }
***************
*** 518,521 ****
--- 521,527 ----
  void PG_ThemeWidget::SetSimpleBackground(bool simple) {
        my_internaldata->simplebackground = simple;
+       DeleteThemedSurface(my_internaldata->cachesurface);
+       my_internaldata->cachesurface = NULL;
+       Redraw();
  }
  




reply via email to

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