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

@ -70,6 +70,7 @@ GuiInputCtrl::GuiInputCtrl()
void GuiInputCtrl::initPersistFields()
{
docsURL;
addGroup("GuiInputCtrl");
addField("sendAxisEvents", TypeBool, Offset(mSendAxisEvents, GuiInputCtrl),
"If true, onAxisEvent callbacks will be sent for SI_AXIS Move events (Default false).");

View file

@ -293,6 +293,7 @@ void GuiMouseEventCtrl::sendMouseEvent(const char * name, const GuiEvent & event
//------------------------------------------------------------------------------
void GuiMouseEventCtrl::initPersistFields()
{
docsURL;
addGroup( "Input" );
addField("lockMouse", TypeBool, Offset(mLockMouse, GuiMouseEventCtrl),
@ -365,4 +366,4 @@ void GuiMouseEventCtrl::onRightMouseUp(const GuiEvent & event)
void GuiMouseEventCtrl::onRightMouseDragged(const GuiEvent & event)
{
sendMouseEvent("onRightMouseDragged", event);
}
}

View file

@ -78,6 +78,7 @@ bool GuiRenderTargetVizCtrl::onWake()
void GuiRenderTargetVizCtrl::initPersistFields()
{
docsURL;
Parent::initPersistFields();
addField("RenderTargetName", TypeString, Offset(mTargetName, GuiRenderTargetVizCtrl), "");

View file

@ -425,6 +425,7 @@ MessageVector::~MessageVector()
//--------------------------------------------------------------------------
void MessageVector::initPersistFields()
{
docsURL;
Parent::initPersistFields();
}