mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
* BugFix: Clear some MSVC compiler warnings.
This commit is contained in:
parent
026409ed7f
commit
5d26dba7da
23 changed files with 24 additions and 111 deletions
|
|
@ -275,8 +275,6 @@ void GuiGameListMenuCtrl::onRenderSliderOption(Row* row, Point2I currentOffset)
|
|||
Point2I arrowOffset;
|
||||
S32 columnSplit = profile->mColumnSplit * xScale;
|
||||
|
||||
S32 iconIndex;
|
||||
|
||||
bool isRowSelected = (getSelected() != NO_ROW) && (row == mRows[getSelected()]);
|
||||
bool isRowHighlighted = (getHighlighted() != NO_ROW) ? ((row == mRows[getHighlighted()]) && (row->mEnabled)) : false;
|
||||
/*if (profileHasArrows)
|
||||
|
|
@ -384,8 +382,6 @@ void GuiGameListMenuCtrl::onRenderKeybindOption(Row* row, Point2I currentOffset)
|
|||
|
||||
S32 rowHeight = profile->getRowHeight();
|
||||
|
||||
S32 optionWidth = xScale - columnSplit;
|
||||
|
||||
GFXDrawUtil* drawer = GFX->getDrawUtil();
|
||||
//drawer->drawBitmap(row->mBitmap, )
|
||||
|
||||
|
|
@ -1048,7 +1044,6 @@ RectI GuiGameListMenuCtrl::getRowBounds(S32 rowIndex)
|
|||
{
|
||||
GuiGameListMenuProfile* profile = (GuiGameListMenuProfile*)mProfile;
|
||||
|
||||
F32 xScale = (float)getWidth() / profile->getRowWidth();
|
||||
S32 rowHeight = profile->getRowHeight();
|
||||
|
||||
Point2I currentOffset = Point2I::Zero;
|
||||
|
|
@ -1375,9 +1370,6 @@ void GuiGameListMenuCtrl::clickKeybind(Row* row, S32 xPos)
|
|||
|
||||
S32 rowHeight = profile->getRowHeight();
|
||||
|
||||
S32 optionWidth = xScale - columnSplit;
|
||||
|
||||
GFXDrawUtil* drawer = GFX->getDrawUtil();
|
||||
//drawer->drawBitmap(row->mBitmap, )
|
||||
|
||||
Point2I button;
|
||||
|
|
@ -1388,7 +1380,6 @@ void GuiGameListMenuCtrl::clickKeybind(Row* row, S32 xPos)
|
|||
buttonSize.x = rowHeight / 2;
|
||||
buttonSize.y = rowHeight / 2;
|
||||
|
||||
GFXTextureObject* texture = row->mBitmapTex;
|
||||
RectI rect(button, buttonSize);
|
||||
|
||||
if (rect.pointInRect(Point2I(xPos, rowHeight / 2)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue