From 3328de262c82795baf18507542f77981a4367766 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Fri, 10 Jan 2003 00:47:59 +0000
Subject: removed debugmsg and adjusted for FbTk ImageControl

---
 src/FbTk/Menu.cc | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 72721a7..451f620 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.3 2003/01/09 16:45:21 fluxgen Exp $
+// $Id: Menu.cc,v 1.4 2003/01/10 00:47:59 fluxgen Exp $
 
 //use GNU extensions
 #ifndef	 _GNU_SOURCE
@@ -31,7 +31,7 @@
 
 #include "Menu.hh"
 
-#include "../ImageControl.hh"
+#include "ImageControl.hh"
 #include "MenuTheme.hh"
 #include "App.hh"
 #include "EventManager.hh"
@@ -50,7 +50,7 @@ namespace FbTk {
 
 static Menu *shown = 0;
 
-Menu::Menu(MenuTheme &tm, int screen_num, BImageControl &imgctrl):
+Menu::Menu(MenuTheme &tm, int screen_num, ImageControl &imgctrl):
     m_theme(tm),
     m_screen_num(screen_num),
     m_image_ctrl(imgctrl),
@@ -105,9 +105,7 @@ Menu::Menu(MenuTheme &tm, int screen_num, BImageControl &imgctrl):
     XSetWindowAttributes attrib;
     attrib.override_redirect = True;
     attrib.event_mask = ButtonPressMask | ButtonReleaseMask | ButtonMotionMask | KeyPressMask | ExposureMask;
-#ifdef DEBUG
-    cerr<<__FILE__<<": Creating menu("<<menu.width<<", "<<menu.height<<")"<<endl;
-#endif // DEBUG    
+
     //create menu window
     menu.window = XCreateWindow(m_display, RootWindow(m_display, screen_num), 
                                 menu.x, menu.y, menu.width, menu.height,  // pos and size
-- 
cgit v0.11.2