mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-28 08:39:34 +00:00
add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector
This commit is contained in:
parent
a0bbe0ec18
commit
f5a34308f9
382 changed files with 588 additions and 130 deletions
|
|
@ -201,6 +201,7 @@ bool GuiCanvas::setProtectedNumFences( void *object, const char *index, const ch
|
|||
|
||||
void GuiCanvas::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("Mouse Handling");
|
||||
addField("alwaysHandleMouseButtons", TypeBool, Offset(mAlwaysHandleMouseButtons, GuiCanvas),
|
||||
"Deal with mouse buttons, even if the cursor is hidden." );
|
||||
|
|
|
|||
|
|
@ -252,6 +252,7 @@ void GuiControl::consoleInit()
|
|||
|
||||
void GuiControl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Layout" );
|
||||
|
||||
addField("position", TypePoint2I, Offset(mBounds.point, GuiControl),
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ GuiOffscreenCanvas::~GuiOffscreenCanvas()
|
|||
|
||||
void GuiOffscreenCanvas::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "targetSize", TypePoint2I, Offset( mTargetSize, GuiOffscreenCanvas ),"" );
|
||||
addField( "targetFormat", TypeGFXFormat, Offset( mTargetFormat, GuiOffscreenCanvas ), "");
|
||||
addField( "targetName", TypeRealString, Offset( mTargetName, GuiOffscreenCanvas ), "");
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ GuiScriptNotifyCtrl::~GuiScriptNotifyCtrl()
|
|||
|
||||
void GuiScriptNotifyCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
// Callbacks Group
|
||||
addGroup("Callbacks");
|
||||
addField("notifyOnChildAdded", TypeBool, Offset( mOnChildAdded, GuiScriptNotifyCtrl ), "Enables/disables onChildAdded callback" );
|
||||
|
|
|
|||
|
|
@ -88,6 +88,7 @@ GuiCursor::~GuiCursor()
|
|||
|
||||
void GuiCursor::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("hotSpot", TypePoint2I, Offset(mHotSpot, GuiCursor), "The location of the cursor's hot spot (which pixel carries the click).");
|
||||
addField("renderOffset",TypePoint2F, Offset(mRenderOffset, GuiCursor), "Offset of the bitmap, where 0 signifies left edge of the bitmap, 1, the right. Similarly for the Y-component.");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue