mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 04:20:30 +00:00
guiControlProfile
This commit is contained in:
parent
b75d5b70c6
commit
32c6330b72
16 changed files with 91 additions and 189 deletions
|
|
@ -409,7 +409,7 @@ void GuiMenuBar::onRender(Point2I offset, const RectI &updateRect)
|
|||
bitmapstart.y = mMenuList[i].bounds.point.y + (mMenuList[i].bounds.extent.y - rect.extent.y) / 2;
|
||||
|
||||
drawUtil->clearBitmapModulation();
|
||||
drawUtil->drawBitmapSR(mProfile->getBitmapResource(), offset + bitmapstart, rect);
|
||||
drawUtil->drawBitmapSR(mProfile->getBitmap(), offset + bitmapstart, rect);
|
||||
|
||||
// Should we also draw the text?
|
||||
if (!mMenuList[i].drawBitmapOnly)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue