From 531e9894993314814bea71491447c47262469a6d Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 24 Aug 2003 16:57:38 +0000 Subject: fixed transparent bug --- src/FbTk/Menu.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 2eb8654..dcef424 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Menu.cc,v 1.34 2003/08/18 11:49:50 fluxgen Exp $ +// $Id: Menu.cc,v 1.35 2003/08/24 16:57:38 fluxgen Exp $ //use GNU extensions #ifndef _GNU_SOURCE @@ -743,6 +743,7 @@ void Menu::drawSubmenu(unsigned int index) { if (! item->submenu()->isVisible()) { item->submenu()->show(); item->submenu()->raise(); + item->submenu()->renderTransFrame(); } item->submenu()->moving = moving; @@ -1383,6 +1384,7 @@ void Menu::renderTransFrame() { } */ + menu.frame.clear(); menu.frame.updateTransparent(); } -- cgit v0.11.2