diff examples/dynamic/main.c @ 404:e774868fb7df

merge
author Thinker K.F. Li <thinker@branda.to>
date Tue, 16 Jun 2009 23:03:07 +0800
parents 31b6633e3538
children 84ce2d4a8c3f
line wrap: on
line diff
--- a/examples/dynamic/main.c	Tue Jun 16 23:01:38 2009 +0800
+++ b/examples/dynamic/main.c	Tue Jun 16 23:03:07 2009 +0800
@@ -121,7 +121,7 @@
     mb_button_t *b;
     mb_sprite_t *sprite;
 
-    sprite = sprite_load("button", myApp->rdman, myApp->rdman->root_coord);
+    sprite = sprite_load(".libs/button", myApp->rdman, myApp->rdman->root_coord);
     b = mb_button_new(myApp->rdman, sprite, "btn");
     mb_button_add_onClick(b, test,NULL);
 }
@@ -140,7 +140,7 @@
     if (argc > 1) 
 	    myApp = MBApp_Init(argv[1]);
     else
-	    myApp = MBApp_Init("scene");
+	    myApp = MBApp_Init(".libs/scene");
     data.currentscene=0;
     draw_text();
     MBApp_setData(myApp,&data);