Link Search Menu Expand Document

Window_NameEdit.d overview


Table of contents


utils

Window_NameEdit (class)

Window_NameEdit

The window for editing an actor’s name on the name input screen.

Signature

export declare class Window_NameEdit {
  constructor(rect: Rectangle)
}

setup (method)

Signature

setup(actor: Game_Actor, maxLength: number): void

name (method)

Signature

name(): string

restoreDefault (method)

Signature

restoreDefault(): boolean

add (method)

Signature

add(ch: string): boolean

back (method)

Signature

back(): boolean

faceWidth (method)

Signature

faceWidth(): number

charWidth (method)

Signature

charWidth(): number

left (method)

Signature

left(): number

itemRect (method)

Signature

itemRect(index: number): Rectangle

underlineRect (method)

Signature

underlineRect(index: number): Rectangle

underlineColor (method)

Signature

underlineColor(): string

drawUnderline (method)

Signature

drawUnderline(index: number): void

drawChar (method)

Signature

drawChar(index: number): void

refresh (method)

Signature

refresh(): void

_actor (property)

Signature

_actor: Game_Actor | null

_maxLength (property)

Signature

_maxLength: number

_name (property)

Signature

_name: string

_index (property)

Signature

_index: number

_defaultName (property)

Signature

_defaultName: string