UI_Label ¶
<task pointer> = UI_Label( <parent pointer>, <order>, <x>, <y>, <alpha>, <rgb>, "<font name>", <font size>, "<text string>")
引数 ¶
- <parent pointer> 親UIのポインタ
- <order> 表示プライオリティ
- <x>, <y> 表示座標
- <alpha> ラベル表示alpha値
- <rgb> ラベル表示RGB値
- <font name> 使用するフォント名
- <font size> 使用するフォントサイズ
- <text string> ラベル文字列
戻り値 ¶
- <task pointer> 生成された UI_Label タスクのポインタ
解説 ¶
位置、表示色、フォントとサイズを指定し、文字列を描画する。
コマンド ¶
- UI_LABEL_SET_TEXT
-
表示テキストを再設定する。
- UI_LABEL_SET_TEXT
pLabel = UI_Label(...) sysCommand(pLabel, UI_LABEL_SET_TEXT, "<new text string>")
- UI_LABEL_SET_TEXT
- UI_LABEL_SET_COLOR
-
ラベルの表示色を設定する
- UI_LABEL_SET_COLOR
pLabel = UI_Label(...) sysCommand(pLabel, UI_LABEL_SET_COLOR, <alpha>, <rgb>)
- UI_LABEL_SET_COLOR
- UI_LABEL_SET_FONT
-
フォントを再設定する
- UI_LABEL_SET_FONT
pLabel = UI_Label(...) sysCommand(pLabel, UI_LABEL_SET_FONT, "<font name>", <font size>)
- UI_LABEL_SET_FONT
- UI_LABEL_SET_POSITION
-
ラベルの表示位置を再設定する
- UI_LABEL_SET_POSITION
pLabel = UI_Label(...) sysCommand(pLabel, UI_LABEL_SET_POSITION, <x>, <y>)
- UI_LABEL_SET_POSITION