Changeset 444
- Timestamp:
- 03/04/2008 00:29:19 (6 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
samples/bounce.rb (modified) (1 diff)
-
shoes/app.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/samples/bounce.rb
r236 r444 7 7 8 8 nostroke 9 @icon = image " static/shoes-icon.png", :left => 100, :top => 100 do9 @icon = image "../static/shoes-icon.png", :left => 100, :top => 100 do 10 10 alert "You're soooo quick." 11 11 end -
trunk/shoes/app.c
r443 r444 69 69 // list. Returns 1 if all windows are gone. 70 70 // 71 static void 72 shoes_app_clear(shoes_app *app) 73 { 74 shoes_ele_remove_all(app->timers); 75 shoes_canvas_clear(app->canvas); 76 } 77 71 78 static int 72 79 shoes_app_remove(shoes_app *app) 73 80 { 74 shoes_ ele_remove_all(app->timers);81 shoes_app_clear(app); 75 82 rb_ary_delete(shoes_world->apps, app->self); 76 83 return (RARRAY_LEN(shoes_world->apps) == 0); … … 1782 1789 } 1783 1790 1784 shoes_ canvas_clear(app->canvas);1791 shoes_app_clear(app); 1785 1792 shoes_app_reset_styles(app); 1786 1793 meth = rb_funcall(cShoes, s_run, 1, app->location = rb_str_new2(path)); … … 1973 1980 shoes_app_close_window(shoes_app *app) 1974 1981 { 1975 shoes_ele_remove_all(app->timers);1976 1982 #ifdef SHOES_GTK 1977 1983 shoes_app_gtk_quit(app->os.window, NULL, (gpointer)app);
