mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 07:20:40 +00:00
add TypeHints for inspector viewing
typehints operate as an additional label for a given class in the inspector, allowing one to specify what class-entry to use as a tag examples: Prefab displays prefab filename TSStatic displays the used shape asset name SFXEmitter displays the played sound asset GameBase derivatives display the datablock used
This commit is contained in:
parent
0d981b62cf
commit
b1f118898e
9 changed files with 48 additions and 1 deletions
|
|
@ -79,6 +79,7 @@ class GuiTreeViewCtrl : public GuiArrayCtrl
|
|||
ForceItemName = BIT(15),
|
||||
ForceDragTarget = BIT(16),
|
||||
DenyDrag = BIT(17),
|
||||
ShowTypeHint = BIT(18),
|
||||
};
|
||||
|
||||
GuiTreeViewCtrl* mParentControl;
|
||||
|
|
@ -395,6 +396,9 @@ class GuiTreeViewCtrl : public GuiArrayCtrl
|
|||
/// If true, internal names will be included in inspector tree item labels.
|
||||
bool mShowInternalNames;
|
||||
|
||||
/// If true, TypeHints will be included in inspector tree item labels.
|
||||
bool mShowTypeHints;
|
||||
|
||||
/// If true, class names will be used as object names for unnamed objects.
|
||||
bool mShowClassNameForUnnamedObjects;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue