![]() |
|
選択肢のあるウィンドウの管理・描画クラス [詳解]
クラス |
|
struct | ChoiceItemData |
選択項目データ
[詳解]
|
|
公開型 |
|
enum | ItemType { Item , Cancel } |
選択項目のタイプ
|
|
enum | ItemSortOrientation { Scroll_Z , Scroll_MirrorN , PageTurn_Z , PageTurn_MirrorN } |
選択項目の並べ方 / Scrollはスクロール型、PageTurn はページ型、Z は横優先、N は縦優先
|
|
enum | HeaderStyle { None } |
ウィンドウ上に解説欄をつけるかどうか(未使用)
|
|
enum | FooterStyle { None , InfoDescription , PageText } |
ウィンドウ下に解説欄をつけるかどうか
|
|
公開メンバ関数 |
|
List< ChoiceItemData > | GetChoicesData () |
ChoiceWindowDrawer (GameMain owner, WindowDrawer windowDrawer, TextDrawer textDrawer, int row, int column, int margin=0) | |
void | Release () |
void | AddChoiceData (string text, bool enable=true) |
void | AddChoiceData (Common.Resource.Texture iconImageId, Icon.Ref iconRef, string text, bool enable=true) |
void | AddChoiceData (Texture imageId, string text, bool enable=true) |
void | AddChoiceData (string text, int number, Common.Rom.NItem nitem, bool enable=true) |
void | AddChoiceData (Common.Resource.Texture iconImageId, Icon.Ref iconRef, string text, int number, Common.Rom.NItem nitem, bool enable=true) |
void | ClearChoiceListData () |
void | Update () |
void | SelectItem (int itemIndex) |
void | SelectDefaultItem (BattleCharacterBase chr, BattleState state) |
void | SelectTopItem () |
void | SelectLastItem () |
void | SelectPrevRowItem (int moveRowCount=1) |
void | SelectNextRowItem (int moveRowCount=1) |
void | SelectPrevColumnItem (int moveColumnCount=1) |
void | SelectNextColumnItem (int moveColumnCount=1) |
void | Draw (Vector2 windowPosition, Vector2 windowSize, HeaderStyle headerStyle=HeaderStyle.None, FooterStyle footerStyle=FooterStyle.None) |
void | saveSelected () |
公開変数類 |
|
bool | IsDisplayPageIcon |
bool | decided = false |
Texture | escapeImageId |
Texture | returnImageId |
プロパティ |
|
WindowDrawer |
BaseWindowDrawer
[get]
|
int |
ChoiceItemCount
[get]
|
int |
RowCount
[get, set]
|
int |
ColumnCount
[get, set]
|
int |
ChoiceItemTopIndex
[get]
|
int |
ChoiceItemLastIndex
[get]
|
ItemType |
CurrentSelectItemType
[get]
|
int |
CurrentSelectItemIndex
[get]
|
bool |
CurrentSelectItemEnable
[get]
|
WindowDrawer |
ChoiceItemBackgroundDrawer
[get, set]
|
Color |
EnableItemTextColor
[get, set]
|
Color |
DisableItemTextColor
[get, set]
|
float |
ItemTextScale
[get, set]
|
Vector2 |
ChoiceItemIconPositionOffset
[get, set]
|
Vector2 |
ChoiceItemTextPositionOffset
[get, set]
|
Vector2 |
ChoiceItemNumberPositionOffset
[get, set]
|
string |
ItemNoneText
[get, set]
|
int |
RowSpaceMarginPixel
[get, set]
|
int |
ColumnSpaceMarginPixel
[get, set]
|
WindowDrawer |
CursorDrawer
[get, set]
|
Color |
CursorColor
[get, set]
|
string |
CancelButtonText
[get, set]
|
int |
CancelButtonHeight
[get, set]
|
Vector2 |
TextAreaSize
[get, set]
|
int |
WindowFrameThickness
[get, set]
|
Common.Resource.Texture |
PageIconId
[get, set]
|
int |
PageIconMarginPixel
[get, set]
|
Icon.Ref |
HeaderTitleIcon
[get, set]
|
string |
HeaderTitleText
[get, set]
|
Icon.Ref |
FooterTitleIcon
[get, set]
|
string |
FooterTitleText
[get, set]
|
string |
FooterMainDescriptionText
[get, set]
|
string |
FooterSubDescriptionText
[get, set]
|
bool |
IsPlayItemSelectSe
[get, set]
|
選択肢のあるウィンドウの管理・描画クラス