mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 01:09:34 +00:00
Merge with develop
This commit is contained in:
parent
63b7d0f8fd
commit
d994a29d79
2 changed files with 2 additions and 8 deletions
|
@ -446,10 +446,7 @@ namespace NLGUI
|
|||
// ***************************************************************************
|
||||
sint32 CCtrlButton::getMaxUsedW() const
|
||||
{
|
||||
sint32 txw, txh;
|
||||
CViewRenderer &rVR = *CViewRenderer::getInstance();
|
||||
rVR.getTextureSizeFromId (_TextureIdNormal, txw, txh);
|
||||
return txw;
|
||||
return _W;
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
|
|
@ -511,10 +511,7 @@ namespace NLGUI
|
|||
// ***************************************************************************
|
||||
sint32 CViewBitmap::getMaxUsedW() const
|
||||
{
|
||||
sint32 txw, txh;
|
||||
CViewRenderer &rVR = *CViewRenderer::getInstance();
|
||||
rVR.getTextureSizeFromId (_TextureId, txw, txh);
|
||||
return txw;
|
||||
return _W;
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
|
Loading…
Reference in a new issue