![]() |
|
Window management/drawing class with options More...
Classes | |
| struct | ChoiceItemData |
| Choice data More... | |
Public Types | |
| enum | ItemType { Item , Cancel } |
| Choice type More... | |
| enum | ItemSortOrientation { Scroll_Z , Scroll_MirrorN , PageTurn_Z , PageTurn_MirrorN } |
| How to arrange selection items / Scroll is scroll type, PageTurn is page type, Z is horizontal priority, N is vertical priority More... | |
| enum | HeaderStyle { None } |
| Whether to add an explanation column on the window (not used) More... | |
| enum | FooterStyle { None , InfoDescription , PageText } |
| Whether to add an explanation column at the bottom of the window More... | |
Public Member Functions | |
| 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 | AddChoiceData (string text, int number, string text2, Common.Rom.NItem nitem, bool enable=true) |
| void | AddChoiceData (Common.Resource.Texture iconImageId, Icon.Ref iconRef, string text, int number, string text2, 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 () |
Public Attributes | |
| bool | IsDisplayPageIcon |
| bool | decided = false |
| Icon.Ref | escapeIcon |
| Texture | escapeImageId |
| Icon.Ref | returnIcon |
| Texture | returnImageId |
Window management/drawing class with options
| Yukar.Engine.ChoiceWindowDrawer.ChoiceWindowDrawer | ( | GameMain | owner, |
| WindowDrawer | windowDrawer, | ||
| TextDrawer | textDrawer, | ||
| int | row, | ||
| int | column, | ||
| int | margin = 0 |
||
| ) |
| void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData | ( | Common.Resource.Texture | iconImageId, |
| Icon.Ref | iconRef, | ||
| string | text, | ||
| bool | enable = true |
||
| ) |
| void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData | ( | Common.Resource.Texture | iconImageId, |
| Icon.Ref | iconRef, | ||
| string | text, | ||
| int | number, | ||
| Common.Rom.NItem | nitem, | ||
| bool | enable = true |
||
| ) |
| void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData | ( | Common.Resource.Texture | iconImageId, |
| Icon.Ref | iconRef, | ||
| string | text, | ||
| int | number, | ||
| string | text2, | ||
| Common.Rom.NItem | nitem, | ||
| bool | enable = true |
||
| ) |
| void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData | ( | string | text, |
| bool | enable = true |
||
| ) |
| void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData | ( | string | text, |
| int | number, | ||
| Common.Rom.NItem | nitem, | ||
| bool | enable = true |
||
| ) |
| void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData | ( | string | text, |
| int | number, | ||
| string | text2, | ||
| Common.Rom.NItem | nitem, | ||
| bool | enable = true |
||
| ) |
| void Yukar.Engine.ChoiceWindowDrawer.AddChoiceData | ( | Texture | imageId, |
| string | text, | ||
| bool | enable = true |
||
| ) |
| void Yukar.Engine.ChoiceWindowDrawer.ClearChoiceListData | ( | ) |
| void Yukar.Engine.ChoiceWindowDrawer.Draw | ( | Vector2 | windowPosition, |
| Vector2 | windowSize, | ||
| HeaderStyle | headerStyle = HeaderStyle.None, |
||
| FooterStyle | footerStyle = FooterStyle.None |
||
| ) |
| List< ChoiceItemData > Yukar.Engine.ChoiceWindowDrawer.GetChoicesData | ( | ) |
| void Yukar.Engine.ChoiceWindowDrawer.Release | ( | ) |
| void Yukar.Engine.ChoiceWindowDrawer.saveSelected | ( | ) |
| void Yukar.Engine.ChoiceWindowDrawer.SelectDefaultItem | ( | BattleCharacterBase | chr, |
| BattleState | state | ||
| ) |
| void Yukar.Engine.ChoiceWindowDrawer.SelectItem | ( | int | itemIndex | ) |
| void Yukar.Engine.ChoiceWindowDrawer.SelectLastItem | ( | ) |
| void Yukar.Engine.ChoiceWindowDrawer.SelectNextColumnItem | ( | int | moveColumnCount = 1 | ) |
| void Yukar.Engine.ChoiceWindowDrawer.SelectNextRowItem | ( | int | moveRowCount = 1 | ) |
| void Yukar.Engine.ChoiceWindowDrawer.SelectPrevColumnItem | ( | int | moveColumnCount = 1 | ) |
| void Yukar.Engine.ChoiceWindowDrawer.SelectPrevRowItem | ( | int | moveRowCount = 1 | ) |
| void Yukar.Engine.ChoiceWindowDrawer.SelectTopItem | ( | ) |
| void Yukar.Engine.ChoiceWindowDrawer.Update | ( | ) |
| bool Yukar.Engine.ChoiceWindowDrawer.decided = false |
| Icon.Ref Yukar.Engine.ChoiceWindowDrawer.escapeIcon |
| Texture Yukar.Engine.ChoiceWindowDrawer.escapeImageId |
| bool Yukar.Engine.ChoiceWindowDrawer.IsDisplayPageIcon |
| Icon.Ref Yukar.Engine.ChoiceWindowDrawer.returnIcon |
| Texture Yukar.Engine.ChoiceWindowDrawer.returnImageId |
|
get |
|
getset |
|
getset |
|
getset |
|
get |
|
getset |
|
get |
|
getset |
|
getset |
|
get |
|
getset |
|
getset |
|
get |
|
get |
|
get |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |