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

@ -49,6 +49,7 @@ GuiEaseViewCtrl::GuiEaseViewCtrl()
void GuiEaseViewCtrl::initPersistFields()
{
docsURL;
Parent::initPersistFields();
addField("ease", TypeEaseF, Offset( mEase, GuiEaseViewCtrl ) );

View file

@ -139,6 +139,7 @@ GuiEditCtrl::GuiEditCtrl()
void GuiEditCtrl::initPersistFields()
{
docsURL;
addGroup( "Snapping" );
addField( "snapToControls", TypeBool, Offset( mSnapToControls, GuiEditCtrl ),
"If true, edge and center snapping will work against controls." );

View file

@ -50,6 +50,7 @@ GuiFilterCtrl::GuiFilterCtrl()
void GuiFilterCtrl::initPersistFields()
{
docsURL;
addField("controlPoints", TypeS32, Offset(mControlPointRequest, GuiFilterCtrl),
"Total number of control points in the spline curve." );
addField("filter", TypeF32Vector, Offset(mFilter, GuiFilterCtrl),

View file

@ -102,6 +102,7 @@ GuiGraphCtrl::GuiGraphCtrl()
void GuiGraphCtrl::initPersistFields()
{
docsURL;
addGroup( "Graph" );
addField( "centerY", TypeF32, Offset( mCenterY, GuiGraphCtrl ),

View file

@ -138,6 +138,7 @@ U32 GuiImageList::IndexFromPath ( const char* Path )
void GuiImageList::initPersistFields()
{
docsURL;
Parent::initPersistFields();
}

View file

@ -66,6 +66,7 @@ GuiInspector::~GuiInspector()
void GuiInspector::initPersistFields()
{
docsURL;
addGroup( "Inspector" );
addField( "dividerMargin", TypeS32, Offset( mDividerMargin, GuiInspector ) );

View file

@ -1126,6 +1126,7 @@ void GuiMenuBar::onRemove()
void GuiMenuBar::initPersistFields()
{
docsURL;
addField("padding", TypeS32, Offset( mPadding, GuiMenuBar ),"Extra padding to add to the bounds of the control.\n");
addField("menubarHeight", TypeS32, Offset(mMenubarHeight, GuiMenuBar), "Sets the height of the menubar when attached to the canvas.\n");

View file

@ -53,6 +53,7 @@ GuiRectHandles::~GuiRectHandles()
//--------------------------------------------------------------------------
void GuiRectHandles::initPersistFields()
{
docsURL;
addField("handleRect", TypeRectF, Offset(mHandleRect, GuiRectHandles), "RectF of handle's box." );
addField("handleSize", TypeS32, Offset(mHandleSize, GuiRectHandles), "Size of handles in pixels." );
addField("useCustomColor", TypeBool, Offset(mUseCustomColor, GuiRectHandles), "Use given custom color for handles." );

View file

@ -72,6 +72,7 @@ GuiSeparatorCtrl::GuiSeparatorCtrl() : GuiControl()
//--------------------------------------------------------------------------
void GuiSeparatorCtrl::initPersistFields()
{
docsURL;
addField("caption", TypeRealString, Offset(mText, GuiSeparatorCtrl),
"Optional text label to display." );
addField("type", TYPEID< separatorTypeOptions >(), Offset(mSeparatorType, GuiSeparatorCtrl),

View file

@ -119,6 +119,7 @@ GuiShapeEdPreview::~GuiShapeEdPreview()
void GuiShapeEdPreview::initPersistFields()
{
docsURL;
addGroup( "Rendering" );
addField( "editSun", TypeBool, Offset( mEditingSun, GuiShapeEdPreview ),
"If true, dragging the gizmo will rotate the sun direction" );

View file

@ -82,6 +82,7 @@ ConsoleDocClass( PopupMenu,
//-----------------------------------------------------------------------------
void PopupMenu::initPersistFields()
{
docsURL;
Parent::initPersistFields();
addField("barTitle", TypeCaseString, Offset(mBarTitle, PopupMenu), "");