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:
AzaezelX 2023-01-27 01:13:15 -06:00
parent a0bbe0ec18
commit f5a34308f9
382 changed files with 588 additions and 130 deletions

View file

@ -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." );

View file

@ -252,6 +252,7 @@ void GuiControl::consoleInit()
void GuiControl::initPersistFields()
{
docsURL;
addGroup( "Layout" );
addField("position", TypePoint2I, Offset(mBounds.point, GuiControl),

View file

@ -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 ), "");

View file

@ -67,6 +67,7 @@ GuiScriptNotifyCtrl::~GuiScriptNotifyCtrl()
void GuiScriptNotifyCtrl::initPersistFields()
{
docsURL;
// Callbacks Group
addGroup("Callbacks");
addField("notifyOnChildAdded", TypeBool, Offset( mOnChildAdded, GuiScriptNotifyCtrl ), "Enables/disables onChildAdded callback" );

View file

@ -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.");