I've found how to change gui via the interface folder by looking at the files held there .gui and .gfx.
I can't seem to find any reference to attaching custom behavior to these buttons. I was hoping someone might point me in the right direction.
Example:
interface/planet_view.gui
I was expecting to find something that might point to a behavior on click, but no luck.
I can't seem to find any reference to attaching custom behavior to these buttons. I was hoping someone might point me in the right direction.
Example:
interface/planet_view.gui
Code:
buttonType = {
name = "purge"
quadTextureSprite = "GFX_standard_button_142_34_button"
position = { x = -171 y = -108 }
Orientation = "LOWER_RIGHT"
buttonFont = "cg_16b"
text = "POP_ACTION_PURGE"
font = "cg_16b"
}
I was expecting to find something that might point to a behavior on click, but no luck.