GTAdhocAPI
Gran Turismo (6) Adhoc API Documentation
|
Represents a facing widget that displays text. More...
Public Member Functions | |
void | resetScale () |
Float | getShadowValueX (Int unk) |
Float | setShadowValueX (Int unk, Float value) |
Float | getShadowValueY (Int unk) |
Float | setShadowValueY (Int unk, Float value) |
MColorObject | getShadowColor (Int unk) |
Float | setShadowColor (Int unk, MColorObject color) |
Float | getShadowAlpha (Int unk) |
Float | setShadowAlpha (Float value) |
void | setTextColor (Int color_index, Object unk,...) |
Public Attributes | |
MColorObject | color |
Text color. Defaults to [0.83, 0.83, 0.83, 1.0]. More... | |
MColorObject | top_color |
Top Text color. Defaults to [0.83, 0.83, 0.83, 1.0]. More... | |
MColorObject | bottom_color |
Bottom Text color. Defaults to [0.83, 0.83, 0.83, 1.0]. More... | |
Float | alpha |
Alpha. Defaults to 1.0 (fully visible) More... | |
Float | top_alpha |
Top Alpha. Defaults to 1.0 (fully visible) More... | |
Float | bottom_alpha |
Bottom Alpha. Defaults to 1.0 (fully visible) More... | |
String | font |
Font. Defaults to "IwataSet_1". More... | |
Bool | proportional |
Defaults to true. More... | |
Bool | alpha_proportional |
Defaults to true. More... | |
Bool | num_proportional |
Defaults to true. More... | |
Bool | multiline |
Whether multi-line is allowed. Defaults to false. More... | |
Bool | auto_line_break |
Whether line breaks are automatically done. Defaults to false. More... | |
Bool | equalized |
Defaults to false. More... | |
Bool | abbreviate |
Defaults to false. More... | |
Bool | aligned |
Defaults to true. More... | |
Int | align |
Sets the text alignment. Defaults to 4 (Center). View details for options. More... | |
Int | clut |
Float | original_scale_x |
Original Scale X. Defaults to 1.0. More... | |
Float | original_scale_y |
Original Scale Y. Defaults to 1.0. More... | |
Float | current_scale_x |
Same as scale_x. More... | |
Float | current_scale_y |
Same as scale_y. More... | |
Float | scale_x |
Scale X. Defaults to 1.0. More... | |
Float | scale_y |
Scale X. Defaults to 1.0. More... | |
Float | shadow_value |
Shadow value. Defaults to 0.0. More... | |
MColorObject | shadow_color |
Shadow color. Defaults to [0.0, 0.0, 0.0, 1.0]. More... | |
Float | shadow_alpha |
Shadow Alpha. Defaults to 1.0 (fully visible) More... | |
Float | outline_value |
Outline value. Defaults to 0.0. More... | |
MColorObject | outline_color |
Outline color. Defaults to [0.0, 0.0, 0.0, 1.0]. More... | |
Float | nextline_offset |
Offset to the next line. Defaults to 0.0. More... | |
Float | type_spacing |
Unknown. Defaults to 0.0. More... | |
Float | line_height |
Line height. Defaults to 21.0. More... | |
Bool | parse_enable |
Whether to enable color parsing within the text. Defaults to true. Depends on values in a string which can be seen here https://github.com/Nenkai/GTAdhocToolchain/blob/master/GTAdhocToolchain.Compiler/AdhocDefineConstants.cs. More... | |
Bool | wordwrap |
Whether to enable word wrapping. Defaults to true. More... | |
Represents a facing widget that displays text.
Definition at line 8 of file MTextSetting.cpp.
MColorObject menu::MTextSetting::getShadowColor | ( | Int | unk | ) |
void menu::MTextSetting::resetScale | ( | ) |
Float menu::MTextSetting::setShadowColor | ( | Int | unk, |
MColorObject | color | ||
) |
Bool menu::MTextSetting::abbreviate |
Defaults to false.
Definition at line 52 of file MTextSetting.cpp.
Int menu::MTextSetting::align |
Sets the text alignment. Defaults to 4 (Center). View details for options.
Each value is a different alignment:
Definition at line 68 of file MTextSetting.cpp.
Bool menu::MTextSetting::aligned |
Defaults to true.
Definition at line 55 of file MTextSetting.cpp.
Float menu::MTextSetting::alpha |
Alpha. Defaults to 1.0 (fully visible)
Definition at line 22 of file MTextSetting.cpp.
Bool menu::MTextSetting::alpha_proportional |
Defaults to true.
Definition at line 37 of file MTextSetting.cpp.
Bool menu::MTextSetting::auto_line_break |
Whether line breaks are automatically done. Defaults to false.
Definition at line 46 of file MTextSetting.cpp.
Float menu::MTextSetting::bottom_alpha |
Bottom Alpha. Defaults to 1.0 (fully visible)
Definition at line 28 of file MTextSetting.cpp.
MColorObject menu::MTextSetting::bottom_color |
Bottom Text color. Defaults to [0.83, 0.83, 0.83, 1.0].
Definition at line 19 of file MTextSetting.cpp.
Int menu::MTextSetting::clut |
Definition at line 70 of file MTextSetting.cpp.
MColorObject menu::MTextSetting::color |
Text color. Defaults to [0.83, 0.83, 0.83, 1.0].
Definition at line 13 of file MTextSetting.cpp.
Float menu::MTextSetting::current_scale_x |
Same as scale_x.
Definition at line 79 of file MTextSetting.cpp.
Float menu::MTextSetting::current_scale_y |
Same as scale_y.
Definition at line 82 of file MTextSetting.cpp.
Bool menu::MTextSetting::equalized |
Defaults to false.
Definition at line 49 of file MTextSetting.cpp.
String menu::MTextSetting::font |
Font. Defaults to "IwataSet_1".
Definition at line 31 of file MTextSetting.cpp.
Float menu::MTextSetting::line_height |
Line height. Defaults to 21.0.
Definition at line 112 of file MTextSetting.cpp.
Bool menu::MTextSetting::multiline |
Whether multi-line is allowed. Defaults to false.
Definition at line 43 of file MTextSetting.cpp.
Float menu::MTextSetting::nextline_offset |
Offset to the next line. Defaults to 0.0.
Definition at line 106 of file MTextSetting.cpp.
Bool menu::MTextSetting::num_proportional |
Defaults to true.
Definition at line 40 of file MTextSetting.cpp.
Float menu::MTextSetting::original_scale_x |
Original Scale X. Defaults to 1.0.
Definition at line 73 of file MTextSetting.cpp.
Float menu::MTextSetting::original_scale_y |
Original Scale Y. Defaults to 1.0.
Definition at line 76 of file MTextSetting.cpp.
MColorObject menu::MTextSetting::outline_color |
Outline color. Defaults to [0.0, 0.0, 0.0, 1.0].
Definition at line 103 of file MTextSetting.cpp.
Float menu::MTextSetting::outline_value |
Outline value. Defaults to 0.0.
Definition at line 100 of file MTextSetting.cpp.
Bool menu::MTextSetting::parse_enable |
Whether to enable color parsing within the text. Defaults to true. Depends on values in a string which can be seen here https://github.com/Nenkai/GTAdhocToolchain/blob/master/GTAdhocToolchain.Compiler/AdhocDefineConstants.cs.
Definition at line 117 of file MTextSetting.cpp.
Bool menu::MTextSetting::proportional |
Defaults to true.
Definition at line 34 of file MTextSetting.cpp.
Float menu::MTextSetting::scale_x |
Scale X. Defaults to 1.0.
Definition at line 85 of file MTextSetting.cpp.
Float menu::MTextSetting::scale_y |
Scale X. Defaults to 1.0.
Definition at line 88 of file MTextSetting.cpp.
Float menu::MTextSetting::shadow_alpha |
Shadow Alpha. Defaults to 1.0 (fully visible)
Definition at line 97 of file MTextSetting.cpp.
MColorObject menu::MTextSetting::shadow_color |
Shadow color. Defaults to [0.0, 0.0, 0.0, 1.0].
Definition at line 94 of file MTextSetting.cpp.
Float menu::MTextSetting::shadow_value |
Shadow value. Defaults to 0.0.
Definition at line 91 of file MTextSetting.cpp.
Float menu::MTextSetting::top_alpha |
Top Alpha. Defaults to 1.0 (fully visible)
Definition at line 25 of file MTextSetting.cpp.
MColorObject menu::MTextSetting::top_color |
Top Text color. Defaults to [0.83, 0.83, 0.83, 1.0].
Definition at line 16 of file MTextSetting.cpp.
Float menu::MTextSetting::type_spacing |
Unknown. Defaults to 0.0.
Definition at line 109 of file MTextSetting.cpp.
Bool menu::MTextSetting::wordwrap |
Whether to enable word wrapping. Defaults to true.
Definition at line 120 of file MTextSetting.cpp.