-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
HeisenUI JSON Spec
Comments are #. Note that these comments are not valid in actual JSON spec.
Each JSON object here should correspond to an actual Java object.
{
'identifier': '',
'controllerClass': 'com.heisenbugdev.example.gui.ExampleViewController'
' this is a list of all the elements in this view. Button, list, tab, etc views are the elements.': 'comment'
'view': {
'identifier': 'view'
'frame': HeisenFrame
'texture': '/assets/MODID/gui/background.png'
'subviews': [
{
'identifier': 'MyLabel',
'type': 'com.heisenbugdev.heisenui.gui.CLASS',
'frame': 'HeisenFrame',
'origin': 0-4,
'hidden': false,
'texture': '/assets/MODID/gui/background.png'
'attributes': {
'text': {
'content': "Label"
'size': 12
}
}
'subviews': []
}
]
},
'outlets': [
{
'elementIdentifier': 'MyLabel',
'identifier': 'MyLabelOutlet'
}
],
'targets': [
{
'elementIdentifier': 'MyLabel',
'identifier': 'MyLabelTarget',
'action': 'mouseRelease'
}
],
'order': 0
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels