mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 22:24:33 +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
|
|
@ -49,6 +49,7 @@ GuiEaseViewCtrl::GuiEaseViewCtrl()
|
|||
|
||||
void GuiEaseViewCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField("ease", TypeEaseF, Offset( mEase, GuiEaseViewCtrl ) );
|
||||
|
|
|
|||
|
|
@ -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." );
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ GuiGraphCtrl::GuiGraphCtrl()
|
|||
|
||||
void GuiGraphCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Graph" );
|
||||
|
||||
addField( "centerY", TypeF32, Offset( mCenterY, GuiGraphCtrl ),
|
||||
|
|
|
|||
|
|
@ -138,6 +138,7 @@ U32 GuiImageList::IndexFromPath ( const char* Path )
|
|||
|
||||
void GuiImageList::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ GuiInspector::~GuiInspector()
|
|||
|
||||
void GuiInspector::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Inspector" );
|
||||
|
||||
addField( "dividerMargin", TypeS32, Offset( mDividerMargin, GuiInspector ) );
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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." );
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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" );
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ ConsoleDocClass( PopupMenu,
|
|||
//-----------------------------------------------------------------------------
|
||||
void PopupMenu::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField("barTitle", TypeCaseString, Offset(mBarTitle, PopupMenu), "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue