mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
add 0-100 percent ranges
F32 and S32 apply to guibitmapbarctrl
This commit is contained in:
parent
85c7a68f46
commit
3d2a923a30
3 changed files with 5 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ GuiBitmapBarCtrl::GuiBitmapBarCtrl(void)
|
|||
void GuiBitmapBarCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addFieldV("percent", TypeRangedF32, Offset(mPercent, GuiBitmapBarCtrl), &CommonValidators::NormalizedFloat,
|
||||
addFieldV("percent", TypeRangedF32, Offset(mPercent, GuiBitmapBarCtrl), &CommonValidators::F32Percent,
|
||||
"% shown");
|
||||
addField("vertical", TypeBool, Offset(mVertical, GuiBitmapBarCtrl),
|
||||
"If true, the bitmap is clipped vertically.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue