projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2003/11/03 07:36:40
[org.ibex.core.git]
/
src
/
org
/
xwt
/
builtin
/
splash.xwt
diff --git
a/src/org/xwt/builtin/splash.xwt
b/src/org/xwt/builtin/splash.xwt
index
6294636
..
a99bb00
100644
(file)
--- a/
src/org/xwt/builtin/splash.xwt
+++ b/
src/org/xwt/builtin/splash.xwt
@@
-11,7
+11,7
@@
xwt.thread = function() {
// $text.font = xwt.fonts.vera["Vera.ttf"];
xwt.thread = function() {
// $text.font = xwt.fonts.vera["Vera.ttf"];
- $text.font = xwt.uncab(xwt.load("http://master.dist.xwt.org/msfonts/arial32.exe"))["Arial.TTF"];
+ $text.font = xwt.cache(xwt.uncab(xwt.load("http://master.dist.xwt.org/msfonts/arial32.exe"))["Arial.TTF"]);
$text.fontsize = 18;
$text.text = "downloading...";
fill = xwt.org.xwt.builtin["splash.png"];
$text.fontsize = 18;
$text.text = "downloading...";
fill = xwt.org.xwt.builtin["splash.png"];
@@
-28,6
+28,7
@@
var new_xwt = xwt.clone(new_rr);
xwt.thread = function() {
var new_xwt = xwt.clone(new_rr);
xwt.thread = function() {
+xwt.sleep(1000); // let the fonts get pulled in
for(var i=0; 100>i; i++) {
progress(i, 100);
xwt.yield();
for(var i=0; 100>i; i++) {
progress(i, 100);
xwt.yield();