summaryrefslogtreecommitdiff
path: root/src/Basemenu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Basemenu.cc')
-rw-r--r--src/Basemenu.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Basemenu.cc b/src/Basemenu.cc
index 5b4acdf0..b6b242b6 100644
--- a/src/Basemenu.cc
+++ b/src/Basemenu.cc
@@ -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 :