mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 23:40:42 +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
|
|
@ -172,6 +172,7 @@ GuiTSCtrl::GuiTSCtrl()
|
|||
|
||||
void GuiTSCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Camera" );
|
||||
|
||||
addField("cameraZRot", TypeF32, Offset(mCameraZRot, GuiTSCtrl),
|
||||
|
|
|
|||
|
|
@ -136,6 +136,7 @@ GuiBitmapButtonCtrl::GuiBitmapButtonCtrl()
|
|||
|
||||
void GuiBitmapButtonCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Bitmap" );
|
||||
|
||||
addProtectedField("Bitmap", TypeImageFilename, Offset(mBitmapName, GuiBitmapButtonCtrl), _setBitmapFieldData, &defaultProtectedGetFn, "Texture file to display on this button.\n"
|
||||
|
|
|
|||
|
|
@ -114,6 +114,7 @@ GuiButtonBaseCtrl::GuiButtonBaseCtrl()
|
|||
|
||||
void GuiButtonBaseCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Button" );
|
||||
|
||||
addField( "text", TypeCaseString, Offset(mButtonText, GuiButtonBaseCtrl),
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ EndImplementEnumType;
|
|||
|
||||
void GuiIconButtonCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "buttonMargin", TypePoint2I, Offset( mButtonMargin, GuiIconButtonCtrl ),"Margin area around the button.\n");
|
||||
|
||||
addProtectedField( "iconBitmap", TypeImageFilename, Offset( mBitmapName, GuiIconButtonCtrl ), &_setBitmapData, &defaultProtectedGetFn, "Bitmap file for the icon to display on the button.\n", AbstractClassRep::FIELD_HideInInspectors);
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ GuiSwatchButtonCtrl::GuiSwatchButtonCtrl()
|
|||
|
||||
void GuiSwatchButtonCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("color", TypeColorF, Offset(mSwatchColor, GuiSwatchButtonCtrl), "The foreground color of GuiSwatchButtonCtrl");
|
||||
addField( "gridBitmap", TypeRealString, Offset( mGridBitmap, GuiSwatchButtonCtrl ), "The bitmap used for the transparent grid" );
|
||||
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ GuiToolboxButtonCtrl::GuiToolboxButtonCtrl()
|
|||
//-------------------------------------
|
||||
void GuiToolboxButtonCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
INITPERSISTFIELD_IMAGEASSET(NormalBitmap, GuiToolboxButtonCtrl, "");
|
||||
INITPERSISTFIELD_IMAGEASSET(LoweredBitmap, GuiToolboxButtonCtrl, "");
|
||||
INITPERSISTFIELD_IMAGEASSET(HoverBitmap, GuiToolboxButtonCtrl, "");
|
||||
|
|
|
|||
|
|
@ -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 ),
|
||||
|
|
|
|||
|
|
@ -70,7 +70,8 @@ Gui3DProjectionCtrl::Gui3DProjectionCtrl()
|
|||
}
|
||||
|
||||
void Gui3DProjectionCtrl::initPersistFields()
|
||||
{
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
addGroup("3DProjection");
|
||||
addField("pointWorld" , TypePoint3F , Offset(mPtWorld , Gui3DProjectionCtrl));
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ guiAnimBitmapCtrl::~guiAnimBitmapCtrl(void)
|
|||
}
|
||||
void guiAnimBitmapCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("AnimTexTiling", TYPEID< Point2I >(), Offset(mAnimTexTiling, guiAnimBitmapCtrl),
|
||||
"@brief The number of frames, in rows and columns stored in textureName "
|
||||
"(when animateTexture is true).\n\n"
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ GuiBitmapBarCtrl::GuiBitmapBarCtrl(void)
|
|||
|
||||
void GuiBitmapBarCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("percent", TypeF32, Offset(mPercent, GuiBitmapBarCtrl),
|
||||
"% shown");
|
||||
addField("vertical", TypeBool, Offset(mVertical, GuiBitmapBarCtrl),
|
||||
|
|
@ -98,4 +99,4 @@ void GuiBitmapBarCtrl::onRender(Point2I offset, const RectI &updateRect)
|
|||
}
|
||||
|
||||
renderChildControls(offset, updateRect);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ bool GuiBitmapCtrl::setBitmapName( void *object, const char *index, const char *
|
|||
|
||||
void GuiBitmapCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Bitmap" );
|
||||
|
||||
INITPERSISTFIELD_IMAGEASSET(Bitmap, GuiBitmapCtrl, The bitmap file to display in the control);
|
||||
|
|
|
|||
|
|
@ -101,6 +101,7 @@ EndImplementEnumType;
|
|||
|
||||
void GuiColorPickerCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("ColorPicker");
|
||||
addField("baseColor", TypeColorF, Offset(mBaseColor, GuiColorPickerCtrl));
|
||||
addField("pickColor", TypeColorF, Offset(mPickColor, GuiColorPickerCtrl));
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ GuiConsoleEditCtrl::GuiConsoleEditCtrl()
|
|||
|
||||
void GuiConsoleEditCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("GuiConsoleEditCtrl");
|
||||
addField("useSiblingScroller", TypeBool, Offset(mUseSiblingScroller, GuiConsoleEditCtrl));
|
||||
endGroup("GuiConsoleEditCtrl");
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ GuiConsoleTextCtrl::~GuiConsoleTextCtrl()
|
|||
|
||||
void GuiConsoleTextCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("GuiConsoleTextCtrl");
|
||||
addField("expression", TypeRealString, Offset(mConsoleExpression, GuiConsoleTextCtrl));
|
||||
endGroup("GuiConsoleTextCtrl");
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ GuiDecoyCtrl::~GuiDecoyCtrl()
|
|||
|
||||
void GuiDecoyCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("isDecoy", TypeBool, Offset(mIsDecoy, GuiDecoyCtrl), "Sets this control to decoy mode");
|
||||
|
||||
Parent::initPersistFields();
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ GuiDirectoryFileListCtrl::GuiDirectoryFileListCtrl()
|
|||
|
||||
void GuiDirectoryFileListCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addProtectedField( "filePath", TypeString, Offset( mFilePath, GuiDirectoryFileListCtrl ),
|
||||
&_setFilePath, &defaultProtectedGetFn, "Path in game directory from which to list files." );
|
||||
addProtectedField( "fileFilter", TypeString, Offset( mFilter, GuiDirectoryFileListCtrl ),
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ GuiFileTreeCtrl::GuiFileTreeCtrl()
|
|||
|
||||
void GuiFileTreeCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "File Tree" );
|
||||
addField( "rootPath", TypeRealString, Offset( mRootPath, GuiFileTreeCtrl ), "Path in game directory that should be displayed in the control." );
|
||||
addProtectedField( "fileFilter", TypeRealString, Offset( mFileFilter, GuiFileTreeCtrl ),
|
||||
|
|
|
|||
|
|
@ -1475,6 +1475,7 @@ IMPLEMENT_CALLBACK(GuiGameListMenuCtrl, onAxisEvent, void, (const char* device,
|
|||
|
||||
void GuiGameListMenuCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("debugRender", TypeBool, Offset(mDebugRender, GuiGameListMenuCtrl),
|
||||
"Enable debug rendering" );
|
||||
|
||||
|
|
@ -1862,6 +1863,7 @@ ConsoleDocClass( GuiGameListMenuProfile,
|
|||
|
||||
void GuiGameListMenuProfile::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "hitAreaUpperLeft", TypePoint2I, Offset(mHitAreaUpperLeft, GuiGameListMenuProfile),
|
||||
"Position of the upper left corner of the row hit area (relative to row's top left corner)" );
|
||||
|
||||
|
|
|
|||
|
|
@ -446,6 +446,7 @@ ConsoleDocClass( GuiGameListOptionsCtrl,
|
|||
|
||||
void GuiGameListOptionsCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -542,6 +543,7 @@ ConsoleDocClass( GuiGameListOptionsProfile,
|
|||
|
||||
void GuiGameListOptionsProfile::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "columnSplit", TypeS32, Offset(mColumnSplit, GuiGameListOptionsProfile),
|
||||
"Padding between the leftmost edge of the control, and the row's left arrow." );
|
||||
|
||||
|
|
|
|||
|
|
@ -900,6 +900,7 @@ IMPLEMENT_CALLBACK(GuiGameSettingsCtrl, onAxisEvent, void, (const char* device,
|
|||
|
||||
void GuiGameSettingsCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
INITPERSISTFIELD_IMAGEASSET(KeybindBitmap, GuiGameSettingsCtrl, "Bitmap used to display the bound key for this keybind option.");
|
||||
INITPERSISTFIELD_IMAGEASSET(PreviousBitmap, GuiGameSettingsCtrl, "Bitmap used for the previous button when in list mode.");
|
||||
INITPERSISTFIELD_IMAGEASSET(NextBitmap, GuiGameSettingsCtrl, "Bitmap used for the next button when in list mode.");
|
||||
|
|
|
|||
|
|
@ -232,6 +232,7 @@ GuiGradientCtrl::GuiGradientCtrl()
|
|||
//--------------------------------------------------------------------------
|
||||
void GuiGradientCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("ColorPicker");
|
||||
addField("baseColor", TypeColorF, Offset(mBaseColor, GuiGradientCtrl));
|
||||
addField("pickColor", TypeColorF, Offset(mPickColor, GuiGradientCtrl));
|
||||
|
|
|
|||
|
|
@ -176,6 +176,7 @@ GuiListBoxCtrl::~GuiListBoxCtrl()
|
|||
|
||||
void GuiListBoxCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "allowMultipleSelections", TypeBool, Offset( mMultipleSelections, GuiListBoxCtrl), "If true, will allow the selection of multiple items in the listbox.\n");
|
||||
addField( "fitParentWidth", TypeBool, Offset( mFitParentWidth, GuiListBoxCtrl), "If true, the width of the listbox will match the width of its parent control.\n");
|
||||
addField( "colorBullet", TypeBool, Offset( mColorBullet, GuiListBoxCtrl), "If true, colored items will render a colored rectangular bullet next to the item text.\n");
|
||||
|
|
|
|||
|
|
@ -285,6 +285,7 @@ GuiMLTextCtrl::~GuiMLTextCtrl()
|
|||
//--------------------------------------------------------------------------
|
||||
void GuiMLTextCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Text" );
|
||||
|
||||
addField("lineSpacing", TypeS32, Offset(mLineSpacingPixels, GuiMLTextCtrl), "The number of blank pixels to place between each line.\n");
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ bool GuiMLTextEditCtrl::resize(const Point2I &newPosition, const Point2I &newExt
|
|||
//--------------------------------------------------------------------------
|
||||
void GuiMLTextEditCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "escapeCommand", TypeString, Offset( mEscapeCommand, GuiMLTextEditCtrl ), "Script function to run whenever the 'escape' key is pressed when this control is in focus.\n");
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ GuiMaterialCtrl::GuiMaterialCtrl()
|
|||
|
||||
void GuiMaterialCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Material" );
|
||||
INITPERSISTFIELD_MATERIALASSET(Material, GuiMaterialCtrl, "");
|
||||
addProtectedField( "materialName", TypeStringFilename, Offset( mMaterialName, GuiMaterialCtrl ), &GuiMaterialCtrl::_setMaterialData, &defaultProtectedGetFn, "", AbstractClassRep::FIELD_HideInInspectors );
|
||||
|
|
|
|||
|
|
@ -297,6 +297,7 @@ GuiPopUpMenuCtrl::~GuiPopUpMenuCtrl()
|
|||
//------------------------------------------------------------------------------
|
||||
void GuiPopUpMenuCtrl::initPersistFields(void)
|
||||
{
|
||||
docsURL;
|
||||
addField("maxPopupHeight", TypeS32, Offset(mMaxPopupHeight, GuiPopUpMenuCtrl));
|
||||
addField("sbUsesNAColor", TypeBool, Offset(mRenderScrollInNA, GuiPopUpMenuCtrl));
|
||||
addField("reverseTextList", TypeBool, Offset(mReverseTextList, GuiPopUpMenuCtrl));
|
||||
|
|
|
|||
|
|
@ -349,6 +349,7 @@ GuiPopUpMenuCtrlEx::~GuiPopUpMenuCtrlEx()
|
|||
//------------------------------------------------------------------------------
|
||||
void GuiPopUpMenuCtrlEx::initPersistFields(void)
|
||||
{
|
||||
docsURL;
|
||||
addField("maxPopupHeight", TypeS32, Offset(mMaxPopupHeight, GuiPopUpMenuCtrlEx), "Length of menu when it extends");
|
||||
addField("sbUsesNAColor", TypeBool, Offset(mRenderScrollInNA, GuiPopUpMenuCtrlEx), "Deprecated" "@internal");
|
||||
addField("reverseTextList", TypeBool, Offset(mReverseTextList, GuiPopUpMenuCtrlEx), "Reverses text list if popup extends up, instead of down");
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ GuiSliderCtrl::GuiSliderCtrl()
|
|||
|
||||
void GuiSliderCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Slider" );
|
||||
|
||||
addField( "range", TypePoint2F, Offset( mRange, GuiSliderCtrl ),
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ GuiTabPageCtrl::GuiTabPageCtrl(void)
|
|||
|
||||
void GuiTabPageCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "fitBook", TypeBool, Offset( mFitBook, GuiTabPageCtrl ),
|
||||
"Determines whether to resize this page when it is added to the tab book. "
|
||||
"If true, the page will be resized according to the tab book extents and "
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ DefineEngineMethod( GuiTextCtrl, setTextID, void, (const char* textID),,
|
|||
|
||||
void GuiTextCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addProtectedField("text", TypeCaseString, Offset(mInitialText, GuiTextCtrl), setText, getTextProperty,
|
||||
"The text to show on the control.");
|
||||
|
||||
|
|
|
|||
|
|
@ -169,6 +169,7 @@ GuiTextEditCtrl::~GuiTextEditCtrl()
|
|||
|
||||
void GuiTextEditCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addProtectedField("placeholderText", TypeCaseString, Offset(mPlaceholderText, GuiTextEditCtrl), setPlaceholderText, getPlaceholderText,
|
||||
"The text to show on the control.");
|
||||
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ GuiTextEditSliderBitmapCtrl::~GuiTextEditSliderBitmapCtrl()
|
|||
|
||||
void GuiTextEditSliderBitmapCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("format", TypeString, Offset(mFormat, GuiTextEditSliderBitmapCtrl), "Character format type to place in the control.\n");
|
||||
addField("range", TypePoint2F, Offset(mRange, GuiTextEditSliderBitmapCtrl), "Maximum vertical and horizontal range to allow in the control.\n");
|
||||
addField("increment", TypeF32, Offset(mIncAmount, GuiTextEditSliderBitmapCtrl), "How far to increment the slider on each step.\n");
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ GuiTextEditSliderCtrl::~GuiTextEditSliderCtrl()
|
|||
|
||||
void GuiTextEditSliderCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("format", TypeString, Offset(mFormat, GuiTextEditSliderCtrl), "Character format type to place in the control.\n");
|
||||
addField("range", TypePoint2F, Offset(mRange, GuiTextEditSliderCtrl), "Maximum vertical and horizontal range to allow in the control.\n");
|
||||
addField("increment", TypeF32, Offset(mIncAmount, GuiTextEditSliderCtrl), "How far to increment the slider on each step.\n");
|
||||
|
|
|
|||
|
|
@ -130,6 +130,7 @@ GuiTextListCtrl::GuiTextListCtrl()
|
|||
|
||||
void GuiTextListCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("columns", TypeS32Vector, Offset(mColumnOffsets, GuiTextListCtrl), "A vector of column offsets. The number of values determines the number of columns in the table.\n" );
|
||||
addField("fitParentWidth", TypeBool, Offset(mFitParentWidth, GuiTextListCtrl), "If true, the width of this control will match the width of its parent.\n");
|
||||
addField("clipColumnText", TypeBool, Offset(mClipColumnText, GuiTextListCtrl), "If true, text exceeding a column's given width will get clipped.\n" );
|
||||
|
|
|
|||
|
|
@ -859,6 +859,7 @@ GuiTreeViewCtrl::~GuiTreeViewCtrl()
|
|||
|
||||
void GuiTreeViewCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "TreeView" );
|
||||
|
||||
addField( "tabSize", TypeS32, Offset(mTabSize, GuiTreeViewCtrl));
|
||||
|
|
|
|||
|
|
@ -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." );
|
||||
|
|
|
|||
|
|
@ -252,6 +252,7 @@ void GuiControl::consoleInit()
|
|||
|
||||
void GuiControl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Layout" );
|
||||
|
||||
addField("position", TypePoint2I, Offset(mBounds.point, GuiControl),
|
||||
|
|
|
|||
|
|
@ -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 ), "");
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ GuiScriptNotifyCtrl::~GuiScriptNotifyCtrl()
|
|||
|
||||
void GuiScriptNotifyCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
// Callbacks Group
|
||||
addGroup("Callbacks");
|
||||
addField("notifyOnChildAdded", TypeBool, Offset( mOnChildAdded, GuiScriptNotifyCtrl ), "Enables/disables onChildAdded callback" );
|
||||
|
|
|
|||
|
|
@ -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.");
|
||||
|
||||
|
|
|
|||
|
|
@ -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), "");
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ ConsoleDocClass( GuiChunkedBitmapCtrl,
|
|||
|
||||
void GuiChunkedBitmapCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("GuiChunkedBitmapCtrl");
|
||||
INITPERSISTFIELD_IMAGEASSET(Bitmap, GuiChunkedBitmapCtrl, "This is the bitmap to render to the control.");
|
||||
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ GuiFadeinBitmapCtrl::GuiFadeinBitmapCtrl()
|
|||
|
||||
void GuiFadeinBitmapCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Fading" );
|
||||
|
||||
addField( "fadeColor", TypeColorF, Offset( mFadeColor, GuiFadeinBitmapCtrl ),
|
||||
|
|
|
|||
|
|
@ -192,6 +192,7 @@ GuiMessageVectorCtrl::~GuiMessageVectorCtrl()
|
|||
//--------------------------------------------------------------------------
|
||||
void GuiMessageVectorCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("lineSpacing", TypeS32, Offset(mLineSpacingPixels, GuiMessageVectorCtrl));
|
||||
addField("lineContinuedIndex", TypeS32, Offset(mLineContinuationIndent, GuiMessageVectorCtrl));
|
||||
addField("allowedMatches", TypeString, Offset(mAllowedMatches, GuiMessageVectorCtrl), 16);
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ GuiProgressBitmapCtrl::GuiProgressBitmapCtrl()
|
|||
|
||||
void GuiProgressBitmapCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
INITPERSISTFIELD_IMAGEASSET(Bitmap, GuiProgressBitmapCtrl, "Bitmap file to use for rendering the progress bar.\n\n"
|
||||
"If the profile assigned to the control already has a bitmap assigned, this property need not be "
|
||||
"set in which case the bitmap from the profile is used.");
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ GuiTheoraCtrl::GuiTheoraCtrl()
|
|||
|
||||
void GuiTheoraCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Playback");
|
||||
|
||||
addField( "theoraFile", TypeStringFilename, Offset( mFilename, GuiTheoraCtrl ),
|
||||
|
|
|
|||
|
|
@ -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).");
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ bool GuiRenderTargetVizCtrl::onWake()
|
|||
|
||||
void GuiRenderTargetVizCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField("RenderTargetName", TypeString, Offset(mTargetName, GuiRenderTargetVizCtrl), "");
|
||||
|
|
|
|||
|
|
@ -425,6 +425,7 @@ MessageVector::~MessageVector()
|
|||
//--------------------------------------------------------------------------
|
||||
void MessageVector::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -219,6 +219,7 @@ void EditTSCtrl::onRender(Point2I offset, const RectI &updateRect)
|
|||
|
||||
void EditTSCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Grid" );
|
||||
|
||||
addField( "gridSize", TypeF32, Offset( mGridPlaneSize, EditTSCtrl ) );
|
||||
|
|
|
|||
|
|
@ -240,6 +240,7 @@ bool GizmoProfile::onAdd()
|
|||
|
||||
void GizmoProfile::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "alignment", TYPEID< GizmoAlignment >(), Offset(alignment, GizmoProfile ) );
|
||||
addField( "mode", TYPEID< GizmoMode >(), Offset(mode, GizmoProfile ) );
|
||||
|
||||
|
|
@ -371,6 +372,7 @@ void Gizmo::onRemove()
|
|||
|
||||
void Gizmo::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
//addField( "profile",)
|
||||
|
|
|
|||
|
|
@ -113,7 +113,8 @@ void GuiConvexEditorCtrl::onRemove()
|
|||
}
|
||||
|
||||
void GuiConvexEditorCtrl::initPersistFields()
|
||||
{
|
||||
{
|
||||
docsURL;
|
||||
addField( "isDirty", TypeBool, Offset( mIsDirty, GuiConvexEditorCtrl ) );
|
||||
addField( "materialName", TypeMaterialAssetId, Offset(mMaterialName, GuiConvexEditorCtrl) );
|
||||
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ bool GuiDecalEditorCtrl::onAdd()
|
|||
|
||||
void GuiDecalEditorCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "currentDecalData", TYPEID< DecalData >(), Offset( mCurrentDecalData, GuiDecalEditorCtrl ) );
|
||||
|
||||
Parent::initPersistFields();
|
||||
|
|
@ -913,6 +914,7 @@ DICreateUndoAction::~DICreateUndoAction()
|
|||
|
||||
void DICreateUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -1001,6 +1003,7 @@ DIDeleteUndoAction::~DIDeleteUndoAction()
|
|||
|
||||
void DIDeleteUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -1089,6 +1092,7 @@ DBDeleteUndoAction::~DBDeleteUndoAction()
|
|||
|
||||
void DBDeleteUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -1198,6 +1202,7 @@ DBRetargetUndoAction::~DBRetargetUndoAction()
|
|||
|
||||
void DBRetargetUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ GuiMissionAreaCtrl::~GuiMissionAreaCtrl()
|
|||
|
||||
void GuiMissionAreaCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "squareBitmap", TypeBool, Offset(mSquareBitmap, GuiMissionAreaCtrl));
|
||||
|
||||
INITPERSISTFIELD_IMAGEASSET(HandleBitmap, GuiMissionAreaCtrl, "Bitmap for the mission area handles.\n");
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ bool GuiMissionAreaEditorCtrl::onAdd()
|
|||
|
||||
void GuiMissionAreaEditorCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ bool GuiTerrPreviewCtrl::onAdd()
|
|||
|
||||
void GuiTerrPreviewCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -779,6 +779,7 @@ TerrainSmoothAction::TerrainSmoothAction()
|
|||
|
||||
void TerrainSmoothAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2794,6 +2794,7 @@ DefineEngineMethod(TerrainEditor, getTerrainUnderWorldPoint, S32, (const char *
|
|||
|
||||
void TerrainEditor::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("Misc");
|
||||
addField("isDirty", TypeBool, Offset(mIsDirty, TerrainEditor));
|
||||
addField("isMissionDirty", TypeBool, Offset(mIsMissionDirty, TerrainEditor));
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ MECreateUndoAction::~MECreateUndoAction()
|
|||
|
||||
void MECreateUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -132,6 +133,7 @@ MEDeleteUndoAction::~MEDeleteUndoAction()
|
|||
|
||||
void MEDeleteUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -238,6 +240,7 @@ InspectorFieldUndoAction::InspectorFieldUndoAction( const UTF8 *actionName )
|
|||
|
||||
void InspectorFieldUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "inspectorGui", TYPEID< GuiInspector >(), Offset( mInspector, InspectorFieldUndoAction ) );
|
||||
addField( "objectId", TypeS32, Offset( mObjId, InspectorFieldUndoAction ) );
|
||||
addField( "fieldName", TypeString, Offset( mSlotName, InspectorFieldUndoAction ) );
|
||||
|
|
|
|||
|
|
@ -2781,6 +2781,7 @@ void WorldEditor::renderScene( const RectI &updateRect )
|
|||
|
||||
void WorldEditor::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Grid" );
|
||||
|
||||
addField( "gridSnap", TypeBool, Offset( mGridSnap, WorldEditor ),
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ WorldEditorSelection::~WorldEditorSelection()
|
|||
|
||||
void WorldEditorSelection::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue