App:Library:Squareline:docs:docs:tutorials:new app
Tutorial 2 - Create a new application
原文 | 訳 |
---|---|
With this tutorial, you can learn how to create a new project, a screen or a widget. | このチュートリアルでは、新しいプロジェクト、画面、またはウィジェットを作成する方法を学習できます。 |
Creating a new project
Having the software launched, a Launcher window will pop up. You should choose Create menu. Here you can find the Simulator and the purchased Boards, as well.
By choosing a **Board**, the program will automatically set the resolution and the color depth for the project and it will also add the drivers needed. By choosing Simulator, you can set both the resolution and the color depth. The maximum resolution of your project can be 2048 x 2048 pixels. The default resolution setting is 280x320 pixels. Having set everything, you should select the name and the path of your project, then you have nothing else to do but to click on CREATE NEW PROJECT button. |
ソフトウェアを起動すると、ランチャー ウィンドウがポップアップします。 [メニューの作成] を選択する必要があります。 ここでは、シミュレーターと購入したボードも見つけることができます。
**ボード**を選択すると、プログラムはプロジェクトの解像度と色深度を自動的に設定し、必要なドライバーも追加します。 シミュレーターを選択すると、解像度と色深度の両方を設定できます。 プロジェクトの最大解像度は 2048 x 2048 ピクセルです。 デフォルトの解像度設定は 280x320 ピクセルです。 すべてを設定したら、プロジェクトの名前とパスを選択する必要があります。その後は、CREATE NEW PROJECT ボタンをクリックする以外に何もする必要はありません。 |
Create a button
|
|
Add an image asset
|
アセット パネルを選択し、[ADD FILE INTO ASSETS] ボタンをクリックします。 ダウンロードした画像を表示されるファイル ブラウザーに追加して、アセット パネルに表示します。 画像をアセット パネルから画面にドラッグします。 最新のウィジェットは常に一番上に表示されるため、画像をボタンの上にドラッグします。 これで、以前に作成したボタンが表示されます。 |
Add new screen
|
ウィジェット パネルの画面ウィジェットをクリックして、新しい画面をプロジェクトに追加します。 前の画面の横に表示され、階層パネルに緑色で表示され、新しい画面を編集していることを示します。
|