UIInspector.h file
UIInspector: a document that shows another document.
Its own window, opened with Shift+F2 in a windowed game build (or --inspect; INI DevInspectorKey = 0 turns the key off), showing the main window's document live:
Tree every node, by type, class, and text; click to select Pick point at the real UI to select what is under the pointer; a press ends picking Node the selected node: the source line that builds it, its rect and size rules, state, reactions, bindings and their last values, accessible name Style the selected node's style: each property's value, and the rule and sheet it came from Tokens the style tokens, each editable. A change applies immediately to everything drawn with those styles, until Reset or the inspector closes. Nothing is saved Counters the document's work in the last second: components run, bindings read and changed, nodes laid out and repainted, publishes, inputs. All zero for an idle document
The selected node is outlined in the inspected document. The inspector is built from the same widgets as everything else, and reads the inspected document on the thread that updates both.
One inspector at a time.
Namespaces
- namespace UIInspector