mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-22 04:45:31 +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
|
|
@ -97,6 +97,7 @@ GuiClockHud::GuiClockHud()
|
|||
|
||||
void GuiClockHud::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("Misc");
|
||||
addField( "showFill", TypeBool, Offset( mShowFill, GuiClockHud ), "If true, draws a background color behind the control.");
|
||||
addField( "showFrame", TypeBool, Offset( mShowFrame, GuiClockHud ), "If true, draws a frame around the control." );
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ GuiCrossHairHud::GuiCrossHairHud()
|
|||
|
||||
void GuiCrossHairHud::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("Damage");
|
||||
addField( "damageFillColor", TypeColorF, Offset( mDamageFillColor, GuiCrossHairHud ), "As the health bar depletes, this color will represent the health loss amount." );
|
||||
addField( "damageFrameColor", TypeColorF, Offset( mDamageFrameColor, GuiCrossHairHud ), "Color for the health bar's frame." );
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@ GuiHealthBarHud::GuiHealthBarHud()
|
|||
|
||||
void GuiHealthBarHud::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("Colors");
|
||||
addField( "fillColor", TypeColorF, Offset( mFillColor, GuiHealthBarHud ), "Standard color for the background of the control." );
|
||||
addField( "frameColor", TypeColorF, Offset( mFrameColor, GuiHealthBarHud ), "Color for the control's frame." );
|
||||
|
|
|
|||
|
|
@ -115,7 +115,8 @@ GuiHealthTextHud::GuiHealthTextHud()
|
|||
}
|
||||
|
||||
void GuiHealthTextHud::initPersistFields()
|
||||
{
|
||||
{
|
||||
docsURL;
|
||||
addGroup("Colors");
|
||||
addField("fillColor", TypeColorF, Offset(mFillColor, GuiHealthTextHud), "Color for the background of the control.");
|
||||
addField("frameColor", TypeColorF, Offset(mFrameColor, GuiHealthTextHud), "Color for the control's frame.");
|
||||
|
|
@ -199,4 +200,4 @@ void GuiHealthTextHud::onRender(Point2I offset, const RectI &updateRect)
|
|||
// If enabled draw the border last
|
||||
if (mShowFrame)
|
||||
drawUtil->drawRect(updateRect, mFrameColor.toColorI());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -126,6 +126,7 @@ GuiShapeNameHud::GuiShapeNameHud()
|
|||
|
||||
void GuiShapeNameHud::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("Colors");
|
||||
addField( "fillColor", TypeColorF, Offset( mFillColor, GuiShapeNameHud ), "Standard color for the background of the control." );
|
||||
addField( "frameColor", TypeColorF, Offset( mFrameColor, GuiShapeNameHud ), "Color for the control's frame." );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue