paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/test paratest.cpp,1.2.6.3,1.2.6.4


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/test paratest.cpp,1.2.6.3,1.2.6.4
Date: Thu, 11 Jul 2002 09:46:09 -0400

Update of /cvsroot/paragui/paragui/test
In directory subversions:/tmp/cvs-serv18075

Modified Files:
      Tag: devel-1-0
        paratest.cpp 
Log Message:
added some nested widgets



Index: paratest.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/test/paratest.cpp,v
retrieving revision 1.2.6.3
retrieving revision 1.2.6.4
diff -C2 -r1.2.6.3 -r1.2.6.4
*** paratest.cpp        17 Jun 2002 08:01:57 -0000      1.2.6.3
--- paratest.cpp        11 Jul 2002 13:46:07 -0000      1.2.6.4
***************
*** 30,35 ****
  void Splash() {
      PG_ThemeWidget splash(NULL, PG_Rect(100,100,600,400), true);
      splash.Show();
!     SDL_Delay(1000);
      splash.Hide();
  }
--- 30,40 ----
  void Splash() {
      PG_ThemeWidget splash(NULL, PG_Rect(100,100,600,400), true);
+     PG_ThemeWidget splash1(&splash, PG_Rect(10,10,580,380));
+     PG_ThemeWidget splash2(&splash1, PG_Rect(10,10,560,340));
+     PG_Label l(&splash2, PG_Rect(10,10,540,320), "I'm a splash screen");
+     l.SetAlignment(PG_TA_CENTER);
+         
      splash.Show();
!     SDL_Delay(5000);
      splash.Hide();
  }
***************
*** 327,330 ****
--- 332,337 ----
        app.SetCursor(app.GetTheme()->FindSurface("Pointer", "Pointer", 
"normal"));
  
+       Splash();
+       
        SDL_Color color;
        color.r = 255;




reply via email to

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