mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +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
|
|
@ -107,6 +107,7 @@ GuiAutoScrollCtrl::GuiAutoScrollCtrl()
|
|||
|
||||
void GuiAutoScrollCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Scrolling" );
|
||||
|
||||
addField( "scrollDirection", TYPEID< Direction >(), Offset( mDirection, GuiAutoScrollCtrl ),
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@ GuiContainer::~GuiContainer()
|
|||
|
||||
void GuiContainer::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Con::setIntVariable("$DOCKING_NONE", Docking::dockNone);
|
||||
Con::setIntVariable("$DOCKING_CLIENT", Docking::dockClient);
|
||||
Con::setIntVariable("$DOCKING_TOP", Docking::dockTop);
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ GuiControlArrayControl::GuiControlArrayControl()
|
|||
|
||||
void GuiControlArrayControl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Array" );
|
||||
|
||||
addField( "colCount", TypeS32, Offset(mCols, GuiControlArrayControl),
|
||||
|
|
|
|||
|
|
@ -164,6 +164,7 @@ GuiDragAndDropControl::GuiDragAndDropControl() : mDeleteOnMouseUp(true), mUseWho
|
|||
|
||||
void GuiDragAndDropControl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "deleteOnMouseUp", TypeBool, Offset( mDeleteOnMouseUp, GuiDragAndDropControl ),
|
||||
"If true, the control deletes itself when the left mouse button is released.\n\n"
|
||||
"If at this point, the drag&drop control still contains its payload, it will be deleted along with the control." );
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ ConsoleDocClass( GuiDynamicCtrlArrayControl,
|
|||
|
||||
void GuiDynamicCtrlArrayControl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "colCount", TypeS32, Offset( mCols, GuiDynamicCtrlArrayControl ),
|
||||
"Number of columns the child controls have been arranged into. This "
|
||||
"value is calculated automatically when children are added, removed or "
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ bool GuiFormCtrl::_setHasMenu( void *object, const char *index, const char *data
|
|||
|
||||
void GuiFormCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("caption", TypeRealString, Offset(mCaption, GuiFormCtrl));
|
||||
addField("contentLibrary",TypeString, Offset(mContentLibrary, GuiFormCtrl));
|
||||
addField("content", TypeString, Offset(mContent, GuiFormCtrl));
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ EndImplementEnumType;
|
|||
//-----------------------------------------------------------------------------
|
||||
void GuiFrameSetCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "columns", TypeS32Vector, Offset(mColumnOffsets, GuiFrameSetCtrl),
|
||||
"A vector of column offsets (determines the width of each column)." );
|
||||
|
||||
|
|
@ -1150,4 +1151,4 @@ RectSpacingI GuiFrameSetCtrl::getFramePadding(S32 index)
|
|||
return fd->mPadding;
|
||||
|
||||
return RectSpacingI( 0, 0, 0, 0 );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ GuiPaneControl::GuiPaneControl()
|
|||
|
||||
void GuiPaneControl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Pane" );
|
||||
|
||||
addField("caption", TypeRealString, Offset(mCaption, GuiPaneControl),
|
||||
|
|
|
|||
|
|
@ -92,6 +92,7 @@ GuiRolloutCtrl::~GuiRolloutCtrl()
|
|||
|
||||
void GuiRolloutCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Rollout" );
|
||||
|
||||
addField( "caption", TypeRealString, Offset( mCaption, GuiRolloutCtrl ),
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ GuiScrollCtrl::GuiScrollCtrl()
|
|||
|
||||
void GuiScrollCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Scolling" );
|
||||
|
||||
addField( "willFirstRespond", TypeBool, Offset(mWillFirstRespond, GuiScrollCtrl));
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ GuiSplitContainer::GuiSplitContainer()
|
|||
|
||||
void GuiSplitContainer::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Splitter", "Options to configure split panels contained by this control" );
|
||||
|
||||
addField( "orientation", TYPEID< Orientation >(), Offset( mOrientation, GuiSplitContainer),
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ GuiStackControl::GuiStackControl()
|
|||
|
||||
void GuiStackControl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
|
||||
addGroup( "Stacking" );
|
||||
addField( "stackingType", TYPEID< StackingType >(), Offset(mStackingType, GuiStackControl),
|
||||
|
|
@ -385,4 +386,4 @@ bool GuiStackControl::reOrder(SimObject* obj, SimObject* target)
|
|||
void GuiStackControl::childResized(GuiControl *child)
|
||||
{
|
||||
updatePanes();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -98,6 +98,7 @@ GuiTabBookCtrl::GuiTabBookCtrl()
|
|||
|
||||
void GuiTabBookCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "TabBook" );
|
||||
|
||||
addField( "tabPosition", TYPEID< TabPosition >(), Offset( mTabPosition, GuiTabBookCtrl ),
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ GuiWindowCtrl::GuiWindowCtrl()
|
|||
|
||||
void GuiWindowCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Window" );
|
||||
|
||||
addField( "text", TypeRealString, Offset( mText, GuiWindowCtrl ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue