RCOXML Objects: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 38: Line 38:
===Button===
===Button===
{{spoiler|standard object attributes|{{RCOXML standard object attributes}}}}
{{spoiler|standard object attributes|{{RCOXML standard object attributes}}}}
{| class="wikitable"
|+specific object attributes (Button)
! colspan="3" | Attribute !! rowspan="2" | How it works !! rowspan="2" | <abbr title="after verifyed this info needs to be moved to the column at left with an explain of how it works">Research notes (partially speculative)</abbr>
|-
! Name !! Type !! Examples
|-
| buttonImage || image ||  ||  ||
|-
| buttonShadow || image ||  ||  ||
|-
| buttonFocus || image ||  ||  ||
|-
| buttonText || text ||  ||  ||
|-
| buttonOnPush || event ||  ||  ||
|-
| buttonOnFocusIn || event ||  ||  ||
|-
| buttonOnFocusOut || event ||  ||  ||
|-
| buttonOnFocusLeft || event ||  ||  ||
|-
| buttonOnFocusRight || event ||  ||  ||
|-
| buttonOnFocusUp || event ||  ||  ||
|-
| buttonOnFocusDown || event ||  ||  ||
|-
| buttonOnContext || event ||  ||  ||
|-{{cellcolors|#DD6666}}
| buttonUnknownInt47 || int ||  || ? ||
|}


===XMenu===
===XMenu===
{{spoiler|standard object attributes|{{RCOXML standard object attributes}}}}
{{spoiler|standard object attributes|{{RCOXML standard object attributes}}}}
{| class="wikitable"
|+specific object attributes (XMenu)
! colspan="3" | Attribute !! rowspan="2" | How it works
|-
! Name !! Type !! Examples
|-
| xmenuMenus || int ||  ||
|-
| xmenuOnPush || event ||  ||
|-
| xmenuOnContext || event ||  ||
|-
| xmenuOnCursorMove || event ||  ||
|-
| xmenuOnScrollIn || event ||  ||
|-
| xmenuOnScrollOut || event ||  ||
|}


===XMList===
===XMList===
{| class="wikitable"
|+specific object attributes (XMList)
! colspan="3" | Attribute !! rowspan="2" | How it works !! rowspan="2" | <abbr title="after verifyed this info needs to be moved to the column at left with an explain of how it works">Research notes (partially speculative)</abbr>
|-
! Name !! Type !! Examples
|-{{cellcolors|#DD6666}}
| xmlistUnknown0 || unk ||  || ? ||
|-
| xmlistImage || image ||  ||  ||
|-
| xmlistText || text ||  ||  ||
|}


===XList===
===XList===
{{spoiler|standard object attributes|{{RCOXML standard object attributes}}}}
{{spoiler|standard object attributes|{{RCOXML standard object attributes}}}}
{| class="wikitable"
|+specific object attributes (XList)
! colspan="3" | Attribute !! rowspan="2" | How it works !! rowspan="2" | <abbr title="after verifyed this info needs to be moved to the column at left with an explain of how it works">Research notes (partially speculative)</abbr>
|-
! Name !! Type !! Examples
|-{{cellcolors|#DD6666}}
| xlistUnknownInt23 || int ||  ||  ||
|-
| xlistOnMove || event ||  ||  ||
|-
| xlistOnScrollIn || event ||  ||  ||
|-
| xlistOnScrollOut || event ||  ||  ||
|-
| xlistOnPush || event ||  ||  ||
|-
| xlistOnContext || event ||  ||  ||
|-
| xlistOnCancel || event ||  ||  ||
|-{{cellcolors|#DD6666}}
| xlistUnknownEvent36 || event ||  || ? ||
|}


===Progress===
===Progress===

Revision as of 07:50, 19 November 2015

Description

RCOXML Objects are defined in the XML code embedded inside .rco files. See Resource Container (RCO) and RCOXML Structure

There are a lot of objects, should be considered the "construction blocks" of the XMB

ObjectTree

Page

specific object attributes (Page)
Attribute How it works Research notes (partially speculative)
Name Type Examples
pageUnknownInt0 int ?
pageOnInit event
pageOnCancel event
pageOnContext event
pageOnActivate event

Plane

specific object attributes (Plane)
Attribute How it works
Name Type Examples
planeImage image
planeDisplayMode int

Button

specific object attributes (Button)
Attribute How it works Research notes (partially speculative)
Name Type Examples
buttonImage image
buttonShadow image
buttonFocus image
buttonText text
buttonOnPush event
buttonOnFocusIn event
buttonOnFocusOut event
buttonOnFocusLeft event
buttonOnFocusRight event
buttonOnFocusUp event
buttonOnFocusDown event
buttonOnContext event
buttonUnknownInt47 int ?

XMenu

specific object attributes (XMenu)
Attribute How it works
Name Type Examples
xmenuMenus int
xmenuOnPush event
xmenuOnContext event
xmenuOnCursorMove event
xmenuOnScrollIn event
xmenuOnScrollOut event

XMList

specific object attributes (XMList)
Attribute How it works Research notes (partially speculative)
Name Type Examples
xmlistUnknown0 unk ?
xmlistImage image
xmlistText text

XList

specific object attributes (XList)
Attribute How it works Research notes (partially speculative)
Name Type Examples
xlistUnknownInt23 int
xlistOnMove event
xlistOnScrollIn event
xlistOnScrollOut event
xlistOnPush event
xlistOnContext event
xlistOnCancel event
xlistUnknownEvent36 event ?

Progress

Scroll

MList

MItem

ObjUnknown0xB

XItem

Text

ModelObject

Spin

Action

ItemSpin

Group

LList

LItem

Edit

Clock

IList

IItem

Icon

UButton

ObjUnknown0x1B

CheckboxGroup

CheckboxItem

Meter

EditBox

Object examples

Changing color, size & shadow of TEXTS

Tutorial link: Changing the XMB Colour

Located into .xml files of .rco files, scale R G B α colors go between 0 to 1.

e.g.: Decimal value divided by 255 to get into this scale.