]> Dogcows Code - chaz/openbox/blobdiff - src/Basemenu.cc
was ending up using the wrong cache items. now i find and release it every time a...
[chaz/openbox] / src / Basemenu.cc
index 5b4acdf001009f2bf96b6f752c1e26a97158e157..b6b242b6d1562ff0973cc82a987757acf3cf6dbd 100644 (file)
@@ -536,6 +536,7 @@ bool Basemenu::hasSubmenu(int index) {
 
 void Basemenu::drawItem(int index, bool highlight, bool clear,
                         int x, int y, unsigned int w, unsigned int h) {
+  fprintf(stderr, "DRAW ITEM\n");
   BasemenuItem *item = find(index);
   if (! item) return;
 
@@ -628,6 +629,7 @@ void Basemenu::drawItem(int index, bool highlight, bool clear,
   }
 
   if (dotext && text) {
+    fprintf(stderr, "FONT: %s\nTEXT: %s\n", style->f_font->name().c_str(), text);
     style->f_font->drawString(menu.frame, text_x, text_y,
                               (highlight ? style->h_text :
                                (item->isEnabled() ? style->f_text :
This page took 0.021889 seconds and 4 git commands to generate.