Namespace in reactor_ui.js

Window_ReactorUIList

43 functions in 6 groups · hide internal

Designing a custom interface.

Familiar territory. Window_ReactorUIList 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.
initialIndex() Initial index.

Getting Information 4

maxCols() The maximum cols.
maxItems() The maximum items.
itemHeight() Item height.
itemPadding() Item padding.

Checks (True / False) 3

isFocusable() Whether it is focusable.
isEnabled() Whether it is enabled.
isCurrentItemEnabled() Whether it is current item enabled.

Actions 9

setEnabled() Sets the enabled.
setFocused() Sets the focused.
resetFontSettings() Resets the font settings.
select() Select.
playOkSound() Plays the ok sound.
changeOption() Changes the option.
removePanelSprites() Takes down one actor's sprites (an entry of _uiPanelSprites).
clearPanelSprites() Clears the panel sprites.
destroy() Destroy.

Updating & Drawing 14

updatePadding() Updates the padding each frame.
updateBackOpacity() Updates the back opacity each frame.
drawRowPicture() A row's picture by its state, stretched under the row with the node's slice borders kept; returns the state w…
drawItemBackground() Draws the item background.
drawActorPanelRow() Draws the actor panel row.
drawActorPanelParts() Draws the actor panel parts.
drawItem() Draws the item.
paint() Paint.
refreshCursor() Redraws the cursor.
updatePanelSprites() Updates the panel sprites each frame.
updatePortraitSprite() Updates the portrait sprite each frame.
updateGaugeSprite() Updates the gauge sprite each frame.
update() Update.
updateShown() Shown again after an update spent hidden (updateConditions): sprites and rows are brought up to date now.

Other 11

node() Node.
usesSkin() Uses skin.
rowSpacing() Row spacing.
colSpacing() Col spacing.
selectedRow() Selected row.
publishSelection() Publish selection.
cursorRight() Cursor right.
cursorLeft() Cursor left.
panelSpriteElements() Panel sprite elements.
panelLayer() Panel layer.
pollRows() Reads the rows again and repaints when they differ: four times a second, and at once when asked to.

Setup & Creation

initialize

method source
Window_ReactorUIList.prototype.initialize(rect, scene, node)

Sets up a new instance. (Same as the RPG Maker MZ method of this name.)

initialIndex

method source
Window_ReactorUIList.prototype.initialIndex()

Initial index. (Same as the RPG Maker MZ method of this name.)

Getting Information

maxCols

method source
Window_ReactorUIList.prototype.maxCols()

The maximum cols. (Same as the RPG Maker MZ method of this name.)

maxItems

method source
Window_ReactorUIList.prototype.maxItems()

The maximum items. (Same as the RPG Maker MZ method of this name.)

itemHeight

method source
Window_ReactorUIList.prototype.itemHeight()

Item height. (Same as the RPG Maker MZ method of this name.)

itemPadding

method source
Window_ReactorUIList.prototype.itemPadding()

Item padding. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

isFocusable

method source
Window_ReactorUIList.prototype.isFocusable()

Whether it is focusable. (Same as the RPG Maker MZ method of this name.)

isEnabled

method source
Window_ReactorUIList.prototype.isEnabled()

Whether it is enabled. (Same as the RPG Maker MZ method of this name.)

isCurrentItemEnabled

method source
Window_ReactorUIList.prototype.isCurrentItemEnabled()

Whether it is current item enabled. (Same as the RPG Maker MZ method of this name.)

Actions

setEnabled

method source
Window_ReactorUIList.prototype.setEnabled(enabled)

Sets the enabled. (Same as the RPG Maker MZ method of this name.)

setFocused

method source
Window_ReactorUIList.prototype.setFocused(focused)

Sets the focused. (Same as the RPG Maker MZ method of this name.)

resetFontSettings

method source
Window_ReactorUIList.prototype.resetFontSettings()

Resets the font settings. (Same as the RPG Maker MZ method of this name.)

select

method source
Window_ReactorUIList.prototype.select(index)

Select. (Same as the RPG Maker MZ method of this name.)

playOkSound

method source
Window_ReactorUIList.prototype.playOkSound()

Plays the ok sound. (Same as the RPG Maker MZ method of this name.)

changeOption

method source
Window_ReactorUIList.prototype.changeOption(forward, wrap)

Changes the option. (Same as the RPG Maker MZ method of this name.)

removePanelSprites

