Version 5 (modified by gerbilOFdoom, 12 years 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"

Table of Contents

  1. User Interface
    1. Buttons

User Interface

Buttons

Source Locations:
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

Note: See TracWiki for help on using the wiki.