Familiar territory. Window_NameEdit keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.
Quick Reference
Setup & Creation 2
| initialize() | Sets up a new instance. |
| setup() | Setup. |
Getting Information 2
| name() | Name. |
| itemRect() | Item rect. |
Actions 2
| restoreDefault() | Restores the default. |
| add() | Add. |
Updating & Drawing 3
| drawUnderline() | Draws the underline. |
| drawChar() | Draws the char. |
| refresh() | Refresh. |
Other 6
| back() | Back. |
| faceWidth() | Face width. |
| charWidth() | Char width. |
| left() | Left. |
| underlineRect() | Underline rect. |
| underlineColor() | Underline color. |
Setup & Creation
initialize
method sourceWindow_NameEdit.prototype.initialize(rect)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
setup
method sourceWindow_NameEdit.prototype.setup(actor, maxLength)
Setup. (Same as the RPG Maker MZ method of this name.)
Getting Information
name
method sourceWindow_NameEdit.prototype.name()
Name. (Same as the RPG Maker MZ method of this name.)
itemRect
method sourceWindow_NameEdit.prototype.itemRect(index)
Item rect. (Same as the RPG Maker MZ method of this name.)
Actions
restoreDefault
method sourceWindow_NameEdit.prototype.restoreDefault()
Restores the default. (Same as the RPG Maker MZ method of this name.)
add
method sourceWindow_NameEdit.prototype.add(ch)
Add. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
drawUnderline
method sourceWindow_NameEdit.prototype.drawUnderline(index)
Draws the underline. (Same as the RPG Maker MZ method of this name.)
drawChar
method sourceWindow_NameEdit.prototype.drawChar(index)
Draws the char. (Same as the RPG Maker MZ method of this name.)
refresh
method sourceWindow_NameEdit.prototype.refresh()
Refresh. (Same as the RPG Maker MZ method of this name.)
Other
back
method sourceWindow_NameEdit.prototype.back()
Back. (Same as the RPG Maker MZ method of this name.)
faceWidth
method sourceWindow_NameEdit.prototype.faceWidth()
Face width. (Same as the RPG Maker MZ method of this name.)
charWidth
method sourceWindow_NameEdit.prototype.charWidth()
Char width. (Same as the RPG Maker MZ method of this name.)
left
method sourceWindow_NameEdit.prototype.left()
Left. (Same as the RPG Maker MZ method of this name.)
underlineRect
method sourceWindow_NameEdit.prototype.underlineRect(index)
Underline rect. (Same as the RPG Maker MZ method of this name.)
underlineColor
method sourceWindow_NameEdit.prototype.underlineColor()
Underline color. (Same as the RPG Maker MZ method of this name.)