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
|
|
@ -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, "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue