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