remove some debug fprintfs
This commit is contained in:
parent
5282d92b62
commit
b950402ba2
1 changed files with 0 additions and 2 deletions
|
@ -536,7 +536,6 @@ bool Basemenu::hasSubmenu(int index) {
|
||||||
|
|
||||||
void Basemenu::drawItem(int index, bool highlight, bool clear,
|
void Basemenu::drawItem(int index, bool highlight, bool clear,
|
||||||
int x, int y, unsigned int w, unsigned int h) {
|
int x, int y, unsigned int w, unsigned int h) {
|
||||||
fprintf(stderr, "DRAW ITEM\n");
|
|
||||||
BasemenuItem *item = find(index);
|
BasemenuItem *item = find(index);
|
||||||
if (! item) return;
|
if (! item) return;
|
||||||
|
|
||||||
|
@ -629,7 +628,6 @@ void Basemenu::drawItem(int index, bool highlight, bool clear,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dotext && text) {
|
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,
|
style->f_font->drawString(menu.frame, text_x, text_y,
|
||||||
(highlight ? style->h_text :
|
(highlight ? style->h_text :
|
||||||
(item->isEnabled() ? style->f_text :
|
(item->isEnabled() ? style->f_text :
|
||||||
|
|
Loading…
Reference in a new issue