|
オープンソース - Curl External Library
|
|
作者 Curl
|
|
2011年5月31日(火曜日) 00:00 |
|
TranslucentSplashScreenを紹介します。
下図のように、ローディングや処理待ちのためのアニメーションを用いたスプラッシュ・スクリーンGUIコントロールです。

使い方
このAPIを使うには、いくつかの手順を踏む必要があります。
||--初期処理 {TranslucentSplashScreen.setup splash-applet-url = {string-url ||--アニメーション用のパラメータを指定することでカスタマイズできます。 {CircleAnimation.make-splash-subapplet-ource} } }
||--タイトルの設定 {TranslucentSplashScreen.set-title "Loading data...", color = "#0000c0", font-size = 14pt} {TranslucentSplashScreen.set-progress-bar max = 49}
|| アニメーションのためのフェイク処理 {for i = 0 below 50 do {sleep 60ms} {TranslucentSplashScreen.set-progress-bar-value i} {dispatch-events false} } || SplashScreenの終了処理 {TranslucentSplashScreen.destroy} |
サンプル
以下のリンクにて、サンプルプログラムを確認することができます。
http://developers.curlap.com/curl/curl-ext/hp/docs/samples/sample-splash-animation.curl
|
|
最終更新 ( 2011年5月30日(月曜日) 14:31 )
|