選択肢のあるウィンドウの管理・描画クラス
[詳解]
|
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 () |
|
|
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] |
|
◆ FooterStyle
ウィンドウ下に解説欄をつけるかどうか
列挙値 |
---|
None | |
InfoDescription | |
PageText | |
◆ HeaderStyle
◆ ItemSortOrientation
選択項目の並べ方 / Scrollはスクロール型、PageTurn はページ型、Z は横優先、N は縦優先
列挙値 |
---|
Scroll_Z | |
Scroll_MirrorN | |
PageTurn_Z | |
PageTurn_MirrorN | |
◆ ItemType
◆ ChoiceWindowDrawer()
Yukar.Engine.ChoiceWindowDrawer.ChoiceWindowDrawer |
( |
GameMain |
owner, |
|
|
WindowDrawer |
windowDrawer, |
|
|
TextDrawer |
textDrawer, |
|
|
int |
row, |
|
|
int |
column, |
|
|
int |
margin = 0 |
|
) |
| |
◆ AddChoiceData() [1/5]
void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData |
( |
Common.Resource.Texture |
iconImageId, |
|
|
Icon.Ref |
iconRef, |
|
|
string |
text, |
|
|
bool |
enable = true |
|
) |
| |
◆ AddChoiceData() [2/5]
void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData |
( |
Common.Resource.Texture |
iconImageId, |
|
|
Icon.Ref |
iconRef, |
|
|
string |
text, |
|
|
int |
number, |
|
|
Common.Rom.NItem |
nitem, |
|
|
bool |
enable = true |
|
) |
| |
◆ AddChoiceData() [3/5]
void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData |
( |
string |
text, |
|
|
bool |
enable = true |
|
) |
| |
◆ AddChoiceData() [4/5]
void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData |
( |
string |
text, |
|
|
int |
number, |
|
|
Common.Rom.NItem |
nitem, |
|
|
bool |
enable = true |
|
) |
| |
◆ AddChoiceData() [5/5]
void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData |
( |
Texture |
imageId, |
|
|
string |
text, |
|
|
bool |
enable = true |
|
) |
| |
◆ ClearChoiceListData()
void Yukar.Engine.ChoiceWindowDrawer.ClearChoiceListData |
( |
| ) |
|
◆ Draw()
◆ GetChoicesData()
List< ChoiceItemData > Yukar.Engine.ChoiceWindowDrawer.GetChoicesData |
( |
| ) |
|
◆ Release()
void Yukar.Engine.ChoiceWindowDrawer.Release |
( |
| ) |
|
◆ saveSelected()
void Yukar.Engine.ChoiceWindowDrawer.saveSelected |
( |
| ) |
|
◆ SelectDefaultItem()
void Yukar.Engine.ChoiceWindowDrawer.SelectDefaultItem |
( |
BattleCharacterBase |
chr, |
|
|
BattleState |
state |
|
) |
| |
◆ SelectItem()
void Yukar.Engine.ChoiceWindowDrawer.SelectItem |
( |
int |
itemIndex | ) |
|
◆ SelectLastItem()
void Yukar.Engine.ChoiceWindowDrawer.SelectLastItem |
( |
| ) |
|
◆ SelectNextColumnItem()
void Yukar.Engine.ChoiceWindowDrawer.SelectNextColumnItem |
( |
int |
moveColumnCount = 1 | ) |
|
◆ SelectNextRowItem()
void Yukar.Engine.ChoiceWindowDrawer.SelectNextRowItem |
( |
int |
moveRowCount = 1 | ) |
|
◆ SelectPrevColumnItem()
void Yukar.Engine.ChoiceWindowDrawer.SelectPrevColumnItem |
( |
int |
moveColumnCount = 1 | ) |
|
◆ SelectPrevRowItem()
void Yukar.Engine.ChoiceWindowDrawer.SelectPrevRowItem |
( |
int |
moveRowCount = 1 | ) |
|
◆ SelectTopItem()
void Yukar.Engine.ChoiceWindowDrawer.SelectTopItem |
( |
| ) |
|
◆ Update()
void Yukar.Engine.ChoiceWindowDrawer.Update |
( |
| ) |
|
◆ decided
bool Yukar.Engine.ChoiceWindowDrawer.decided = false |
◆ escapeIcon
Icon.Ref Yukar.Engine.ChoiceWindowDrawer.escapeIcon |
◆ escapeImageId
Texture Yukar.Engine.ChoiceWindowDrawer.escapeImageId |
◆ IsDisplayPageIcon
bool Yukar.Engine.ChoiceWindowDrawer.IsDisplayPageIcon |
◆ returnIcon
Icon.Ref Yukar.Engine.ChoiceWindowDrawer.returnIcon |
◆ returnImageId
Texture Yukar.Engine.ChoiceWindowDrawer.returnImageId |
◆ BaseWindowDrawer
WindowDrawer Yukar.Engine.ChoiceWindowDrawer.BaseWindowDrawer |
|
get |
◆ CancelButtonHeight
int Yukar.Engine.ChoiceWindowDrawer.CancelButtonHeight |
|
getset |
◆ CancelButtonText
string Yukar.Engine.ChoiceWindowDrawer.CancelButtonText |
|
getset |
◆ ChoiceItemBackgroundDrawer
WindowDrawer Yukar.Engine.ChoiceWindowDrawer.ChoiceItemBackgroundDrawer |
|
getset |
◆ ChoiceItemCount
int Yukar.Engine.ChoiceWindowDrawer.ChoiceItemCount |
|
get |
◆ ChoiceItemIconPositionOffset
Vector2 Yukar.Engine.ChoiceWindowDrawer.ChoiceItemIconPositionOffset |
|
getset |
◆ ChoiceItemLastIndex
int Yukar.Engine.ChoiceWindowDrawer.ChoiceItemLastIndex |
|
get |
◆ ChoiceItemNumberPositionOffset
Vector2 Yukar.Engine.ChoiceWindowDrawer.ChoiceItemNumberPositionOffset |
|
getset |
◆ ChoiceItemTextPositionOffset
Vector2 Yukar.Engine.ChoiceWindowDrawer.ChoiceItemTextPositionOffset |
|
getset |
◆ ChoiceItemTopIndex
int Yukar.Engine.ChoiceWindowDrawer.ChoiceItemTopIndex |
|
get |
◆ ColumnCount
int Yukar.Engine.ChoiceWindowDrawer.ColumnCount |
|
getset |
◆ ColumnSpaceMarginPixel
int Yukar.Engine.ChoiceWindowDrawer.ColumnSpaceMarginPixel |
|
getset |
◆ CurrentSelectItemEnable
bool Yukar.Engine.ChoiceWindowDrawer.CurrentSelectItemEnable |
|
get |
◆ CurrentSelectItemIndex
int Yukar.Engine.ChoiceWindowDrawer.CurrentSelectItemIndex |
|
get |
◆ CurrentSelectItemType
ItemType Yukar.Engine.ChoiceWindowDrawer.CurrentSelectItemType |
|
get |
◆ CursorColor
Color Yukar.Engine.ChoiceWindowDrawer.CursorColor |
|
getset |
◆ CursorDrawer
◆ DisableItemTextColor
Color Yukar.Engine.ChoiceWindowDrawer.DisableItemTextColor |
|
getset |
◆ EnableItemTextColor
Color Yukar.Engine.ChoiceWindowDrawer.EnableItemTextColor |
|
getset |
◆ FooterMainDescriptionText
string Yukar.Engine.ChoiceWindowDrawer.FooterMainDescriptionText |
|
getset |
◆ FooterSubDescriptionText
string Yukar.Engine.ChoiceWindowDrawer.FooterSubDescriptionText |
|
getset |
◆ FooterTitleIcon
Icon.Ref Yukar.Engine.ChoiceWindowDrawer.FooterTitleIcon |
|
getset |
◆ FooterTitleText
string Yukar.Engine.ChoiceWindowDrawer.FooterTitleText |
|
getset |
◆ HeaderTitleIcon
Icon.Ref Yukar.Engine.ChoiceWindowDrawer.HeaderTitleIcon |
|
getset |
◆ HeaderTitleText
string Yukar.Engine.ChoiceWindowDrawer.HeaderTitleText |
|
getset |
◆ IsPlayItemSelectSe
bool Yukar.Engine.ChoiceWindowDrawer.IsPlayItemSelectSe |
|
getset |
◆ ItemNoneText
string Yukar.Engine.ChoiceWindowDrawer.ItemNoneText |
|
getset |
◆ ItemTextScale
float Yukar.Engine.ChoiceWindowDrawer.ItemTextScale |
|
getset |
◆ PageIconId
Common.Resource.Texture Yukar.Engine.ChoiceWindowDrawer.PageIconId |
|
getset |
◆ PageIconMarginPixel
int Yukar.Engine.ChoiceWindowDrawer.PageIconMarginPixel |
|
getset |
◆ RowCount
int Yukar.Engine.ChoiceWindowDrawer.RowCount |
|
getset |
◆ RowSpaceMarginPixel
int Yukar.Engine.ChoiceWindowDrawer.RowSpaceMarginPixel |
|
getset |
◆ TextAreaSize
Vector2 Yukar.Engine.ChoiceWindowDrawer.TextAreaSize |
|
getset |
◆ WindowFrameThickness
int Yukar.Engine.ChoiceWindowDrawer.WindowFrameThickness |
|
getset |