diff --git a/source/gui/gui.cpp b/source/gui/gui.cpp index 2af7e034..717f0166 100644 --- a/source/gui/gui.cpp +++ b/source/gui/gui.cpp @@ -172,13 +172,15 @@ void CButtonsMgr::setSoundVolume(int vol) m_soundVolume = min(max(0, vol), 0xFF); } -void CButtonsMgr::show(u32 id, bool instant) +void CButtonsMgr::show(u32 id, bool instant, bool synopsis) { if (id < m_elts.size()) { CButtonsMgr::SElement &b = *m_elts[id]; b.visible = true; b.targetScaleX = 1.0f; + if(synopsis) + b.targetScaleX = 0.9f; b.targetScaleY = 1.0f; b.targetPos = Vector3D((float)b.x, (float)b.y, 0); b.targetAlpha = 0xFF; diff --git a/source/gui/gui.hpp b/source/gui/gui.hpp index 3fce9951..55437b9e 100644 --- a/source/gui/gui.hpp +++ b/source/gui/gui.hpp @@ -50,7 +50,7 @@ public: void getDimensions(u32 id, int &x, int &y, u32 &width, u32 &height); void hide(u32 id, int dx, int dy, float scaleX, float scaleY, bool instant = false); void hide(u32 id, bool instant = false); - void show(u32 id, bool instant = false); + void show(u32 id, bool instant = false, bool synopsis = false); void mouse(int chan, int x, int y); void up(void); void down(void); diff --git a/source/menu/menu_about.cpp b/source/menu/menu_about.cpp index 76dc946d..2137b93a 100644 --- a/source/menu/menu_about.cpp +++ b/source/menu/menu_about.cpp @@ -94,7 +94,7 @@ void CMenu::_showAbout(void) _setBg(m_aboutBg, m_aboutBg); m_btnMgr.show(m_aboutLblTitle); m_btnMgr.show(m_aboutLblIOS); - m_btnMgr.show(m_aboutLblInfo); + m_btnMgr.show(m_aboutLblInfo,false,true); m_btnMgr.show(m_aboutBtnSystem); for (u32 i = 0; i < ARRAY_SIZE(m_aboutLblUser); ++i) if (m_aboutLblUser[i] != -1u) diff --git a/source/menu/menu_gameinfo.cpp b/source/menu/menu_gameinfo.cpp index 81f41b90..3caa410c 100644 --- a/source/menu/menu_gameinfo.cpp +++ b/source/menu/menu_gameinfo.cpp @@ -145,7 +145,7 @@ void CMenu::_gameinfo(void) else m_btnMgr.show(m_gameinfoLblUser[i]); - m_btnMgr.show(m_gameinfoLblSynopsis); + m_btnMgr.show(m_gameinfoLblSynopsis,false,true); } else if (BTN_LEFT_PRESSED && !(m_thrdWorking && m_thrdStop)) {