Method CreateSimpleDialogText
CreateSimpleDialogText(String, Int32, Int32, Color, Color)
Writes a text field in the simple dialog mode.
Declaration
public Error CreateSimpleDialogText(string text, int posX, int posY, Color textColor, Color bgmColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to be written. |
System.Int32 | posX | |
System.Int32 | posY | |
System.Drawing.Color | textColor | The foreground color of the text. |
System.Drawing.Color | bgmColor |
Returns
Type | Description |
---|---|
Error |
Implements
Remarks
Writing text requires a font to be be loaded with
SetSimpleDialogResourceFont(String, SimpleDialogFileLoadOptions).
Text is written to the invisible shadow buffer. To make it visible,
UpdateSimpleDialogDisplay(CopyBufOption) with the option
CreateSimpleDialogText(String, Int32, Int32, Int32, Int32)
Declaration
public Error CreateSimpleDialogText(string text, int posX, int posY, int textColor32, int bgmColor32)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | |
System.Int32 | posX | |
System.Int32 | posY | |
System.Int32 | textColor32 | |
System.Int32 | bgmColor32 |
Returns
Type | Description |
---|---|
Error |