method source
Window_ReactorUIList.prototype.removePanelSprites(entry)

Takes down one actor's sprites (an entry of _uiPanelSprites).

clearPanelSprites

method source
Window_ReactorUIList.prototype.clearPanelSprites()

Clears the panel sprites. (Same as the RPG Maker MZ method of this name.)

destroy

method source
Window_ReactorUIList.prototype.destroy(options)

Destroy. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

updatePadding

method source
Window_ReactorUIList.prototype.updatePadding()

Updates the padding each frame. (Same as the RPG Maker MZ method of this name.)

updateBackOpacity

method source
Window_ReactorUIList.prototype.updateBackOpacity()

Updates the back opacity each frame. (Same as the RPG Maker MZ method of this name.)

drawRowPicture

method source
Window_ReactorUIList.prototype.drawRowPicture(index)

A row's picture by its state, stretched under the row with the node's slice borders kept; returns the state whose own picture was drawn, else "".

drawItemBackground

method source
Window_ReactorUIList.prototype.drawItemBackground(index)

Draws the item background. (Same as the RPG Maker MZ method of this name.)

drawActorPanelRow

method source
Window_ReactorUIList.prototype.drawActorPanelRow(actor, rect)

Draws the actor panel row. (Same as the RPG Maker MZ method of this name.)

drawActorPanelParts

method source
Window_ReactorUIList.prototype.drawActorPanelParts(actor, rect, bitmap, behind)

Draws the actor panel parts. (Same as the RPG Maker MZ method of this name.)

drawItem

method source
Window_ReactorUIList.prototype.drawItem(index)

Draws the item. (Same as the RPG Maker MZ method of this name.)

paint

method source
Window_ReactorUIList.prototype.paint()

Paint. (Same as the RPG Maker MZ method of this name.)

refreshCursor

method source
Window_ReactorUIList.prototype.refreshCursor()

Redraws the cursor. (Same as the RPG Maker MZ method of this name.)

updatePanelSprites

method source
Window_ReactorUIList.prototype.updatePanelSprites()

Updates the panel sprites each frame. (Same as the RPG Maker MZ method of this name.)

updatePortraitSprite

method source
Window_ReactorUIList.prototype.updatePortraitSprite(sprite, actor, element, cx, cy)

Updates the portrait sprite each frame. (Same as the RPG Maker MZ method of this name.)

updateGaugeSprite

method source
Window_ReactorUIList.prototype.updateGaugeSprite(sprite, actor, element, x, y)

Updates the gauge sprite each frame. (Same as the RPG Maker MZ method of this name.)

update

method source
Window_ReactorUIList.prototype.update()

Update. (Same as the RPG Maker MZ method of this name.)

updateShown

method source
Window_ReactorUIList.prototype.updateShown()

Shown again after an update spent hidden (updateConditions): sprites and rows are brought up to date now.

Other

node

method source
Window_ReactorUIList.prototype.node()

Node. (Same as the RPG Maker MZ method of this name.)

usesSkin

method source
Window_ReactorUIList.prototype.usesSkin()

Uses skin. (Same as the RPG Maker MZ method of this name.)

rowSpacing

method source
Window_ReactorUIList.prototype.rowSpacing()

Row spacing. (Same as the RPG Maker MZ method of this name.)

colSpacing

method source
Window_ReactorUIList.prototype.colSpacing()

Col spacing. (Same as the RPG Maker MZ method of this name.)

selectedRow

method source
Window_ReactorUIList.prototype.selectedRow()

Selected row. (Same as the RPG Maker MZ method of this name.)

publishSelection

method source
Window_ReactorUIList.prototype.publishSelection()

Publish selection. (Same as the RPG Maker MZ method of this name.)

cursorRight

method source
Window_ReactorUIList.prototype.cursorRight()

Cursor right. (Same as the RPG Maker MZ method of this name.)

cursorLeft

method source
Window_ReactorUIList.prototype.cursorLeft()

Cursor left. (Same as the RPG Maker MZ method of this name.)

panelSpriteElements

method source
Window_ReactorUIList.prototype.panelSpriteElements()

Panel sprite elements. (Same as the RPG Maker MZ method of this name.)

panelLayer

method source
Window_ReactorUIList.prototype.panelLayer()

Panel layer. (Same as the RPG Maker MZ method of this name.)

pollRows

method source
Window_ReactorUIList.prototype.pollRows()

Reads the rows again and repaints when they differ: four times a second, and at once when asked to.