mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
compile fixes.
This commit is contained in:
parent
50df52ecfc
commit
02447f0996
20 changed files with 3207 additions and 3168 deletions
|
|
@ -361,10 +361,8 @@ void GuiGameListMenuCtrl::onRenderSliderOption(Row* row, Point2I currentOffset)
|
|||
// calculate text to be at the center between the arrows
|
||||
GFont* font = profile->mFont;
|
||||
|
||||
ConsoleValue val;
|
||||
val.setFloatValue(row->mValue);
|
||||
|
||||
const char* stringVal = val.getStringValue();
|
||||
char stringVal[32];
|
||||
dSprintf(stringVal, 32, "%f", row->mValue);
|
||||
|
||||
S32 textWidth = font->getStrWidth(stringVal);
|
||||
S32 columnWidth = profile->mHitAreaLowerRight.x * xScale - profile->mRightPad - columnSplit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue