|Version 2 (modified by gerbilOFdoom, 17 months ago) (diff)|
Todo: Locate and describe references for functionality of the game, both engine and scripting
"Public" refers to the location "binaries/data/mods/public"
source/gui/CButton.cpp - Defines the button, passes "HandleMessage?" off to IGUIButtonBehavior and IGUITextOwner source/gui/IGUIButtonBehavior.cpp - Handles button events, currently mouse clicks and hovers
Properties: .hidden(bool) .tooltip(string) - HTML formatting allowed
Events .onpress(func) .onrightpress(func) To be implemented with ticket 1028